You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.3 KiB
41 lines
1.3 KiB
2 years ago
|
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, IHasCode, IHasName
|
||
|
{
|
||
|
[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; }
|
||
|
|
||
|
}
|