重新生成实体类
This commit is contained in:
@@ -1,161 +1,112 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Contracts;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.ProductionMgr.Entities
|
||||
namespace Tnb.ProductionMgr.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// 维修不良原因和不良组件之间的关系
|
||||
/// </summary>
|
||||
[SugarTable("prd_repair_errorcause_com")]
|
||||
public partial class PrdRepairErrorcauseCom : BaseEntity<string>
|
||||
{
|
||||
///<summary>
|
||||
///维修不良原因和不良组件之间的关系
|
||||
///</summary>
|
||||
[SugarTable("prd_repair_errorcause_com")]
|
||||
public partial class PrdRepairErrorcauseCom
|
||||
public PrdRepairErrorcauseCom()
|
||||
{
|
||||
public PrdRepairErrorcauseCom(){
|
||||
|
||||
|
||||
}
|
||||
/// <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:GUID
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string repair_id {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:不良代码组
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string error_group_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:不良代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string error_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:不良原因组代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string error_cause_group_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:不良原因代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string error_cause_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:不良组件名称
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string component_name {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:产品代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string r_card {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 mo_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:维修资源代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string r_station_code {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:维修工序代码
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string r_process_code {get;set;} = string.Empty;
|
||||
|
||||
/// <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;}
|
||||
|
||||
id = SnowflakeIdHelper.NextId();
|
||||
}
|
||||
/// <summary>
|
||||
/// 租户ID
|
||||
/// </summary>
|
||||
public string? tenant_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 所属组织
|
||||
/// </summary>
|
||||
public string? org_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// GUID
|
||||
/// </summary>
|
||||
public string repair_id { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 不良代码组
|
||||
/// </summary>
|
||||
public string error_group_code { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 不良代码
|
||||
/// </summary>
|
||||
public string error_code { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 不良原因组代码
|
||||
/// </summary>
|
||||
public string error_cause_group_code { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 不良原因代码
|
||||
/// </summary>
|
||||
public string error_cause_code { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 不良组件名称
|
||||
/// </summary>
|
||||
public string component_name { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 产品代码
|
||||
/// </summary>
|
||||
public string r_card { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 产品类型代码
|
||||
/// </summary>
|
||||
public string category_code { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 产品代码
|
||||
/// </summary>
|
||||
public string item_code { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 工单代码
|
||||
/// </summary>
|
||||
public string mo_code { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 维修资源代码
|
||||
/// </summary>
|
||||
public string r_station_code { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 维修工序代码
|
||||
/// </summary>
|
||||
public string r_process_code { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 时间戳
|
||||
/// </summary>
|
||||
public string? time_stamp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建用户
|
||||
/// </summary>
|
||||
public string? create_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public DateTime? create_time { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改用户
|
||||
/// </summary>
|
||||
public string? modify_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改时间
|
||||
/// </summary>
|
||||
public DateTime? modify_time { get; set; }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user