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

namespace Bp.Sync.Domain.Entities.Inventories.Reasons
{
    public class Reason : BaseEntityWithKey<int>
    {
        /// <summary>
        /// Tên lý do
        /// </summary>
        [Column(TypeName = "nvarchar(128)")]
        public string Name { get; set; }
        /// <summary>
        /// Loại lý do
        /// </summary>
        public ReasonType ReasonType { get; set; }
        /// <summary>
        /// Là lý do huỷ?
        /// </summary>
        public bool IsReject { get; set; }
    }
}

