using System; using System.Linq; using System.Text; using JNPF.Common.Security; using SqlSugar; namespace Tnb.ProductionMgr.Entities { /// ///批次维修主资料 /// [SugarTable("prd_lot_repair")] public partial class PrdLotRepair { public PrdLotRepair(){ } /// /// 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 from_route_code {get;set;} = string.Empty; /// /// Desc:送修工艺路线版本 /// Default: /// Nullable:False /// public string from_route_version {get;set;} = string.Empty; /// /// Desc:送修工序代码 /// Default: /// Nullable:False /// public string from_process_code {get;set;} = string.Empty; /// /// Desc:送修工段代码 /// Default:NULL::character varying /// Nullable:True /// public string? from_segment_code {get;set;} /// /// Desc:送修产线代码 /// Default:NULL::character varying /// Nullable:True /// public string? from_production_line_code {get;set;} /// /// Desc:送修工位代码 /// Default: /// Nullable:False /// public string from_station_code {get;set;} = string.Empty; /// /// Desc:送修年份 /// Default: /// Nullable:False /// public int from_year {get;set;} /// /// Desc:送修月份 /// Default: /// Nullable:False /// public int from_month {get;set;} /// /// Desc:送修周别 /// Default: /// Nullable:False /// public int from_week {get;set;} /// /// Desc:班制代码 /// Default: /// Nullable:False /// public string shift_type_code {get;set;} = string.Empty; /// /// Desc:班次代码 /// Default: /// Nullable:False /// public string shift_code {get;set;} = string.Empty; /// /// Desc:时段代码 /// Default: /// Nullable:True /// public string? tp_code {get;set;} /// /// Desc:工厂日 /// Default: /// Nullable:False /// public int shift_day {get;set;} /// /// Desc:送修人名称 /// Default: /// Nullable:False /// public string from_user_name {get;set;} = string.Empty; /// /// Desc:送修备注 /// Default:NULL::character varying /// Nullable:True /// public string? from_memo {get;set;} /// /// Desc:送修时间 /// Default: /// Nullable:False /// public DateTime from_time {get;set;} /// /// Desc:维修来源类型 /// Default: /// Nullable:False /// public string from_input_type {get;set;} = string.Empty; /// /// Desc:维修状态 New, (产线发现不良) Repair, (维修中) Complete, (维修完成) /// Default: /// Nullable:False /// public string repair_status {get;set;} = string.Empty; /// /// Desc:维修完成人ID /// Default:NULL::character varying /// Nullable:True /// public string? repaired_user_id {get;set;} /// /// Desc:维修完成人员姓名 /// Default:NULL::character varying /// Nullable:True /// public string? reparied_user_name {get;set;} /// /// Desc:维修完成时间 /// Default: /// Nullable:True /// public DateTime? repaired_time {get;set;} /// /// Desc: 维修完成工序代码 /// Default:NULL::character varying /// Nullable:True /// public string? reparied_station_code {get;set;} /// /// Desc:维系完成回流批次号 /// Default:NULL::character varying /// Nullable:True /// public string? repaired_reflow_lot_no {get;set;} /// /// Desc:备注 /// Default:NULL::character varying /// Nullable:True /// public string? remark {get;set;} /// /// Desc:处理状态: UNHANDLE-待处理 HANDLE-已处理 /// Default: /// Nullable:False /// public string handle_type {get;set;} = string.Empty; /// /// Desc:时间戳 /// Default:NULL::character varying /// Nullable:True /// public string? timestamp {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;} } }