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.
43 lines
1.1 KiB
43 lines
1.1 KiB
using System.ComponentModel.DataAnnotations;
|
|
using Win_in.Sfs.Shared.Domain;
|
|
using Win_in.Sfs.Shared.Domain.Shared;
|
|
|
|
namespace Win_in.Sfs.Basedata.Application.Contracts;
|
|
|
|
/// <summary>
|
|
/// 工作站库位对应关系
|
|
/// </summary>
|
|
[Display(Name = "工作站库位对应关系")]
|
|
public class PostionLocationDTO : SfsBaseDataDTOBase, IHasCode, IHasName
|
|
{
|
|
[Display(Name = "工作站编号")]
|
|
[Required(ErrorMessage = "{0}是必填项")]
|
|
public string Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// 名称
|
|
/// </summary>
|
|
[Display(Name = "名称")]
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// WMS库位
|
|
/// </summary>
|
|
[Display(Name = "库位")]
|
|
[Required(ErrorMessage = "{0}是必填项")]
|
|
public string LocationCode { get; set; }
|
|
}
|
|
public class PostionLocationAgvDTO
|
|
{
|
|
[Display(Name = "工作站编号")]
|
|
[Required(ErrorMessage = "{0}是必填项")]
|
|
public string Code { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// WMS库位
|
|
/// </summary>
|
|
[Display(Name = "库位")]
|
|
[Required(ErrorMessage = "{0}是必填项")]
|
|
public string LocationCode { get; set; }
|
|
}
|
|
|