using System; using System.ComponentModel.DataAnnotations; using Win_in.Sfs.Shared.Domain; using Win_in.Sfs.Shared.Domain.Entities; namespace Win_in.Sfs.Basedata.Domain; /// /// 标准成本价格单-主表 /// public class StdCostPriceSheet : SfsBaseDataAggregateRootBase { /// /// 物品代码 /// [IgnoreUpdate] public string ItemCode { get; set; } /// /// 价格单描述 /// public string Description { get; set; } /// /// 标准成本价格 /// public decimal StdCostPrice { get; set; } //[Display(Name = "编码")] //[Required(ErrorMessage = "{0}是必填项")] //[StringLength(SfsEfCorePropertyConst.CodeLength, ErrorMessage = "{0}最多输入{1}个字符")] //[IgnoreUpdate] //public string Code { get; set; } //[Display(Name = "价格单名称")] //[Required(ErrorMessage = "{0}是必填项")] //[StringLength(SfsEfCorePropertyConst.NameLength, ErrorMessage = "{0}最多输入{1}个字符")] //[IgnoreUpdate] //public string Name { get; set; } //[Display(Name = "供应商Id")] //[Required(ErrorMessage = "{0}是必填项")] //[IgnoreUpdate] //public Guid SupplierId { get; set; } //[Display(Name = "价格单描述")] //[StringLength(SfsEfCorePropertyConst.DescLength, ErrorMessage = "{0}最多输入{1}个字符")] //[IgnoreUpdate] //public string Description { get; set; } //[Display(Name = "货币Id")] //[StringLength(SfsEfCorePropertyConst.NameLength, ErrorMessage = "{0}最多输入{1}个字符")] //[IgnoreUpdate] //public Guid CurrencyId { get; set; } }