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 NbrDetail { /// /// 主键 /// [Comment("主键")] [Key] public int RecID { get; set; } /// /// 域名 /// [Comment("域名")] public string Domain { get; set; } /// /// 类型 /// [Comment("类型")] public string Type { get; set; } /// /// 单据编号 /// [Comment("单据编号")] public string Nbr { get; set; } /// /// 物料编号 /// [Comment("物料编号")] public string ItemNum { get; set; } /// /// 转出数量 /// [Comment("转出数量")] public decimal? QtyFrom { get; set; } /// /// 转入数量 /// [Comment("转入数量")] public decimal? QtyTo { get; set; } /// /// 工单 /// [Comment("工单")] public string WorkOrd { get; set; } /// /// 原始库位 /// [Comment("原始库位")] public string LocationFrom { get; set; } /// /// 目标库位 /// [Comment("目标库位")] public string LocationTo { get; set; } /// /// 订单数量 /// [Comment("订单数量")] public decimal? QtyOrd { get; set; } /// /// 工单需求数量 /// [Comment("工单需求数量")] public decimal? CurrQtyOpened { get; set; } /// /// 行号 /// [Comment("行号")] public int Line { get; set; } /// /// 主表主键 /// [Comment("主表主键")] public int NbrRecID { get; set; } /// /// 是否有效:1-有效;0-无效 /// [Comment("是否有效")] public bool IsActive { get; set; } /// /// 单位 /// [Comment("单位")] public string UM { get; set; } /// /// 创建时间 /// [Comment("创建时间")] public DateTime? CreateTime { get; set; } /// /// 创建人 /// [Comment("创建人")] public string CreateUser { get; set; } /// /// 创建时间 /// [Comment("修改时间")] public DateTime? UpdateTime { get; set; } /// /// 修改人 /// [Comment("修改人")] public string UpdateUser { get; set; } } }