using System; using System.Linq; using System.Text; using JNPF.Common.Security; using SqlSugar; namespace Tnb.ProductionMgr.Entities { /// ///批次操作记录信息 /// [SugarTable("prd_lot_operation")] public partial class PrdLotOperation { public PrdLotOperation(){ } /// /// Desc:编号 /// Default: /// Nullable:False /// [SugarColumn(IsPrimaryKey=true)] public string id {get;set;} = SnowflakeIdHelper.NextId(); /// /// Desc:租户ID /// Default:NULL::character varying /// Nullable:True /// public string? tenant_id {get;set;} /// /// Desc:所属组织 /// Default:NULL::character varying /// Nullable:True /// public string? org_id {get;set;} /// /// Desc:批次号 /// Default: /// Nullable:False /// public string lot_no {get;set;} = string.Empty; /// /// Desc:工单代码 /// Default: /// Nullable:False /// public string mo_code {get;set;} = string.Empty; /// /// Desc:产品代码 /// Default: /// Nullable:False /// public string item_code {get;set;} = string.Empty; /// /// Desc:工艺路线代码 /// Default: /// Nullable:False /// public string route_code {get;set;} = string.Empty; /// /// Desc:工艺路线版本 /// Default: /// Nullable:False /// public string route_version {get;set;} = string.Empty; /// /// Desc:工序代码 /// Default: /// Nullable:False /// public string process_code {get;set;} = string.Empty; /// /// Desc:工位代码 /// Default: /// Nullable:False /// public string station_code {get;set;} = string.Empty; /// /// Desc:开始时间 /// Default: /// Nullable:False /// public DateTime start_time {get;set;} /// /// Desc:结束时间 /// Default: /// Nullable:True /// public DateTime? end_time {get;set;} /// /// Desc:操作间隔时间(分钟数) /// Default: /// Nullable:True /// public DateTime? work_duration {get;set;} /// /// Desc:操作类型: START-开工 STOP-停工 RESUME-复工 FEEDBACK-报工 COMPLETE-完工 /// Default: /// Nullable:False /// public string operation_type {get;set;} = string.Empty; /// /// Desc:作业状态: NEW-未开工 WORK-作业中 STOP-停工 COMPLETE-完工 /// Default: /// Nullable:False /// public string status {get;set;} = string.Empty; /// /// Desc:开工进站数量 /// Default: /// Nullable:True /// public decimal? input_qty {get;set;} /// /// Desc:时间戳 /// Default:NULL::character varying /// Nullable:True /// public string? time_stamp {get;set;} /// /// Desc:创建用户 /// Default:NULL::character varying /// Nullable:True /// public string? create_id {get;set;} /// /// Desc:创建时间 /// Default: /// Nullable:True /// public DateTime? create_time {get;set;} /// /// Desc:修改用户 /// Default:NULL::character varying /// Nullable:True /// public string? modify_id {get;set;} /// /// Desc:修改时间 /// Default: /// Nullable:True /// public DateTime? modify_time {get;set;} /// /// Desc:扩展字段 /// Default: /// Nullable:True /// public string? extras {get;set;} } }