using System; using System.Collections.Generic; using System.Linq; using SqlSugar; using Tnb.Common.Contracts; namespace Tnb.ProductionMgr.Entitys.Entity { /// /// 模具信息表 /// [SugarTable("tool_molds")] public class MoldsEntity : BaseEntity { ///// ///// 主键 ///// // [SugarColumn(ColumnName="id" ,IsPrimaryKey = true )] // public string Id { get; set; } /// /// 磨具编号 /// 默认值: NULL::character varying /// [SugarColumn(ColumnName = "mold_code")] public string MoldCode { get; set; } /// /// 磨具名称 /// 默认值: NULL::character varying /// [SugarColumn(ColumnName = "mold_name")] public string MoldName { get; set; } /// /// 产品代码 /// 默认值: NULL::character varying /// [SugarColumn(ColumnName = "item_id")] public string ItemId { get; set; } /// /// 设备Id /// 默认值: NULL::character varying /// [SugarColumn(ColumnName = "eqp_id")] public string EqpId { get; set; } /// /// 设备代码 /// 默认值: NULL::character varying /// [SugarColumn(ColumnName = "eqp_code")] public string EqpCode { get; set; } /// /// 生产模数 /// [SugarColumn(ColumnName = "production_modulus")] public int? ProductionModulus { get; set; } /// /// 保养模次 /// [SugarColumn(ColumnName = "maintain_num")] public int? MaintainNum { get; set; } /// /// 磨具使用状态 /// 默认值: NULL::character varying /// [SugarColumn(ColumnName = "mold_status")] public string MoldStatus { get; set; } /// /// 日定额 /// [SugarColumn(ColumnName = "daily_rate")] public decimal? DailyRate { get; set; } /// /// 工时定额(H/PCS) /// [SugarColumn(ColumnName = "hour_norm")] public decimal? HourNorm { get; set; } /// /// 成长周期 /// [SugarColumn(ColumnName = "growth_cycle")] public int? GrowthCycle { get; set; } /// /// 型腔数 /// [SugarColumn(ColumnName = "cavity_num")] public int? CavityNum { get; set; } /// /// 模具寿命 /// [SugarColumn(ColumnName = "mold_life")] public int? MoldLife { get; set; } /// /// 模具剩余寿命 /// 默认值: NULL::character varying /// [SugarColumn(ColumnName = "mold_remaining_life")] public string MoldRemainingLife { get; set; } /// /// 库房编号 /// 默认值: NULL::character varying /// [SugarColumn(ColumnName = "warehosue_id")] public string WarehosueId { get; set; } /// /// 库位编号 /// 默认值: NULL::character varying /// [SugarColumn(ColumnName = "location_id")] public string LocationId { get; set; } /// /// 备注 /// [SugarColumn(ColumnName = "remark")] public string Remark { get; set; } /// /// 创建用户 /// 默认值: NULL::character varying /// [SugarColumn(ColumnName = "create_id")] public string CreateId { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "create_time")] public DateTime? CreateTime { get; set; } /// /// 修改用户 /// 默认值: NULL::character varying /// [SugarColumn(ColumnName = "modify_id")] public string ModifyId { get; set; } /// /// 修改时间 /// [SugarColumn(ColumnName = "modify_time")] public DateTime? ModifyTime { get; set; } /// /// 扩展字段 /// [SugarColumn(ColumnName = "extras")] public string Extras { get; set; } } }