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.
162 lines
5.0 KiB
162 lines
5.0 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Win_in.Sfs.Basedata.Application.Contracts;
|
|
using Win_in.Sfs.Basedata.Domain;
|
|
using Win_in.Sfs.Basedata.Domain.Shared;
|
|
using Win_in.Sfs.Shared.Domain;
|
|
|
|
namespace Win_in.Sfs.Basedata.Application.Contracts;
|
|
|
|
|
|
public class SplitPackingRecEditInput : SfsBaseDataCreateOrUpdateInputBase
|
|
{
|
|
/// <summary>
|
|
/// 操作类型
|
|
/// </summary>
|
|
[Required(ErrorMessage = "{0}是必填项")]
|
|
public OprTypeEnum OprType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 源箱码
|
|
/// </summary>
|
|
[Required(ErrorMessage = "{0}是必填项")]
|
|
[StringLength(SfsEfCorePropertyConst.CodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public string FromPackingCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 源顶级箱码
|
|
/// </summary>
|
|
//public string FromTopPackingCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 源标包数量
|
|
/// </summary>
|
|
[Required(ErrorMessage = "{0}是必填项")]
|
|
public decimal FromStdPackQty { get; set; }
|
|
|
|
/// <summary>
|
|
/// 源计量单位
|
|
/// </summary>
|
|
[Required(ErrorMessage = "{0}是必填项")]
|
|
[StringLength(SfsEfCorePropertyConst.CodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public string FromUom { get; set; }
|
|
|
|
/// <summary>
|
|
/// 源数量
|
|
/// </summary>
|
|
[Required(ErrorMessage = "{0}是必填项")]
|
|
public decimal FromQty { get; set; }
|
|
|
|
/// <summary>
|
|
/// 目标箱码
|
|
/// </summary>
|
|
[Required(ErrorMessage = "{0}是必填项")]
|
|
[StringLength(SfsEfCorePropertyConst.CodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public string ToPackingCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 目标顶级箱码
|
|
/// </summary>
|
|
//public string ToTopPackingCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 目标标包数量
|
|
/// </summary>
|
|
[Required(ErrorMessage = "{0}是必填项")]
|
|
public decimal ToStdPackQty { get; set; }
|
|
|
|
/// <summary>
|
|
/// 目标计量单位
|
|
/// </summary>
|
|
[Required(ErrorMessage = "{0}是必填项")]
|
|
[StringLength(SfsEfCorePropertyConst.CodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public string ToUom { get; set; }
|
|
|
|
/// <summary>
|
|
/// 目标数量
|
|
/// </summary>
|
|
[Required(ErrorMessage = "{0}是必填项")]
|
|
public decimal ToQty { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物料号
|
|
/// </summary>
|
|
[Required(ErrorMessage = "{0}是必填项")]
|
|
[StringLength(SfsEfCorePropertyConst.CodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public string ItemCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物料名称
|
|
/// </summary>
|
|
[StringLength(SfsEfCorePropertyConst.NameLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public string ItemName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物料描述1
|
|
/// </summary>
|
|
[StringLength(SfsEfCorePropertyConst.DescLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public string ItemDesc1 { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物料描述2
|
|
/// </summary>
|
|
[StringLength(SfsEfCorePropertyConst.DescLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public string ItemDesc2 { get; set; }
|
|
|
|
/// <summary>
|
|
/// 源批次
|
|
/// </summary>
|
|
[StringLength(SfsEfCorePropertyConst.CodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public string FromLot { get; set; }
|
|
|
|
/// <summary>
|
|
/// 目标批次
|
|
/// </summary>
|
|
[StringLength(SfsEfCorePropertyConst.CodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public string ToLot { get; set; }
|
|
|
|
/// <summary>
|
|
/// 采购订单
|
|
/// </summary>
|
|
[StringLength(SfsEfCorePropertyConst.CodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public string PurchaseInfo_PoNumber { get; set; }
|
|
|
|
/// <summary>
|
|
/// 供应商发货单
|
|
/// </summary>
|
|
[StringLength(SfsEfCorePropertyConst.CodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public string PurchaseInfo_AsnNumber { get; set; }
|
|
|
|
/// <summary>
|
|
/// 到货通知
|
|
/// </summary>
|
|
[StringLength(SfsEfCorePropertyConst.CodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public string ArrivalNoticNumber { get; set; }
|
|
|
|
/// <summary>
|
|
/// 任务单
|
|
/// </summary>
|
|
[StringLength(SfsEfCorePropertyConst.CodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public string TaskOrderNumber { get; set; }
|
|
|
|
/// <summary>
|
|
/// 收货记录单
|
|
/// </summary>
|
|
[StringLength(SfsEfCorePropertyConst.CodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public string ReceiptRecNumber { get; set; }
|
|
|
|
/// <summary>
|
|
/// 上架单
|
|
/// </summary>
|
|
[StringLength(SfsEfCorePropertyConst.CodeLength, ErrorMessage = "{0}最多输入{1}个字符")]
|
|
public string PutOnShelfNumber { get; set; }
|
|
|
|
/// <summary>
|
|
/// 标签类型
|
|
/// </summary>
|
|
public EnumLabelType LabelType { get; set; }
|
|
}
|
|
|