using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.ProductionMgr.Entities;
///
/// 批次报工记录表
///
[SugarTable("prd_lot_feedback_record")]
public partial class PrdLotFeedbackRecord : BaseEntity
{
public PrdLotFeedbackRecord()
{
id = SnowflakeIdHelper.NextId();
}
///
/// 租户ID
///
public string? tenant_id { get; set; }
///
/// 所属组织
///
public string? org_id { get; set; }
///
/// 序列号
///
public int seq { get; set; }
///
/// 批次号
///
public string lot_no { get; set; } = string.Empty;
///
/// 工单代码
///
public string? mo_code { get; set; }
///
/// 项目代码
///
public string item_code { get; set; } = string.Empty;
///
/// 工艺路线代码
///
public string route_code { get; set; } = string.Empty;
///
/// 工艺路线版本
///
public string route_version { get; set; } = string.Empty;
///
/// 工序代码
///
public string process_code { get; set; } = string.Empty;
///
/// 工位代码
///
public string station_code { get; set; } = string.Empty;
///
/// 合格数量
///
public decimal? qualifity_qty { get; set; }
///
/// 不合格数量
///
public decimal? un_qualifity_qty { get; set; }
///
/// 废弃料
///
public decimal? scrap_qty { get; set; }
///
/// 人时报工(分钟)
///
public decimal? man_time { get; set; }
///
/// 机时报工(分钟)
///
public decimal? machine_time { get; set; }
///
/// 报工人员ID
///
public string? feedback_user_id { get; set; }
///
/// 报工人员名称
///
public string? feedback_user_name { get; set; }
///
/// 报工时间
///
public DateTime? feedback_time { get; set; }
///
/// 员工表
///
public string? staffs { 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; }
}