using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.ProductionMgr.Entities;
///
/// 维修不良原因和不良组件之间的关系
///
[SugarTable("prd_repair_errorcause_com")]
public partial class PrdRepairErrorcauseCom : BaseEntity
{
public PrdRepairErrorcauseCom()
{
id = SnowflakeIdHelper.NextId();
}
///
/// 租户ID
///
public string? tenant_id { get; set; }
///
/// 所属组织
///
public string? org_id { get; set; }
///
/// GUID
///
public string repair_id { get; set; } = string.Empty;
///
/// 不良代码组
///
public string error_group_code { get; set; } = string.Empty;
///
/// 不良代码
///
public string error_code { get; set; } = string.Empty;
///
/// 不良原因组代码
///
public string error_cause_group_code { get; set; } = string.Empty;
///
/// 不良原因代码
///
public string error_cause_code { get; set; } = string.Empty;
///
/// 不良组件名称
///
public string component_name { get; set; } = string.Empty;
///
/// 产品代码
///
public string r_card { get; set; } = string.Empty;
///
/// 产品类型代码
///
public string category_code { get; set; } = string.Empty;
///
/// 产品代码
///
public string item_code { get; set; } = string.Empty;
///
/// 工单代码
///
public string mo_code { get; set; } = string.Empty;
///
/// 维修资源代码
///
public string r_station_code { get; set; } = string.Empty;
///
/// 维修工序代码
///
public string r_process_code { get; set; } = string.Empty;
///
/// 时间戳
///
public string? time_stamp { get; set; }
///
/// 创建用户
///
public string? create_id { get; set; }
///
/// 创建时间
///
public DateTime? create_time { get; set; }
///
/// 修改用户
///
public string? modify_id { get; set; }
///
/// 修改时间
///
public DateTime? modify_time { get; set; }
}