生产领料完成
This commit is contained in:
81
ZR.Model/MES/wm/WmMaterialrequisition.cs
Normal file
81
ZR.Model/MES/wm/WmMaterialrequisition.cs
Normal file
@@ -0,0 +1,81 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ZR.Model.MES.wm
|
||||
{
|
||||
/// <summary>
|
||||
/// 领料单
|
||||
///</summary>
|
||||
[SugarTable("wm_materialrequisition")]
|
||||
public class WmMaterialrequisition
|
||||
{
|
||||
/// <summary>
|
||||
/// 流水号
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
|
||||
public string Id { get; set; }
|
||||
/// <summary>
|
||||
/// 毛坯零件号
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "workblankpartnumber")]
|
||||
public string Workblankpartnumber { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 需要数量
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "requirenum")]
|
||||
public int? Requirenum { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 状态 (0:未领料 1已经领料)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "status")]
|
||||
public string Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 年
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "year")]
|
||||
public int? Year { get; set; }
|
||||
/// <summary>
|
||||
/// 周
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "week")]
|
||||
public int? Week { get; set; }
|
||||
/// <summary>
|
||||
/// 日
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "date")]
|
||||
public int? Date { get; set; }
|
||||
/// <summary>
|
||||
/// 乐观锁
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "REVISION")]
|
||||
public int? Revision { 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; }
|
||||
}
|
||||
}
|
||||
56
ZR.Model/MES/wm/WmWorkorderMr.cs
Normal file
56
ZR.Model/MES/wm/WmWorkorderMr.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ZR.Model.MES.wm
|
||||
{
|
||||
/// <summary>
|
||||
/// 生产工单与领料单关联表
|
||||
///</summary>
|
||||
[SugarTable("wm_workorder_mr")]
|
||||
public class WmWorkorderMr
|
||||
{
|
||||
/// <summary>
|
||||
/// 流水号
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
|
||||
public string Id { get; set; }
|
||||
/// <summary>
|
||||
/// 工单id
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "workorder_id")]
|
||||
public string WorkorderId { get; set; }
|
||||
/// <summary>
|
||||
/// 领料单id
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "materialRequisition_id")]
|
||||
public string MaterialrequisitionId { get; set; }
|
||||
/// <summary>
|
||||
/// 乐观锁
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "REVISION")]
|
||||
public int? Revision { 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user