|
|
|
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;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 标准成本价格单-主表
|
|
|
|
/// </summary>
|
|
|
|
public class StdCostPriceSheet : SfsBaseDataAggregateRootBase
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// 物品代码
|
|
|
|
/// </summary>
|
|
|
|
[IgnoreUpdate]
|
|
|
|
public string ItemCode { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 价格单描述
|
|
|
|
/// </summary>
|
|
|
|
public string Description { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 标准成本价格
|
|
|
|
/// </summary>
|
|
|
|
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; }
|
|
|
|
|
|
|
|
}
|