| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272 |
- using Business.Core.Attributes;
- using Business.Model;
- using Microsoft.EntityFrameworkCore;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
- namespace Business.Model.MES.IC
- {
- /// <summary>
- /// 工厂物料明细表
- /// </summary>
- [CollectionName("dopbase", "ic_factory_details")]
- [Comment("工厂物料明细表")]
- public class ic_factory_details : BaseEntity
- {
- public ic_factory_details(long Id) : base(Id)
- {
- }
- /// <summary>
- /// 物料id
- /// </summary>
- [Required]
- [Comment("物料id")]
- public long icitem_id { get; set; }
- /// <summary>
- /// 物料名称
- /// </summary>
- [StringLength(80)]
- [Comment("物料名称")]
- public string? icitem_name { get; set; }
- /// <summary>
- /// 工厂编码
- /// </summary>
- [StringLength(80)]
- [Comment("工厂编码")]
- public string? factory_fode { get; set; }
- /// <summary>
- /// 特殊备注
- /// </summary>
- [StringLength(1000)]
- [Comment("特殊备注")]
- public string? note { get; set; }
- /// <summary>
- /// 产品线
- /// </summary>
- [StringLength(80)]
- [Comment("产品线")]
- public string? product_line { get; set; }
- /// <summary>
- /// 领料类型
- /// </summary>
- [Comment("领料类型")]
- public long? pick_type { get; set; }
- /// <summary>
- /// 是否采用业务批次管理
- /// </summary>
- [Comment("是否采用业务批次管理")]
- public int? batch_manager { get; set; }
- /// <summary>
- /// 是否需要库龄管理
- /// </summary>
- [Comment("是否需要库龄管理")]
- public int? stock_time { get; set; }
- /// <summary>
- /// 盘点周期单位
- /// </summary>
- [StringLength(80)]
- [Comment("盘点周期单位")]
- public string? check_cycunit { get; set; }
- /// <summary>
- /// 盘点周期
- /// </summary>
- [Precision(23, 10)]
- [Comment("盘点周期")]
- public decimal? check_cycle { get; set; }
- /// <summary>
- /// 每周_月第天
- /// </summary>
- [Comment("每周_月第天")]
- public int? days_per { get; set; }
- /// <summary>
- /// 上次盘点日期
- /// </summary>
- [Comment("上次盘点日期")]
- public DateTime? last_checkdate { get; set; }
- /// <summary>
- /// 默认待检仓库
- /// </summary>
- [Comment("默认待检仓库")]
- public long? default_chkloc { get; set; }
- /// <summary>
- /// 默认待检仓位
- /// </summary>
- [Comment("默认待检仓位")]
- public long? default_chksp { get; set; }
- /// <summary>
- /// 默认仓库
- /// </summary>red]
- [Comment("默认仓库")]
- public long? default_loc { get; set; }
- /// <summary>
- /// 默认仓位
- /// </summary>
- [Comment("默认仓位")]
- public long? default_sp { get; set; }
- /// <summary>
- /// 货架信息
- /// </summary>
- [StringLength(80)]
- [Comment("货架信息")]
- public string? item_shelve { get; set; }
- /// <summary>
- /// 默认仓管员
- /// </summary>
- [StringLength(80)]
- [Comment("默认仓管员")]
- public string? default_manager { get; set; }
- /// <summary>
- /// 最低存量
- /// </summary>
- [Precision(23, 10)]
- [Comment("最低存量")]
- public decimal? low_limit { get; set; }
- /// <summary>
- /// 最高存量
- /// </summary>
- [Precision(23, 10)]
- [Comment("最高存量")]
- public decimal? high_limit { get; set; }
- /// <summary>
- /// 最大订货量
- /// </summary>
- [Precision(23, 10)]
- [Comment("最大订货量")]
- public decimal? qty_max { get; set; }
- /// <summary>
- /// 日消耗量
- /// </summary>
- [Precision(23, 10)]
- [Comment("日消耗量")]
- public decimal? daily_consume { get; set; }
- /// <summary>
- /// 库存备注
- /// </summary>
- [StringLength(1000)]
- [Comment("库存备注")]
- public string? warehouse_note { get; set; }
- /// <summary>
- /// 工单发料时间/天
- /// </summary>
- [Precision(23, 10)]
- [Comment("工单发料时间/天")]
- public decimal? ordissu_days { get; set; }
- /// <summary>
- /// 原材料收货处理时间/天
- /// </summary>
- [Precision(23, 10)]
- [Comment("原材料收货处理时间/天")]
- public decimal? raw_matreceiv_days { get; set; }
- /// <summary>
- /// 成品入库时间/天
- /// </summary>
- [Precision(23, 10)]
- [Comment("成品入库时间/天")]
- public decimal? prdenter_days { get; set; }
- /// <summary>
- /// 原材料入库时间/天
- /// </summary>
- [Precision(23, 10)]
- [Comment("原材料入库时间/天")]
- public decimal? mat_enter_days { get; set; }
- /// <summary>
- /// 成品发货时间/天
- /// </summary>
- [Precision(23, 10)]
- [Comment("成品发货时间/天")]
- public decimal? prd_out_days { get; set; }
- /// <summary>
- /// 运输中提前期_天
- /// </summary>
- [Comment("运输中提前期_天")]
- [Required]
- [DefaultValue(0)]
- [Precision(23, 10)]
- public decimal? transportation_leadtime { get; set; }
- /// <summary>
- /// 仓库中提前期_天
- /// </summary>
- [Comment("仓库中提前期_天")]
- [Required]
- [DefaultValue(0)]
- [Precision(23, 10)]
- public decimal? stock_leadtime { get; set; }
- /// <summary>
- /// 生产中提前期_天
- /// </summary>
- [Comment("生产中提前期_天")]
- [Required]
- [DefaultValue(0)]
- [Precision(23, 10)]
- public decimal? production_leadtime { get; set; }
- /// <summary>
- /// 下单前置期_天
- /// </summary>
- [Comment("下单前置期_天")]
- [Required]
- [DefaultValue(0)]
- [Precision(23, 10)]
- public decimal? order_leadtime { get; set; }
- /// <summary>
- /// 最小包装量
- /// </summary>
- [Comment("最小包装量")]
- [Required]
- [DefaultValue(0)]
- [Precision(23, 10)]
- public decimal? minpackqty { get; set; }
- /// <summary>
- /// 最小订单量
- /// </summary>
- [Comment("最小订单量")]
- [Required]
- [DefaultValue(0)]
- [Precision(23, 10)]
- public decimal? minorderqty { get; set; }
- /// <summary>
- /// 是否倒冲
- /// </summary>
- [Comment("是否倒冲")]
- public int? isbackflush { get; set; }
- /// <summary>
- /// 生产负责人
- /// </summary>
- [StringLength(80)]
- [Comment("生产负责人")]
- public string? product_principal { get; set; }
- /// <summary>
- /// 倒冲仓库
- /// </summary>
- [StringLength(80)]
- [Comment("倒冲仓库")]
- public string? back_flush_stock { get; set; }
- /// <summary>
- /// 倒冲仓位
- /// </summary>
- [StringLength(80)]
- [Comment("倒冲仓位")]
- public string? back_flush_sp { get; set; }
- /// <summary>
- /// 投料自动取整
- /// </summary>
- [Comment("投料自动取整")]
- public int? put_integer { get; set; }
- /// <summary>
- /// 计算ID
- /// </summary>
- [Comment("计算id")]
- [NotMapped]
- public long? bang_id { get; set; }
- }
- }
|