using Business.Core.Attributes; using Microsoft.EntityFrameworkCore; using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Business.Domain { /// /// 采购订单占用详情 /// [CollectionName("dopbase", "srm_po_occupy")] [Comment("采购订单占用详情")] public class srm_po_occupy : BaseEntity { /// /// 采购订单id /// [Required] [Comment("采购订单id")] public long? polist_id { get; set; } /// /// 采购订单行号 /// [Comment("采购订单行号")] public int? polist_row { get; set; } /// /// 客户订单行id /// [Comment("客户订单行id")] public long? eid { get; set; } /// /// 客户订单id /// [Comment("客户订单id")] public long? bill_no { get; set; } /// /// 工单ID /// [Comment("工单ID")] public long? morder_id { get; set; } /// /// 工单编号 /// [Comment("工单编号")] public string morder_mo { get; set; } /// /// 类型 /// [StringLength(80)] [Comment("类型")] public string type { get; set; } /// /// 行号 /// [Comment("行号")] public int entry_id { get; set; } /// /// 占用量 /// [Precision(23, 10)] [Comment("占用量")] public decimal? qty { get; set; } /// /// 开始时间 /// [Comment("开始时间")] public DateTime? stime { get; set; } /// /// 结束时间 /// [Comment("结束时间")] public DateTime? etime { get; set; } /// /// 占用状态 /// [Comment("占用状态")] public int? state { get; set; } /// /// 变更人 /// [StringLength(80)] [Comment("变更人")] public string cby { get; set; } /// /// 变更原因 /// [StringLength(1000)] [Comment("变更原因")] public string creason { get; set; } /// /// 变更时间 /// [Comment("变更时间")] public DateTime? ctime { get; set; } /// /// 计算ID /// [Comment("计算id")] [NotMapped] public long? bang_id { get; set; } } }