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

namespace Bp.Sync.Domain.Entities.Inventories.Categories
{
    public class BaseCategory : BaseEntityWithKey<int>
    {
        /// <summary>
        /// Tên
        /// </summary>
        [Column(TypeName = "nvarchar(512)")]
        public string Name { get; set; }
        /// <summary>
        /// Tên không dấu
        /// </summary>
        [Column(TypeName = "nvarchar(512)")]
        public string UnsignName { get; set; }
        /// <summary>
        /// Mã
        /// </summary>
        [Column(TypeName = "nvarchar(64)")]
        public string Code { get; set; }
        /// <summary>
        /// Mô tả
        /// </summary>
        [Column(TypeName = "nvarchar(1024)")]
        public string Description { get; set; }
    }
}
