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