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.
|
|
|
using System;
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
using Win_in.Sfs.Shared.Domain;
|
|
|
|
|
|
|
|
namespace Win_in.Sfs.Basedata.Application.Contracts;
|
|
|
|
|
|
|
|
[Serializable]
|
|
|
|
public class PositionCodeEditInput : SfsBaseDataCreateOrUpdateInputBase
|
|
|
|
{
|
|
|
|
#region Base
|
|
|
|
/// <summary>
|
|
|
|
/// 物料号
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "物料号")]
|
|
|
|
public string PartCode { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 物料名称
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "物料名称")]
|
|
|
|
public string PartName { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 库位
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "库位")]
|
|
|
|
public string LocationCode { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 库位名称
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "库位名称")]
|
|
|
|
public string LocationName { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 标包数量
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "标包数量")]
|
|
|
|
public decimal StdPackQty { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
#region Create
|
|
|
|
/// <summary>
|
|
|
|
/// 代码
|
|
|
|
/// </summary>
|
|
|
|
[Display(Name = "代码")]
|
|
|
|
[Required(ErrorMessage = "{0}是必填项")]
|
|
|
|
[StringLength(SfsEfCorePropertyConst.CodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
|
|
public string Code { get; set; }
|
|
|
|
#endregion
|
|
|
|
}
|