281 lines
8.3 KiB
C#
281 lines
8.3 KiB
C#
using System;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using JNPF.Common.Security;
|
|
using SqlSugar;
|
|
|
|
namespace Tnb.ProductionMgr.Entities
|
|
{
|
|
///<summary>
|
|
///批次维修主资料
|
|
///</summary>
|
|
[SugarTable("prd_lot_repair")]
|
|
public partial class PrdLotRepair
|
|
{
|
|
public PrdLotRepair(){
|
|
|
|
|
|
}
|
|
/// <summary>
|
|
/// Desc:编号
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey=true)]
|
|
public string id {get;set;} = SnowflakeIdHelper.NextId();
|
|
|
|
/// <summary>
|
|
/// Desc:租户ID
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? tenant_id {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:所属组织
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? org_id {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:批次号
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string lot_no {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:工单代码
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string mo_code {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:产品代码
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string item_code {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:送修工艺路线代码
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string from_route_code {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:送修工艺路线版本
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string from_route_version {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:送修工序代码
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string from_process_code {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:送修工段代码
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? from_segment_code {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:送修产线代码
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? from_production_line_code {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:送修工位代码
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string from_station_code {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:送修年份
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public int from_year {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:送修月份
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public int from_month {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:送修周别
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public int from_week {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:班制代码
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string shift_type_code {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:班次代码
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string shift_code {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:时段代码
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? tp_code {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:工厂日
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public int shift_day {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:送修人名称
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string from_user_name {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:送修备注
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? from_memo {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:送修时间
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public DateTime from_time {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:维修来源类型
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string from_input_type {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:维修状态 New, (产线发现不良) Repair, (维修中) Complete, (维修完成)
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string repair_status {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:维修完成人ID
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? repaired_user_id {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:维修完成人员姓名
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? reparied_user_name {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:维修完成时间
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public DateTime? repaired_time {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc: 维修完成工序代码
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? reparied_station_code {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:维系完成回流批次号
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? repaired_reflow_lot_no {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:备注
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? remark {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:处理状态: UNHANDLE-待处理 HANDLE-已处理
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string handle_type {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:时间戳
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? timestamp {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:创建用户
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? create_id {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:创建时间
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public DateTime? create_time {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:修改用户
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? modify_id {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:修改时间
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public DateTime? modify_time {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:扩展字段
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? extras {get;set;}
|
|
|
|
}
|
|
}
|