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.
61 lines
2.0 KiB
61 lines
2.0 KiB
using System.ComponentModel.DataAnnotations;
|
|
using Win_in.Sfs.Shared.Domain;
|
|
|
|
namespace Win_in.Sfs.Wms.DataExchange.Application.Contracts.Iac.Qad;
|
|
|
|
/// <summary>
|
|
/// QAD库位(Location) 先不做
|
|
/// </summary>
|
|
public class LocInput : EntityCreateInputBase
|
|
{
|
|
/// <summary>
|
|
/// 公司(Company code)
|
|
/// </summary>
|
|
[Display(Name = "公司(Company code)")]
|
|
[Required]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Company { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工厂(Site)
|
|
/// </summary>
|
|
[Display(Name = "工厂(Site)")]
|
|
[Required]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Site { get; set; }
|
|
|
|
/// <summary>
|
|
/// 仓库(Warehouse)
|
|
/// </summary>
|
|
[Display(Name = "仓库(Warehouse)")]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Whse { get; set; }
|
|
|
|
/// <summary>
|
|
/// 库位编号(Location)
|
|
/// </summary>
|
|
[Display(Name = "库位编号(Location)")]
|
|
[Required]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// 描述(Description)
|
|
/// </summary>
|
|
[Display(Name = "描述(Description)")]
|
|
[StringLength(SfsEfCorePropertyConst.AddressLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Desc { get; set; }
|
|
|
|
/// <summary>
|
|
/// 分类(Location type)
|
|
/// </summary>
|
|
[Display(Name = "分类(Location type)")]
|
|
[StringLength(SfsEfCorePropertyConst.ShortCodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public virtual string Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注(Remark)
|
|
/// </summary>
|
|
[Display(Name = "备注(Remark)")]
|
|
public virtual string Remark { get; set; }
|
|
}
|
|
|