重新生成Entity文件
This commit is contained in:
413
ProductionMgr/Tnb.ProductionMgr.Entities/Entity/PrdRepair.cs
Normal file
413
ProductionMgr/Tnb.ProductionMgr.Entities/Entity/PrdRepair.cs
Normal file
@@ -0,0 +1,413 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.ProductionMgr.Entities
|
||||
{
|
||||
///<summary>
|
||||
///维修主资料
|
||||
///</summary>
|
||||
[SugarTable("prd_repair")]
|
||||
public partial class PrdRepair
|
||||
{
|
||||
public PrdRepair(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:编号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public string id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:所属组织
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? org_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:产品序列号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string r_card {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:产品序列号过站次序
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int r_card_seq {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:转换前的产品序列号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string source_card {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:转换前的产品序列号流水号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int source_card_seq {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:Card类型: cardtype_product: 成品, cardtype_part: 物料
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string card_type {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 category_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:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string from_segment_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:送修产线代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string from_product_linecode {get;set;} = string.Empty;
|
||||
|
||||
/// <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:False
|
||||
/// </summary>
|
||||
public string tp_code {get;set;} = string.Empty;
|
||||
|
||||
/// <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:维修来源类型 Onwip, Repair, RMA
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string from_input_type {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:NG次数
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public int ng_times {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:维修状态 New, (产线发现不良) Confirm, (送修完) Repair, (维修中) Complete, (维修完成) Reflow, (维修回流) Scrap, (报废) Repeatng, OffMO, (脱离工单) Split(拆解)
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string repair_status {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:维修完成人名称
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? repaired_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? repaired_demo {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:确认工位代码
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? confirm_station_code {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:确认产线代码
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? confirm_process_code {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:确认人员名称
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? confirm_user_name {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:确认时间
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public DateTime? confirm_time {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:回流工单代码
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? reflow_mo_code {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:回流途程代码
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? reflow_route_code {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:回流涂程版本
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? reflow_route_version {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:回流工序代码
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? reflow_process_code {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:回流岗位代码
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? reflow_station_code {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:维修岗位代码
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? repair_station_code {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:报废原因
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? scrap_cause {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:送修线外工序
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? from_out_route_code {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:维修类型 Normal: 普通, Misjudge: 误判
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? repair_type {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:RMA单号
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? rma_bill_code {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:维修人员ID
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? repair_user_id {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:维修人员姓名
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? repair_user_name {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:维修时间
|
||||
/// Default:
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public DateTime? repair_time {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:备注
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? remark {get;set;}
|
||||
|
||||
/// <summary>
|
||||
/// Desc:时间戳
|
||||
/// Default:NULL::character varying
|
||||
/// Nullable:True
|
||||
/// </summary>
|
||||
public string? time_stamp {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;}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user