| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- using Business.Core.Attributes;
- using Business.Model;
- using Microsoft.EntityFrameworkCore;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- namespace Business.Model.Tech
- {
- /// <summary>
- /// 工艺关联工序表
- /// </summary>
- [CollectionName("dopbase", "mes_tech_process")]
- [Comment("工艺关联工序表")]
- public class mes_tech_process:BaseEntity
- {
- ///// <summary>
- ///// 工艺工序主键
- ///// </summary>
- //[Key]
- //[Comment("工艺工序主键")]
- //public long tech_proc_id { get; set; }
- /// <summary>
- /// 工艺主键
- /// </summary>
- [Required]
- [Comment("工艺主键")]
- public long? tech_id { get; set; }
- /// <summary>
- /// 工序主键
- /// </summary>
- [Required]
- [Comment("工序主键")]
- public long? proc_id { get; set; }
- /// <summary>
- /// 组合层级
- /// </summary>
- [Required]
- [Comment("组合层级")]
- public int? level { get; set; }
- /// <summary>
- /// 是否需要排产:1-是;0-否
- /// </summary>
- [Required]
- [Comment("是否需要排产:1-是;0-否")]
- public int? is_schedule { get; set; }
- /// <summary>
- /// 前置准备时间
- /// </summary>
- [Precision(20,8)]
- [Comment("前置准备时间")]
- public decimal? readytime { get; set; }
- /// <summary>
- /// 工作中心类型WorkCenterType:1-人工型;2-流水线型;3-设备型
- /// </summary>
- [Comment("工作中心类型")]
- public int? wctype { get; set; }
- /// <summary>
- /// 前置最小数量LeadQuantity to Start Next
- /// </summary>
- [Precision(23, 10)]
- [Comment("前置最小数量")]
- public decimal? lq { get; set; }
- /// <summary>
- /// 前置等待时间
- /// </summary>
- [Precision(23, 10)]
- [Comment("前置等待时间")]
- public decimal? lqt { get; set; }
- /// <summary>
- /// 子工序加工数量UnitPerParent
- /// </summary>
- [Precision(23, 10)]
- [Comment("子工序加工数量")]
- public decimal? upp { get; set; }
- /// <summary>
- /// 一次可加工数量UnitPerEquipment
- /// </summary>
- [Precision(23, 10)]
- [Comment("一次可加工数量")]
- public decimal? upe { get; set; }
- /// <summary>
- /// 实际运行工位数WorkshopInUse
- /// </summary>
- [Comment("实际运行工位数")]
- public int? wsinuse { get; set; }
- ///// <summary>
- ///// 效率计算类型 1-节拍时间;2-UPH
- ///// </summary>
- //[Required]
- //[Description("效率计算类型 1-节拍时间;2-UPH")]
- //public int? type { get; set; }
- /// <summary>
- /// UPH
- /// </summary>
- [Precision(23, 10)]
- [Comment("UPH")]
- public decimal? uph { get; set; }
- /// <summary>
- /// 节拍时间
- /// </summary>
- [Precision(23, 10)]
- [Comment("节拍时间")]
- public decimal? ct { get; set; }
- /// <summary>
- /// 效率系数
- /// </summary>
- [Precision(10, 4)]
- [Comment("效率系数")]
- public decimal? effect_ratio { get; set; }
- /// <summary>
- /// 是否需要跟踪工序
- /// </summary>
- [Comment("是否需要跟踪工序")]
- public int? mototrack { get; set; }
- /// <summary>
- /// 下一工序id
- /// </summary>
- [Comment("下一工序id")]
- public long? nextprocid { get; set; }
- /// <summary>
- /// 父级工序id
- /// </summary>
- [Comment("父级工序id")]
- public long? parentprocid { get; set; }
- /// <summary>
- /// 是否需要质检
- /// </summary>
- [Comment("是否需要质检")]
- public int? needqc { get; set; }
- /// <summary>
- /// 最大并行工位数
- /// </summary>
- [Comment("最大并行工位数")]
- public int? maxworkshop { get; set; }
- }
- }
|