| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206 |
- using Business.Core.Attributes;
- using Business.Core.Utilities;
- using Microsoft.EntityFrameworkCore;
- using System.ComponentModel.DataAnnotations;
- using Volo.Abp.Domain.Entities;
- namespace Business.Model.Ext
- {
- /// <summary>
- /// 物料清单
- /// </summary>
- [CollectionName("dopbase", "in_kd_bom")]
- [Comment("物料清单")]
- public class in_kd_bom : Entity<long>
- {
- [Key]
- public override long Id
- {
- get
- {
- if (Id == 0)
- return new SnowFlake().NextId();
- return Id;
- }
- }
- /// <summary>
- /// 使用组织
- /// </summary>
- [StringLength(80)]
- [Comment("使用组织")]
- public string? FUseOrgId_Name { get; set; }
- /// <summary>
- /// BOM版本
- /// </summary>
- [StringLength(80)]
- [Comment("BOM版本")]
- public string? FNumber { get; set; }
- /// <summary>
- /// BOM简称
- /// </summary>
- [StringLength(10)]
- [Comment("BOM简称")]
- public string? FName_2052 { get; set; }
- /// <summary>
- /// BOM分类
- /// </summary>
- [StringLength(80)]
- [Comment("BOM分类")]
- public string? FBOMCATEGORY { get; set; }
- /// <summary>
- /// 父项物料编码
- /// </summary>
- [StringLength(80)]
- [Comment("父项物料编码")]
- public string? FMATERIALID_Name { get; set; }
- /// <summary>
- /// 物料名称
- /// </summary>
- [StringLength(80)]
- [Comment("物料名称")]
- public string? FITEMNAME { get; set; }
- /// <summary>
- /// 规格型号
- /// </summary>
- [StringLength(80)]
- [Comment("规格型号")]
- public string? FITEMMODEL { get; set; }
- /// <summary>
- /// 数据状态
- /// </summary>
- [StringLength(10)]
- [Comment("数据状态")]
- public string? FITEMPPROPERTY { get; set; }
- /// <summary>
- /// 项次
- /// </summary>
- [Comment("项次")]
- public int? FReplaceGroup { get; set; }
- /// <summary>
- /// 替代优先级
- /// </summary>
- [Comment("替代优先级")]
- public int? FReplacePriority { get; set; }
- /// <summary>
- /// 替代方案编码
- /// </summary>
- [Comment("80")]
- [StringLength(255)]
- public string? FSubstitutionId_Name { get; set; }
- /// <summary>
- /// 子项物料编码
- /// </summary>
- [Comment("子项物料编码")]
- [StringLength(80)]
- public string? FMATERIALIDCHILD_Name { get; set; }
- /// <summary>
- /// 子项物料名称
- /// </summary>
- [StringLength(80)]
- [Comment("子项物料名称")]
- public string? FCHILDITEMNAME { get; set; }
- /// <summary>
- /// 子项规格型号
- /// </summary>
- [Comment("子项规格型号")]
- [StringLength(80)]
- public string? FCHILDITEMMODEL { get; set; }
- /// <summary>
- /// 供应类型
- /// </summary>
- [Comment("供应类型")]
- [StringLength(1)]
- public string? FSupplyType { get; set; }
- /// <summary>
- /// 子项单位
- /// </summary>
- [Comment("子项单位")]
- [StringLength(10)]
- public string? FCHILDUNITID_Name { get; set; }
- /// <summary>
- /// 供应组织
- /// </summary>
- [StringLength(80)]
- [Comment("供应组织")]
- public string? FChildSupplyOrgId_Name { get; set; }
- /// <summary>
- /// 用量:分子
- [Comment("用量:分子")]
- [Precision(23, 10)]
- public decimal? FNUMERATOR { get; set; }
- /// <summary>
- /// 用量:分母
- /// </summary>
- [Comment("用量:分母")]
- [Precision(23, 10)]
- public decimal? FDENOMINATOR { get; set; }
- /// <summary>
- /// 作业
- /// </summary>
- [Comment("作业")]
- [StringLength(80)]
- public string? FPROCESSID_Name { get; set; }
- /// <summary>
- /// 替代策略
- /// </summary>
- [StringLength(80)]
- [Comment("替代策略")]
- public string? FReplacePolicy { get; set; }
- /// <summary>
- /// 替代方式
- /// </summary>
- [Comment("替代方式")]
- [StringLength(80)]
- public string? FReplaceType { get; set; }
- /// <summary>
- /// 替代主料
- /// </summary>
- [Comment("替代主料")]
- [StringLength(1)]
- public string? FIskeyItem { get; set; }
- /// <summary>
- /// 替代方案名称
- /// </summary>
- [Comment("替代方案名称")]
- [StringLength(80)]
- public string? FSubstitutionName { get; set; }
- /// <summary>
- /// 子项物料描述
- /// </summary>
- [StringLength(255)]
- [Comment("子项物料描述")]
- public string? F_ZXWLMS { get; set; }
- /// <summary>
- /// 子项物料品牌
- /// </summary>
- [Comment("子项物料品牌")]
- [StringLength(255)]
- public string? F_ZXWLPP { get; set; }
- }
- }
|