shgx_tz_mom/ZR.Model/MES/wms/Dto/WmBlankInventoryDto.cs

127 lines
3.1 KiB
C#

namespace ZR.Model.MES.wms.Dto
{
/// <summary>
/// 毛坯库存表查询对象
/// </summary>
public class WmBlankInventoryQueryDto : PagerInfo
{
public string BlankNum { get; set; }
public int? Type { get; set; }
public int? Status { get; set; }
public string Description { get; set; }
}
/// <summary>
/// 毛坯库存表输入输出对象
/// </summary>
public class WmBlankInventoryDto
{
// [Required(ErrorMessage = "主键不能为空")]
public string Id { get; set; }
public string FkPaintId { get; set; }
public string BlankNum { get; set; }
/// <summary>
/// 单位
///</summary>
public string Unit { get; set; }
/// <summary>
/// 颜色
///</summary>
public string Color { get; set; }
/// <summary>
/// 规格
///</summary>
public string Specification { get; set; }
/// <summary>
/// 描述
///</summary>
public string Description { get; set; }
/// <summary>
/// 版本号
///</summary>
public string Version { get; set; }
public int? Quantity { get; set; }
public int? MaxNum { get; set; }
public int? MinNum { get; set; }
public int? WarnNum { get; set; }
public int? Type { get; set; }
public int? Status { get; set; }
public string Remark { get; set; }
public string CreatedBy { get; set; }
public DateTime? CreatedTime { get; set; }
public string UpdatedBy { get; set; }
public DateTime? UpdatedTime { get; set; }
}
/// <summary>
/// 毛坯库存同步对象
/// </summary>
public class WmBlankInventorySynchronousDto
{
public string CreatedBy { get; set; }
public DateTime? CreatedTime { get; set; }
public string UpdatedBy { get; set; }
public DateTime? UpdatedTime { get; set; }
}
/// <summary>
/// 毛坯库存入库
/// </summary>
public class BlankInventoryWarehousingDto
{
public List<ResultionPackageCodeDto> PackageList { get; set; } = new List<ResultionPackageCodeDto>();
// 1-返工件 对应数据库type=2 0-非返工件 对应数据库type=1
public int IsBack { get; set; } = 1;
public string CreatedBy { get; set; }
public DateTime? CreatedTime { get; set; }
public string UpdatedBy { get; set; }
public DateTime? UpdatedTime { get; set; }
}
/// <summary>
/// 毛坯库存出库
/// </summary>
public class BlankInventoryOutboundDto
{
public List<ResultionPackageCodeDto> PackageList { get; set; } = new List<ResultionPackageCodeDto>();
// 1-返工件 对应数据库type=2 0-非返工件 对应数据库type=1
public int IsBack { get; set; } = 1;
public string CreatedBy { get; set; }
public DateTime? CreatedTime { get; set; }
public string UpdatedBy { get; set; }
public DateTime? UpdatedTime { get; set; }
}
}