using Business.Model;
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.Model.Production
{
///
/// 工单主表
///
[Comment("工单主表")]
public class WorkOrdMaster
{
///
/// 主键
///
[Comment("主键")]
[Key]
public int RecID { get; set; }
///
/// 域名
///
[Comment("域名")]
public string Domain { get; set; }
///
/// 计划开始日期
///
[Comment("计划开始日期")]
public DateTime? OrdDate { get; set; }
///
/// 下达日期
///
[Comment("下达日期")]
public DateTime? ReleaseDate { get; set; }
///
/// 工单
///
[Comment("工单")]
public string? WorkOrd { get; set; }
///
/// 物料编号
///
[Comment("物料编号")]
public string? ItemNum { get; set; }
///
/// 订单数量
///
[Comment("订单数量")]
public decimal QtyOrded { get; set; }
///
/// 工艺路线编码
///
[Comment("工艺路线编码")]
public string? RoutingCode { get; set; }
///
/// 优先级
///
[Comment("优先级")]
public decimal Priority { get; set; }
///
/// 班次
///
[Comment("班次")]
public Int16 Period { get; set; }
///
/// 状态:C为不可用状态
///
[Comment("状态")]
public string? Status { get; set; }
///
/// 是否有效:1-有效;0-无效
///
[Comment("是否有效")]
public Boolean IsActive { get; set; }
///
/// 生产线
///
[Comment("状态")]
public string? ProdLine { get; set; }
///
/// 确认
///
[Comment("确认")]
public Boolean IsConfirm { get; set; }
}
}