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; }
}
}