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 PurOrdDetailBatch { /// /// 主键 /// [Comment("主键")] [Key] public int RecID { get; set; } public int PurOrdDetailRecID { get; set; } /// /// 域名 /// [Comment("域名")] public string Domain { get; set; } /// /// 租户ID /// [Comment("租户ID")] public long? tenant_id { get; set; } /// /// 类型 /// [Comment("类型")] public string Potype { get; set; } /// /// PO单号 /// [Comment("PO单号")] public string PurOrd { get; set; } /// /// 明细表行号 /// [Comment("明细表行号")] public short Line { get; set; } /// /// 行号 /// [Comment("行号")] public short Batch { get; set; } /// /// 物料编码 /// [StringLength(100)] [Comment("物料编码")] public string ItemNum { get; set; } /// /// 组件物料编码 /// [StringLength(100)] [Comment("组件物料编码")] public string SuppItem { get; set; } /// /// 订单数量 /// [Precision(23, 10)] [Comment("订单数量")] public decimal QtyOrded { get; set; } /// /// 已收货数量 /// [Precision(23, 10)] [Comment("已收货数量")] public decimal QtyReceived { get; set; } /// /// BOM单位用量 /// [Precision(23, 10)] [Comment("BOM单位用量")] public decimal? QtyBO { get; set; } /// /// PurOrdDetail.QtyOrded*BOM单位用量(按单位规则向上取整) /// [Precision(23, 10)] [Comment("PurOrdDetail.QtyOrded*BOM单位用量(按单位规则向上取整)")] public decimal? QtyReleased { get; set; } /// /// 单位 /// [Comment("单位")] public string UM { get; set; } /// /// 是否有效:1-有效;0-无效 /// [Comment("是否有效")] public bool IsActive { get; set; } /// /// 是否确认:1-有效;0-无效 /// [Comment("是否确认")] public bool IsConfirm { 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; } /// /// 库位 /// [Comment("库位")] public string Location { get; set; } /// /// 状态 /// [Comment("状态")] public string Status { get; set; } } }