using Bp.Sync.Domain.Entities.BaseEntities;
using System.ComponentModel.DataAnnotations.Schema;

namespace Bp.Sync.Domain.Entities.Inventories.Units
{
    public class Unit : BaseEntityWithKey<int>
    {
        /// <summary>
        /// Tên đơn vị tính
        /// </summary>
        [Column(TypeName = "nvarchar(64)")]
        public string Name { get; set; }
        /// <summary>
        /// Mô tả
        /// </summary>
        [Column(TypeName = "nvarchar(128)")]
        public string Description { get; set; }
    }
}
