| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245 |
- using Business.Core.Attributes;
- using Business.Model;
- using Microsoft.EntityFrameworkCore;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- namespace Bussiness.Model.MES.IC
- {
- /// <summary>
- /// 物料详情
- /// </summary>
- [CollectionName("dopbase", "ic_itemTest")]
- [Comment("物料详情")]
- public class ic_itemTest : BaseEntity
- {
- public ic_itemTest(long Id) : base(Id)
- {
- }
- /// <summary>
- /// 物料编码
- /// </summary>
- [StringLength(80)]
- [Comment("物料编码")]
- public string? number { get; set; }
- /// <summary>
- /// 物料名称
- /// </summary>
- [StringLength(80)]
- [Comment("物料名称")]
- public string? name { get; set; }
- /// <summary>
- /// 规格型号
- /// </summary>
- [StringLength(200)]
- [Comment("规格型号")]
- public string? model { get; set; }
- /// <summary>
- /// 全名
- /// </summary>
- [StringLength(255)]
- [Comment("全名")]
- public string? full_name { get; set; }
- /// <summary>
- /// fms旧料号
- /// </summary>
- [StringLength(80)]
- [Comment("fms旧料号")]
- public string? fms_number { get; set; }
- /// <summary>
- /// erp旧料号
- /// </summary>
- [StringLength(80)]
- [Comment("erp旧料号")]
- public string? erp_oldnumber { get; set; }
- /// <summary>
- /// 图号
- /// </summary>
- [StringLength(80)]
- [Comment("图号")]
- public string? chart_number { get; set; }
- /// <summary>
- /// 版本号
- /// </summary>
- [StringLength(80)]
- [Comment("版本号")]
- public string? fversion { get; set; }
- /// <summary>
- /// 盒贴规格
- /// </summary>
- [StringLength(200)]
- [Comment("盒贴规格")]
- public string? box_model { get; set; }
- /// <summary>
- /// 物料属性
- /// </summary>
- [Comment("物料属性")]
- public int erp_cls { get; set; }
- /// <summary>
- /// 物料属性名称
- /// </summary>
- [StringLength(80)]
- [Comment("物料属性")]
- public string? erp_cls_name { get; set; }
- /// <summary>
- /// 单位
- /// </summary>
- [StringLength(80)]
- [Comment("单位")]
- public string? unit { get; set; }
- /// <summary>
- /// 物料等级
- /// </summary>
- [Comment("物料等级")]
- public long? item_level { get; set; }
- /// <summary>
- /// 环保等级
- /// </summary>
- [Comment("环保等级")]
- public long? hb_level { get; set; }
- /// <summary>
- /// 单位标准工时_小时
- /// </summary>
- [Precision(20, 8)]
- [Comment("单位标准工时_小时")]
- public decimal? standard_manhour { get; set; }
- /// <summary>
- /// 单位材料定额_元
- /// </summary>
- [Precision(20, 8)]
- [Comment("单位材料定额_元")]
- public decimal? unititem_amount { get; set; }
- /// <summary>
- /// 来源
- /// </summary>
- [StringLength(200)]
- [Comment("来源")]
- public string? source { get; set; }
- /// <summary>
- /// 是否为设备
- /// </summary>
- [Comment("是否为设备")]
- public int? is_equipment { get; set; }
- /// <summary>
- /// 单位包装数量
- /// </summary>
- [Precision(20, 8)]
- [Comment("单位包装数量")]
- public decimal? unit_qty { get; set; }
- /// <summary>
- /// 严格进行二维码数量校验
- /// </summary>
- [StringLength(80)]
- [Comment("严格进行二维码数量校验")]
- public string? check_bybarcode { get; set; }
- /// <summary>
- /// 是否关键件
- /// </summary>
- [Comment("是否关键件")]
- public int iskeyitem { get; set; }
- /// <summary>
- /// 毛重
- /// </summary>
- [Precision(20, 8)]
- [Comment("毛重")]
- public decimal? gross_weight { get; set; }
- /// <summary>
- /// 净重
- /// </summary>
- [Precision(20, 8)]
- [Comment("净重")]
- public decimal? net_weight { get; set; }
- /// <summary>
- /// 重量单位
- /// </summary>
- [StringLength(80)]
- [Comment("重量单位")]
- public string? maund { get; set; }
- /// <summary>
- /// 长度
- /// </summary>
- [Precision(20, 8)]
- [Comment("长度")]
- public decimal? length { get; set; }
- /// <summary>
- /// 长度单位
- /// </summary>
- [StringLength(80)]
- [Comment("长度单位")]
- public string? cubic_measure { get; set; }
- /// <summary>
- /// 宽度
- /// </summary>
- [Precision(20, 8)]
- [Comment("宽度")]
- public decimal? width { get; set; }
- /// <summary>
- /// 高度
- /// </summary>
- [Precision(20, 8)]
- [Comment("高度")]
- public decimal? height { get; set; }
- /// <summary>
- /// 体积
- /// </summary>
- [Precision(20, 8)]
- [Comment("体积")]
- public decimal? size { get; set; }
- /// <summary>
- /// 物料类别
- /// </summary>
- [Comment("物料类别")]
- public long? matatt { get; set; }
- /// <summary>
- /// 允许采购
- /// </summary>
- [Comment("允许采购")]
- public int allowpur { get; set; }
- /// <summary>
- /// 允许销售
- /// </summary>
- [Comment("允许销售")]
- public int allowsale { get; set; }
- /// <summary>
- /// 允许生产
- /// </summary>
- [Comment("允许生产")]
- public int allowmanu { get; set; }
- /// <summary>
- /// 允许委外
- /// </summary>
- [Comment("允许委外")]
- public int allowout { get; set; }
- /// <summary>
- /// 批号管理
- /// </summary>
- [Comment("批号管理")]
- public int allowbatch { get; set; }
- /// <summary>
- /// 序列号管理
- /// </summary>
- [Comment("序列号管理")]
- public int? allowserial { get; set; }
- /// <summary>
- /// 图片
- /// </summary>
- [StringLength(80)]
- [Comment("图片")]
- public string? photo { get; set; }
- /// <summary>
- /// 领料类型
- /// </summary>
- [Comment("领料类型")]
- public long? picktype { get; set; }
- /// <summary>
- /// 出库类型
- /// </summary>
- [Comment("出库类型")]
- public long? output_type_id { get; set; }
- /// <summary>
- /// 启用预警
- /// </summary>
- [Comment("启用预警")]
- public int? enable_warning { get; set; }
- }
- }
|