using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Business.Domain { /// /// 工单工艺流程表 /// [Comment("工单工艺流程表")] public class WorkOrdRouting { /// /// 主键 /// [Comment("主键")] [Key] public int RecID { get; set; } /// /// 域名 /// [Comment("域名")] public string Domain { get; set; } /// /// 描述 /// [Comment("描述")] public string Descr { get; set; } /// /// 到期日期 /// [Comment("到期日期")] public DateTime? DueDate { get; set; } /// /// 关键工序(需要报工的工序) /// [Comment("关键工序")] public bool MilestoneOp { get; set; } /// /// 工单 /// [Comment("工单")] public string WorkOrd { get; set; } /// /// 工序 /// [Comment("工序")] public int OP { get; set; } /// /// 父级工序 /// [Comment("父级工序")] public int ParentOp { get; set; } /// /// 运行时间(标准节拍) /// [Comment("运行时间")] public decimal RunTime { get; set; } /// /// 物料编号 /// [Comment("物料编号")] public string ItemNum { get; set; } /// /// 订单数量 /// [Comment("订单数量")] public decimal? QtyOrded { get; set; } /// /// 报工数量 /// [Comment("报工数量")] public decimal QtyComplete { get; set; } /// /// 工序清场时长(小时) /// [Comment("工序清场时长")] public decimal WaitTime { get; set; } /// /// 平行加工件数,下序开工前置数量 /// [Comment("平行加工件数")] public int? OverlapUnits { get; set; } /// /// 状态:C为不可用状态 /// [Comment("状态")] public string Status { get; set; } /// /// 是否换包 /// [Comment("是否换包")] public int CommentIndex { get; set; } /// /// 是否有效:1-有效;0-无效 /// [Comment("是否有效")] public bool IsActive { get; set; } /// /// 创建时间 /// [Comment("创建时间")] public DateTime? CreateTime { get; set; } /// /// 工单主键 /// [Comment("工单主键")] public long WorkOrdMasterRecID { get; set; } /// /// 报工批量 /// [Comment("报工批量")] public decimal? PackingQty { get; set; } /// /// 最新报工时间 /// [Comment("最新报工时间")] public DateTime? Last { get; set; } /// /// SAP工序 /// [Comment("SAP工序")] public string StdOp { get; set; } /// /// 工作中心 /// [Comment("工作中心")] public string WorkCtr { get; set; } /// /// 工艺路线编码 /// [Comment("工艺路线编码")] public string Ufld1 { get; set; } /// /// 生产车间 /// [Comment("生产车间")] public string Ufld2 { get; set; } /// /// 工序控制码 /// [Comment("工序控制码")] public string Ufld3 { get; set; } /// /// 工序委外 /// [Comment("工序委外")] public int ProcessOut { get; set; } /// /// 工序委外提前期 /// [Comment("工序委外提前期")] public decimal ProcessOutDay { get; set; } /// /// 工序委外供应商代码 /// [Comment("工序委外供应商代码")] public string ProcessOutSupp { get; set; } /// /// 设备编码 /// [Comment("设备编码")] public string Machine { get; set; } /// /// 模具编码 /// [Comment("模具编码")] public string ToolCode { get; set; } /// /// 人员技能编号 /// [Comment("人员技能编号")] public string Engineer { get; set; } /// /// 标准人数 /// [Comment("标准人数")] public decimal RunCrew { get; set; } /// /// 产线 /// [Comment("产线")] public string ProdLine { get; set; } /// /// 单位产能 /// [Comment("单位产能")] public decimal MachBdnRate { get; set; } /// /// 准备时间 /// [Comment("准备时间")] public decimal StdSetupTime { get; set; } /// /// 工序类型 /// [Comment("工序类型")] public string WorkCode { get; set; } /// /// 作业编码 /// [Comment("作业编码")] public string ChargeCode { get; set; } /// /// 作业编码 /// [Comment("作业编码")] public string ERPfld2 { get; set; } /// /// 机器时间 /// [Comment("机器时间")] public decimal MachinesperOp { get; set; } /// /// 准备时间 /// [Comment("准备时间")] public decimal Setup { get; set; } /// /// 人工时间 /// [Comment("人工时间")] public decimal Labor { get; set; } } }