82 lines
2.2 KiB
C#
82 lines
2.2 KiB
C#
|
|
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; }
|
|||
|
|
}
|
|||
|
|
}
|