|
|
@@ -0,0 +1,161 @@
|
|
|
+using Business.Core.Attributes;
|
|
|
+using Microsoft.EntityFrameworkCore;
|
|
|
+using System;
|
|
|
+using System.ComponentModel.DataAnnotations;
|
|
|
+using System.ComponentModel.DataAnnotations.Schema;
|
|
|
+
|
|
|
+namespace Business.Domain
|
|
|
+{
|
|
|
+ /// <summary>
|
|
|
+ /// 交货单表
|
|
|
+ /// </summary>
|
|
|
+ [Comment("交货单表")]
|
|
|
+ public class srm_polist_ds
|
|
|
+ {
|
|
|
+ /// <summary>
|
|
|
+ /// 主键
|
|
|
+ /// </summary>
|
|
|
+ [Comment("主键")]
|
|
|
+ [Key]
|
|
|
+ public long Id { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 工厂编码
|
|
|
+ /// </summary>
|
|
|
+ [Comment("工厂编码")]
|
|
|
+ public string domain { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 交货计划id
|
|
|
+ /// </summary>
|
|
|
+ [Comment("交货计划id")]
|
|
|
+ public long icdsid { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 交货单号
|
|
|
+ /// </summary>
|
|
|
+ [Comment("交货单号")]
|
|
|
+ public string dsnum { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 状态:N-初始,P-已发布,C-关闭
|
|
|
+ /// </summary>
|
|
|
+ [Comment("状态")]
|
|
|
+ public string status { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 物料编码
|
|
|
+ /// </summary>
|
|
|
+ [Comment("物料编码")]
|
|
|
+ public string itemnum { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 单位
|
|
|
+ /// </summary>
|
|
|
+ [Comment("单位")]
|
|
|
+ public string um { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 采购组
|
|
|
+ /// </summary>
|
|
|
+ [Comment("采购组")]
|
|
|
+ public string purgroup { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 供应商编码
|
|
|
+ /// </summary>
|
|
|
+ [Comment("供应商编码")]
|
|
|
+ public string suppliercode { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 供应商
|
|
|
+ /// </summary>
|
|
|
+ [Comment("供应商")]
|
|
|
+ public string supplier { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 发布日期
|
|
|
+ /// </summary>
|
|
|
+ [Comment("发布日期")]
|
|
|
+ public DateTime? submitdate { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 交货日期
|
|
|
+ /// </summary>
|
|
|
+ [Comment("交货日期")]
|
|
|
+ public DateTime? requestdate { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 需求日期
|
|
|
+ /// </summary>
|
|
|
+ [Comment("需求日期")]
|
|
|
+ public DateTime? needdate { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 采购单号
|
|
|
+ /// </summary>
|
|
|
+ [Comment("采购单号")]
|
|
|
+ public string ponumber { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 采购单行号
|
|
|
+ /// </summary>
|
|
|
+ [Comment("采购单行号")]
|
|
|
+ public int poline { get; set; }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 需求数量
|
|
|
+ /// </summary>
|
|
|
+ [Comment("需求数量")]
|
|
|
+ public decimal schedqty { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 最近交货日期
|
|
|
+ /// </summary>
|
|
|
+ [Comment("最近交货日期")]
|
|
|
+ public DateTime? lastsentdate { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 最近交货数量
|
|
|
+ /// </summary>
|
|
|
+ [Comment("最近交货数量")]
|
|
|
+ public decimal lastsentqty { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 已交货数量
|
|
|
+ /// </summary>
|
|
|
+ [Comment("已交货数量")]
|
|
|
+ public decimal sentqty { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 剩余采购数量
|
|
|
+ /// </summary>
|
|
|
+ [Comment("剩余采购数量")]
|
|
|
+ public decimal restqty { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 创建人
|
|
|
+ /// </summary>
|
|
|
+ [Comment("创建人")]
|
|
|
+ public string createuser { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 修改人
|
|
|
+ /// </summary>
|
|
|
+ [Comment("修改人")]
|
|
|
+ public string updateuser { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 创建时间
|
|
|
+ /// </summary>
|
|
|
+ [Comment("创建时间")]
|
|
|
+ public DateTime? createtime { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 修改时间
|
|
|
+ /// </summary>
|
|
|
+ [Comment("修改时间")]
|
|
|
+ public DateTime? updatetime { get; set; }
|
|
|
+ }
|
|
|
+}
|