5 changed files with 110 additions and 6 deletions
@ -0,0 +1,24 @@ |
|||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using System.Linq; |
||||
|
using System.Text; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
|
||||
|
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
||||
|
|
||||
|
public class LocationCodeInfoDTO : EntityDto |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// 位置码
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "位置码")] |
||||
|
public string PositionCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 库位码
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "库位码")] |
||||
|
public string LocationCode { get; set; } |
||||
|
} |
@ -0,0 +1,48 @@ |
|||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using System.Linq; |
||||
|
using System.Text; |
||||
|
using System.Threading.Tasks; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
|
||||
|
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
||||
|
public class LocationCodeInfoEditInput : EntityDto |
||||
|
{ |
||||
|
[Display(Name = "每次生成一个不会重复值,用于防重")] |
||||
|
public string Uuid { get; set; } |
||||
|
|
||||
|
[Display(Name = "接口动作的标识:ReceiveBackStockAction")] |
||||
|
public string OperatorName { get; set; } |
||||
|
|
||||
|
[Display(Name = "位置码列表")] |
||||
|
public List<SiteData> DataList { get; set; } |
||||
|
|
||||
|
public LocationCodeInfoEditInput() |
||||
|
{ |
||||
|
DataList = new List<SiteData>(); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
} |
||||
|
|
||||
|
public class SiteData : EntityDto |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// 位置码
|
||||
|
/// </summary>
|
||||
|
public string Site { get; set; } |
||||
|
} |
||||
|
|
||||
|
/* |
||||
|
{ |
||||
|
"uuid": "每次生成一个不会重复值,用于防重", |
||||
|
"operatorName": "ReceiveTractorAction", |
||||
|
"datalist": [ |
||||
|
{ |
||||
|
"site": "A001" |
||||
|
} |
||||
|
] |
||||
|
} |
||||
|
|
||||
|
*/ |
Loading…
Reference in new issue