| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- using Business.Core.Attributes;
- using Business.Model;
- using Microsoft.EntityFrameworkCore;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- namespace Bussiness.Model.SRM
- {
- /// <summary>
- /// 物料采购信息表
- /// </summary>
- [CollectionName("dopbase", "srm_purchase")]
- [Comment("物料采购信息表")]
- public class srm_purchase : BaseEntity
- {
- /// <summary>
- /// 物料id
- /// </summary>
- [Required]
- [Comment("物料id")]
- public long icitem_id { get; set; }
- /// <summary>
- /// 物料名称
- /// </summary>
- [StringLength(80)]
- [Comment("物料名称")]
- public string? icitem_name { get; set; }
- /// <summary>
- /// 计划id
- /// </summary>
- [Required]
- [Comment("计划id")]
- public long? ic_plan_id { get; set; }
- /// <summary>
- /// 采购负责人
- /// </summary>
- [StringLength(80)]
- [Comment("采购负责人")]
- public string? order_rector_name { get; set; }
- /// <summary>
- /// 采购负责人_工号
- /// </summary>
- [StringLength(80)]
- [Comment("采购负责人_工号")]
- public string? order_rector_num { get; set; }
- /// <summary>
- /// 工厂编码
- /// </summary>
- [StringLength(80)]
- [Comment("工厂编码")]
- public string? factory_code { get; set; }
- /// <summary>
- /// 采购部门
- /// </summary>
- [StringLength(80)]
- [Comment("采购部门")]
- public string? order_dept { get; set; }
- /// <summary>
- /// 采购单价
- /// </summary>
- [Precision(20, 8)]
- [Comment("采购单价")]
- public decimal? order_price { get; set; }
- /// <summary>
- /// 销售单价
- /// </summary>
- [Precision(20, 8)]
- [Comment("销售单价")]
- public decimal? sale_price { get; set; }
- /// <summary>
- /// 最小订货量
- /// </summary>
- [Precision(20, 8)]
- [Comment("最小订货量")]
- public decimal? qty_min { get; set; }
- /// <summary>
- /// 批量增量
- /// </summary>
- [Precision(20, 8)]
- [Comment("批量增量")]
- public decimal? batch_append_qty { get; set; }
- /// <summary>
- /// 采购订单差异科目代码
- /// </summary>
- [Required]
- [Comment("采购订单差异科目代码")]
- public long? pov_acct { get; set; }
- /// <summary>
- /// 采购发票差异科目代码
- /// </summary>
- [Required]
- [Comment("采购发票差异科目代码")]
- public long? piv_acct { get; set; }
- }
- }
|