using System;
using System.Collections.Generic;
using System.Text;
namespace GreenTree.Strohrmann.ERP.Core.Domain.Business
{
public class Unit
{
#region Properties
///
/// Unit id
///
public int Id { get; set; }
///
/// Unit name
///
public string Name { get; set; }
///
/// Unit short name
///
public string ShortName { get; set; }
///
/// Unit description
///
public string Description { get; set; }
///
/// Unit materials
///
public virtual ICollection Materials { get; set; }
#endregion
#region Ctor
///
/// Initializes a new instance of the Unit class
///
public Unit() { }
///
/// Initializes a new instance of the Unit class
///
/// The id.
/// The name.
/// The short name.
/// The description.
public Unit(int id, string name, string shortName, string description)
{
Id = id;
Name = name;
ShortName = shortName;
Description = description;
}
#endregion
}
}