DigitalFactory/Admin.NET/Admin.NET.Application/Entity/ProductionTasks.cs

83 lines
2.4 KiB
C#

using Admin.NET.Core;
namespace Admin.NET.Application.Entity;
/// <summary>
/// 生产任务单
/// </summary>
[SugarTable("ProductionTasks","生产任务单")]
public class ProductionTasks : EntityTenant
{
/// <summary>
/// 单号
/// </summary>
[SugarColumn(ColumnName = "OddNumber", ColumnDescription = "单号", Length = 32)]
public string? OddNumber { get; set; }
/// <summary>
/// 计划开工日期
/// </summary>
[SugarColumn(ColumnName = "PlanStartDate", ColumnDescription = "计划开工日期")]
public DateTime? PlanStartDate { get; set; }
/// <summary>
/// 状态
/// </summary>
[SugarColumn(ColumnName = "State", ColumnDescription = "状态")]
public int? State { get; set; }
/// <summary>
/// 生产类型
/// </summary>
[SugarColumn(ColumnName = "ProductType", ColumnDescription = "生产类型", Length = 32)]
public string? ProductType { get; set; }
/// <summary>
/// 产品名称
/// </summary>
[SugarColumn(ColumnName = "Name", ColumnDescription = "产品名称", Length = 32)]
public string? Name { get; set; }
/// <summary>
/// 产品编码
/// </summary>
[SugarColumn(ColumnName = "CodeNum", ColumnDescription = "产品编码", Length = 32)]
public string? CodeNum { get; set; }
/// <summary>
/// 规格型号
/// </summary>
[SugarColumn(ColumnName = "Specifications", ColumnDescription = "规格型号", Length = 32)]
public string? Specifications { get; set; }
/// <summary>
/// 批次
/// </summary>
[SugarColumn(ColumnName = "Batch", ColumnDescription = "批次")]
public int? Batch { get; set; }
/// <summary>
/// 生产线
/// </summary>
[SugarColumn(ColumnName = "ProductionLine", ColumnDescription = "生产线", Length = 32)]
public string? ProductionLine { get; set; }
/// <summary>
/// 开工时间
/// </summary>
[SugarColumn(ColumnName = "StartDate", ColumnDescription = "开工时间")]
public DateTime? StartDate { get; set; }
/// <summary>
/// 完工时间
/// </summary>
[SugarColumn(ColumnName = "EndDate", ColumnDescription = "完工时间")]
public DateTime? EndDate { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 64)]
public string? Remarks { get; set; }
}