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 WorkOrdDetail
{
///
/// 主键
///
[Comment("主键")]
[Key]
public int RecID { get; set; }
///
/// 域名
///
[Comment("域名")]
public string Domain { get; set; }
///
/// 工单
///
[Comment("工单")]
public string WorkOrd { get; set; }
///
/// 工序
///
[Comment("工序")]
public int? Op { get; set; }
///
/// 物料编号
///
[Comment("物料编号")]
public string ItemNum { get; set; }
///
/// 需求数量
///
[Comment("需求数量")]
public decimal QtyRequired { get; set; }
///
/// 发布数量
///
[Comment("发布数量")]
public decimal QtyPosted { get; set; }
///
/// 退回数量
///
[Comment("退回数量")]
public decimal QtyReturned { get; set; }
///
/// 冻结BOM数量
///
[Comment("冻结BOM数量")]
public decimal FrozenBOMQty { get; set; }
///
/// 状态:C为不可用状态
///
[Comment("状态")]
public string Status { get; set; }
///
/// 是否有效:1-有效;0-无效
///
[Comment("是否有效")]
public bool IsActive { get; set; }
///
/// 创建时间
///
[Comment("创建时间")]
public DateTime? CreateTime { get; set; }
///
/// 批次序列
///
[Comment("批次序列")]
public string LotSerial { get; set; }
///
/// 工单主键
///
[Comment("工单主键")]
public long WorkOrdMasterRecID { get; set; }
///
/// 损耗率
///
[Comment("损耗率")]
public decimal Yield { get; set; }
///
/// 序号
///
[Comment("序号")]
public short Line { get; set; }
///
/// 库位
///
[Comment("库位")]
public string Location { get; set; }
}
}