入库检验

This commit is contained in:
qianhao.xu
2024-04-17 18:48:33 +08:00
parent eb85c457fd
commit 8581530276
17 changed files with 350 additions and 4 deletions

View File

@@ -0,0 +1,46 @@
using System.ComponentModel.DataAnnotations;
namespace ZR.Model.MES.wms.Dto
{
/// <summary>
/// 成品入库检验查询对象
/// </summary>
public class WmFgentryInspectQueryDto : PagerInfo
{
}
/// <summary>
/// 成品入库检验输入输出对象
/// </summary>
public class WmFgentryInspectDto
{
[Required(ErrorMessage = "主键不能为空")]
public int Id { get; set; }
public string Workorder { get; set; }
[Required(ErrorMessage = "箱子号不能为空")]
public string Packcode { get; set; }
public string Machine { get; set; }
public int? ProductionNum { get; set; }
public string Partnumber { get; set; }
public int? Bfilled { get; set; }
public int? Result { get; set; }
public string CreatedBy { get; set; }
public DateTime? CreatedTime { get; set; }
public string UpdatedBy { get; set; }
public DateTime? UpdatedTime { get; set; }
}
}

View File

@@ -0,0 +1,78 @@
namespace ZR.Model.MES.wms
{
/// <summary>
/// 成品入库检验
/// </summary>
[SugarTable("wm_fgentry_inspect")]
public class WmFgentryInspect
{
/// <summary>
/// 主键
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
/// <summary>
/// 工单号
/// </summary>
public string Workorder { get; set; }
/// <summary>
/// 箱子号
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
public string Packcode { get; set; }
/// <summary>
/// 工位
/// </summary>
public string Machine { get; set; }
/// <summary>
/// 箱子里产品个数
/// </summary>
[SugarColumn(ColumnName = "production_num")]
public int? ProductionNum { get; set; }
/// <summary>
/// 零件号
/// </summary>
public string Partnumber { get; set; }
/// <summary>
/// 是否满箱
/// </summary>
public int? Bfilled { get; set; }
/// <summary>
/// 检验结果0未检1合格2不合格
/// </summary>
public int? Result { get; set; }
/// <summary>
/// 创建人
/// </summary>
[SugarColumn(ColumnName = "cREATED_BY")]
public string CreatedBy { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(ColumnName = "cREATED_TIME")]
public DateTime? CreatedTime { get; set; }
/// <summary>
/// 更新人
/// </summary>
[SugarColumn(ColumnName = "uPDATED_BY")]
public string UpdatedBy { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[SugarColumn(ColumnName = "uPDATED_TIME")]
public DateTime? UpdatedTime { get; set; }
}
}