13 changed files with 266 additions and 143 deletions
@ -1,50 +1,34 @@ |
|||||
using System.ComponentModel.DataAnnotations; |
using System.ComponentModel.DataAnnotations; |
||||
using Win_in.Sfs.Shared.Application.Contracts; |
using Win_in.Sfs.Shared.Application.Contracts; |
||||
|
using Win_in.Sfs.Shared.Domain; |
||||
using Win_in.Sfs.Shared.Domain.Shared; |
using Win_in.Sfs.Shared.Domain.Shared; |
||||
using Win_in.Sfs.Shared.Domain.Shared.Enums.Store; |
using Win_in.Sfs.Shared.Domain.Shared.Enums.Store; |
||||
|
|
||||
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
||||
|
|
||||
[Display(Name = "叫料申请导入")] |
[Display(Name = "装配叫料申请导入")] |
||||
public class AssembleIssueRequestImportInput : SfsStoreImportInputBase |
public class AssembleIssueRequestImportInput : SfsStoreImportInputBase |
||||
{ |
{ |
||||
/// <summary>
|
#region 目标库位信息
|
||||
/// 叫料类型
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "叫料类型")] |
|
||||
public EnumIssueRequestType IssueRequestType { get; set; } |
|
||||
|
|
||||
/// <summary>
|
/// <summary>
|
||||
/// 物品代码
|
/// 物品代码
|
||||
/// </summary>
|
/// </summary>
|
||||
[Display(Name = "物品代码")] |
[Display(Name = "物品代码")] |
||||
[Required] |
|
||||
public string ItemCode { get; set; } |
public string ItemCode { get; set; } |
||||
|
|
||||
/// <summary>
|
/// <summary>
|
||||
/// 目标库位
|
/// 需求数量
|
||||
/// </summary>
|
|
||||
[Display(Name = "目标库位")] |
|
||||
[Required] |
|
||||
public string ToLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 来源库区
|
|
||||
/// </summary>
|
/// </summary>
|
||||
[Display(Name = "调出库区")] |
[Display(Name = "需求数量")] |
||||
[Required] |
|
||||
public string FromLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 数量
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "数量")] |
|
||||
[Required(ErrorMessage = "{0}是必填项")] |
|
||||
public decimal Qty { get; set; } |
public decimal Qty { get; set; } |
||||
|
|
||||
/// <summary>
|
/// <summary>
|
||||
/// 备注
|
/// 目标库位
|
||||
/// </summary>
|
/// </summary>
|
||||
[Display(Name = "备注")] |
[Display(Name = "目标库位")] |
||||
public string Remark { get; set; } |
[StringLength(SfsEfCorePropertyConst.CodeLength, ErrorMessage = "{0}最多输入{1}个字符")] |
||||
|
public string ToLocationCode { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
} |
} |
||||
|
@ -1,50 +1,34 @@ |
|||||
using System.ComponentModel.DataAnnotations; |
using System.ComponentModel.DataAnnotations; |
||||
using Win_in.Sfs.Shared.Application.Contracts; |
using Win_in.Sfs.Shared.Application.Contracts; |
||||
|
using Win_in.Sfs.Shared.Domain; |
||||
using Win_in.Sfs.Shared.Domain.Shared; |
using Win_in.Sfs.Shared.Domain.Shared; |
||||
using Win_in.Sfs.Shared.Domain.Shared.Enums.Store; |
using Win_in.Sfs.Shared.Domain.Shared.Enums.Store; |
||||
|
|
||||
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
||||
|
|
||||
[Display(Name = "叫料申请")] |
[Display(Name = "注塑叫料申请导入")] |
||||
public class InjectionIssueRequestImportInput : SfsStoreImportInputBase |
public class InjectionIssueRequestImportInput : SfsStoreImportInputBase |
||||
{ |
{ |
||||
/// <summary>
|
#region 目标库位信息
|
||||
/// 叫料类型
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "叫料类型")] |
|
||||
public EnumIssueRequestType IssueRequestType { get; set; } |
|
||||
|
|
||||
/// <summary>
|
/// <summary>
|
||||
/// 物品代码
|
/// 物品代码
|
||||
/// </summary>
|
/// </summary>
|
||||
[Display(Name = "物品代码")] |
[Display(Name = "物品代码")] |
||||
[Required] |
|
||||
public string ItemCode { get; set; } |
public string ItemCode { get; set; } |
||||
|
|
||||
/// <summary>
|
/// <summary>
|
||||
/// 目标库位
|
/// 需求数量
|
||||
/// </summary>
|
|
||||
[Display(Name = "目标库位")] |
|
||||
[Required] |
|
||||
public string ToLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 来源库区
|
|
||||
/// </summary>
|
/// </summary>
|
||||
[Display(Name = "调出库区")] |
[Display(Name = "需求数量")] |
||||
[Required] |
|
||||
public string FromLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 数量
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "数量")] |
|
||||
[Required(ErrorMessage = "{0}是必填项")] |
|
||||
public decimal Qty { get; set; } |
public decimal Qty { get; set; } |
||||
|
|
||||
/// <summary>
|
/// <summary>
|
||||
/// 备注
|
/// 目标库位
|
||||
/// </summary>
|
/// </summary>
|
||||
[Display(Name = "备注")] |
[Display(Name = "目标库位")] |
||||
public string Remark { get; set; } |
[StringLength(SfsEfCorePropertyConst.CodeLength, ErrorMessage = "{0}最多输入{1}个字符")] |
||||
|
public string ToLocationCode { get; set; } |
||||
|
|
||||
|
#endregion
|
||||
} |
} |
||||
|
@ -1,50 +1,30 @@ |
|||||
using System.ComponentModel.DataAnnotations; |
using System.ComponentModel.DataAnnotations; |
||||
using Win_in.Sfs.Shared.Application.Contracts; |
using Win_in.Sfs.Shared.Application.Contracts; |
||||
|
using Win_in.Sfs.Shared.Domain; |
||||
using Win_in.Sfs.Shared.Domain.Shared; |
using Win_in.Sfs.Shared.Domain.Shared; |
||||
using Win_in.Sfs.Shared.Domain.Shared.Enums.Store; |
using Win_in.Sfs.Shared.Domain.Shared.Enums.Store; |
||||
|
|
||||
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
||||
|
|
||||
[Display(Name = "叫料申请")] |
[Display(Name = "备料叫料申请导入")] |
||||
public class SparePartIssueRequestImportInput : SfsStoreImportInputBase |
public class SparePartIssueRequestImportInput : SfsStoreImportInputBase |
||||
{ |
{ |
||||
/// <summary>
|
|
||||
/// 叫料类型
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "叫料类型")] |
|
||||
public EnumIssueRequestType IssueRequestType { get; set; } |
|
||||
|
|
||||
/// <summary>
|
/// <summary>
|
||||
/// 物品代码
|
/// 物品代码
|
||||
/// </summary>
|
/// </summary>
|
||||
[Display(Name = "物品代码")] |
[Display(Name = "物品代码")] |
||||
[Required] |
|
||||
public string ItemCode { get; set; } |
public string ItemCode { get; set; } |
||||
|
|
||||
/// <summary>
|
/// <summary>
|
||||
/// 目标库位
|
/// 需求数量
|
||||
/// </summary>
|
/// </summary>
|
||||
[Display(Name = "目标库位")] |
[Display(Name = "需求数量")] |
||||
[Required] |
|
||||
public string ToLocationCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 来源库区
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "调出库区")] |
|
||||
[Required] |
|
||||
public string FromLocationArea { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 数量
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "数量")] |
|
||||
[Required(ErrorMessage = "{0}是必填项")] |
|
||||
public decimal Qty { get; set; } |
public decimal Qty { get; set; } |
||||
|
|
||||
/// <summary>
|
/// <summary>
|
||||
/// 备注
|
/// 目标库位
|
||||
/// </summary>
|
/// </summary>
|
||||
[Display(Name = "备注")] |
[Display(Name = "目标库位")] |
||||
public string Remark { get; set; } |
[StringLength(SfsEfCorePropertyConst.CodeLength, ErrorMessage = "{0}最多输入{1}个字符")] |
||||
|
public string ToLocationCode { get; set; } |
||||
} |
} |
||||
|
Loading…
Reference in new issue