using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.ProductionMgr.Entities;
///
/// 维修不良原因
///
[SugarTable("prd_repair_errorcause")]
public partial class PrdRepairErrorcause : BaseEntity
{
public PrdRepairErrorcause()
{
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 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? solution_code { get; set; }
///
/// 责任类别代码
///
public string duty_code { get; set; } = string.Empty;
///
/// 解决方法
///
public string? solution_memo { get; set; }
///
/// 工作天
///
public int shift_day { get; set; }
///
/// 备注
///
public string? remark { get; set; }
///
/// 时间戳
///
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; }
///
/// 扩展字段
///
public string? extras { get; set; }
}