using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.ProductionMgr.Entities;
///
/// TODO
///
[SugarTable("prd_mo_task_defect")]
public partial class PrdMoTaskDefect : BaseEntity
{
public PrdMoTaskDefect()
{
id = SnowflakeIdHelper.NextId();
}
///
/// 任务单id
///
public string? mo_task_id { get; set; }
public string org_id { get; set; }
///
/// 物料id
///
public string material_id { get; set; }
///
/// 创建用户
///
public string? create_id { get; set; }
///
/// 创建时间
///
public DateTime create_time { get; set; }
///
/// 次品分类id
///
public string? defective_cagetory_id { get; set; }
///
/// 次品项
///
public string? defective_item { get; set; }
///
/// 次品项数量
///
public int? defective_item_qty { get; set; }
///
/// 批次
///
public string? batch { get; set; }
///
/// 报废数量
///
public int scrap_qty { get; set; }
public int mo_task_type { get; set; }
}