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.

48 lines
1.5 KiB

using System.ComponentModel.DataAnnotations;
using Win_in.Sfs.Shared.Domain;
namespace Win_in.Sfs.Basedata.Application.Contracts;
[Display(Name = "物品收容器信息")]
public class ItemContainerDTO : SfsBaseDataDTOBase
{
/// <summary>
/// 收容器代码
/// </summary>
[Display(Name = "收容器代码")]
[StringLength(SfsEfCorePropertyConst.CodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
public string ContainerCode { get; set; }
/// <summary>
/// 收容器名称
/// </summary>
[Display(Name = "收容器名称")]
[StringLength(SfsEfCorePropertyConst.CodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
public string ContainerName { get; set; }
/// <summary>
/// 收容器类型
/// </summary>
[Display(Name = "收容器类型")]
[StringLength(SfsEfCorePropertyConst.DescLength, ErrorMessage = "{0}最多输入{1}个字符")]
public string ContainerType { get; set; }
/// <summary>
/// 物品代码
/// </summary>
[Display(Name = "物品代码")]
[StringLength(SfsEfCorePropertyConst.DescLength, ErrorMessage = "{0}最多输入{1}个字符")]
public string ItemCode { get; set; }
/// <summary>
/// 收容器计量单位
/// </summary>
[Display(Name = "收容器计量单位")]
public string BasicUom { get; set; }
/// <summary>
/// 收容器数量
/// </summary>
[Display(Name = "收容器数量")]
public decimal Qty { get; set; }
}