using SqlSugar;
namespace PadApplication.Entites.DbModels;
///
/// 机台报工记录
///
[SugarTable("MES_REPORTING")]
public class MesReporting
{
///
///
[SugarColumn(ColumnName = "ID", OracleSequenceName = "SEQ_JTBG",
IsPrimaryKey = true)]
public decimal Id { get; set; }
///
/// 工单
///
[SugarColumn(ColumnName = "BILL_NO")]
public string? BillNo { get; set; }
///
/// 产品编码
///
[SugarColumn(ColumnName = "ITEM_NO")]
public string? ItemNo { get; set; }
///
/// 已产数量
///
[SugarColumn(ColumnName = "OK_QTY")]
public decimal? OkQty { get; set; }
///
/// 报废数量
///
[SugarColumn(ColumnName = "BF_QTY")]
public decimal? BfQty { get; set; }
///
/// 机台编号
///
[SugarColumn(ColumnName = "MACHINE_NO")]
public string? MachineNo { get; set; }
///
/// 据点
///
[SugarColumn(ColumnName = "ADDRESS_CODE")]
public string? AddressCode { get; set; }
///
/// 报工人
///
[SugarColumn(ColumnName = "BG_PERSON")]
public string? BgPerson { get; set; }
///
/// 报工时间
///
[SugarColumn(ColumnName = "BG_DATE")]
public DateTime? BgDate { get; set; }
///
/// 最后修改人
///
[SugarColumn(ColumnName = "LASTUPDATE_BY")]
public string? LastupdateBy { get; set; }
///
/// 最后修改时间
///
[SugarColumn(ColumnName = "LASTUPDATE_DATE")]
public DateTime? LastupdateDate { get; set; }
///
/// 产品条码
///
[SugarColumn(ColumnName = "ITEM_NO_CADE")]
public string? ItemNoCade { get; set; }
///
/// 料头克重
///
[SugarColumn(ColumnName = "ITEM_HEAD_WEIGHT")]
public decimal? ItemHeadWeight { get; set; }
///
/// 不良名称
///
[SugarColumn(ColumnName = "BF_ITEM_NAME")]
public string? BfItemName { get; set; }
///
/// 部门ID
///
[SugarColumn(ColumnName = "DEPARTMENT_ID")]
public string? DepartmentId { get; set; }
///
/// 审核人
///
[SugarColumn(ColumnName = "CHECK_BY")]
public string? CheckBy { get; set; }
///
/// 审核时间
///
[SugarColumn(ColumnName = "CHECK_DATE")]
public DateTime? CheckDate { get; set; }
///
/// 审核状态: 0 未审核,1审核
///
[SugarColumn(ColumnName = "CHECK_TYPE")]
public decimal? CheckType { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName = "CREATE_BY")]
public string? CreateBy { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "REMARK")]
public string? Remark { get; set; }
///
/// 累计采集数
///
[SugarColumn(ColumnName = "CJ_QTY")]
public decimal? CjQty { get; set; }
///
/// 累计打印数
///
[SugarColumn(ColumnName = "DY_QTY")]
public decimal? DyQty { get; set; }
///
/// 累计不良数
///
[SugarColumn(ColumnName = "BL_QTY")]
public decimal? BlQty { get; set; }
///
/// 机台面板数
///
[SugarColumn(ColumnName = "JT_QTY")]
public decimal? JtQty { get; set; }
///
/// 初始值
///
[SugarColumn(ColumnName = "CS_QTY")]
public decimal? CsQty { get; set; }
[SugarColumn(IsIgnore = true)] public string? StaffName { get; set; }
}