Files
qhmes/yy-admin-master/YY.Admin.Core/Entity/MesXslMixingProductionPlan.cs

51 lines
1.8 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
namespace YY.Admin.Core.Entity;
/// <summary>密炼生产计划维护MES 数据源,桌面端只读同步)</summary>
public class MesXslMixingProductionPlan
{
public string? Id { get; set; }
public int? SortNo { get; set; }
public string? MachineId { get; set; }
public string? MachineName { get; set; }
/// <summary>班次标识1早班 2中班 3晚班</summary>
public int? ShiftFlag { get; set; }
/// <summary>计划日期(密炼日期)</summary>
public DateTime? PlanDate { get; set; }
public string? PlanNo { get; set; }
public string? PlanId { get; set; }
public string? PlanType { get; set; }
public string? SourceOrderId { get; set; }
public string? MaterialId { get; set; }
public string? MaterialName { get; set; }
public string? OrderNo { get; set; }
public DateTime? OrderDate { get; set; }
public string? FormulaName { get; set; }
public double? PlanWeight { get; set; }
public int? PlannedCarCount { get; set; }
public int? ScheduledCarCount { get; set; }
public int? FinishedCarCount { get; set; }
/// <summary>计划数量MES plan_count</summary>
public int? PlanCount { get; set; }
public string? Remark { get; set; }
public int? TenantId { get; set; }
public string? SysOrgCode { get; set; }
public string? CreateBy { get; set; }
public DateTime? CreateTime { get; set; }
public string? UpdateBy { get; set; }
public DateTime? UpdateTime { get; set; }
public int? DelFlag { get; set; }
public string ShiftFlagText => ShiftFlag switch
{
1 => "早班",
2 => "中班",
3 => "晚班",
_ => ShiftFlag?.ToString() ?? string.Empty
};
public string PlanDateText => PlanDate?.ToString("yyyy-MM-dd") ?? string.Empty;
}