using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace ZR.Model.mes.pro
{
///
/// 生产报工
///
[SugarTable("pro_feedback")]
public class ProFeedback
{
///
/// 主键
///
[SugarColumn(ColumnName="record_id" ,IsPrimaryKey = true )]
public int RecordId { get; set; }
///
/// 报工类型(统一报工,自行报工)
///
[SugarColumn(ColumnName="feedback_type" )]
public string FeedbackType { get; set; }
///
/// 报工单编号
///
[SugarColumn(ColumnName="feedback_code" )]
public string FeedbackCode { get; set; }
///
/// 工单id
///
[SugarColumn(ColumnName="workorder_id" )]
public int? WorkorderId { get; set; }
///
/// 工单code
///
[SugarColumn(ColumnName="workorder_code" )]
public string WorkorderCode { get; set; }
///
/// 工单name
///
[SugarColumn(ColumnName="workorder_name" )]
public string WorkorderName { get; set; }
///
/// 工序id
///
[SugarColumn(ColumnName="process_id" )]
public int? ProcessId { get; set; }
///
/// 工序code
///
[SugarColumn(ColumnName="process_code" )]
public string ProcessCode { get; set; }
///
/// 工序name
///
[SugarColumn(ColumnName="process_name" )]
public string ProcessName { get; set; }
///
/// 工作站id
///
[SugarColumn(ColumnName="workstation_id" )]
public int? WorkstationId { get; set; }
///
/// 工作站code
///
[SugarColumn(ColumnName="workstation_code" )]
public string WorkstationCode { get; set; }
///
/// 工作站name
///
[SugarColumn(ColumnName="workstation_name" )]
public string WorkstationName { get; set; }
///
/// 生产任务ID
///
[SugarColumn(ColumnName="task_id" )]
public string TaskId { get; set; }
///
/// 生产任务code
///
[SugarColumn(ColumnName="task_code" )]
public string TaskCode { get; set; }
///
/// 产品物料ID
///
[SugarColumn(ColumnName="item_id" )]
public string ItemId { get; set; }
///
/// 产品物料code
///
[SugarColumn(ColumnName="item_code" )]
public string ItemCode { get; set; }
///
/// 产品物料name
///
[SugarColumn(ColumnName="item_name" )]
public string ItemName { get; set; }
///
/// 单位
///
[SugarColumn(ColumnName="unit" )]
public string Unit { get; set; }
///
/// 排产数量
///
[SugarColumn(ColumnName="quantity" )]
public string Quantity { get; set; }
///
/// 本次报工数量
///
[SugarColumn(ColumnName="quantity_feedback" )]
public string QuantityFeedback { get; set; }
///
/// 合格数量
///
[SugarColumn(ColumnName="quantity_qualified" )]
public string QuantityQualified { get; set; }
///
/// 不合格数量
///
[SugarColumn(ColumnName="quantity_unquanlified" )]
public string QuantityUnquanlified { get; set; }
///
/// 报工人姓名
///
[SugarColumn(ColumnName="user_name" )]
public string UserName { get; set; }
///
/// 昵称
///
[SugarColumn(ColumnName="nick_name" )]
public string NickName { get; set; }
///
/// 报工途径
///
[SugarColumn(ColumnName="feedback_channel" )]
public string FeedbackChannel { get; set; }
///
/// 报工时间
///
[SugarColumn(ColumnName="feedback_time" )]
public string FeedbackTime { get; set; }
///
/// 记录人名称
///
[SugarColumn(ColumnName="record_user" )]
public string RecordUser { get; set; }
///
/// 昵称
///
[SugarColumn(ColumnName="record_nick" )]
public string RecordNick { get; set; }
///
/// 状态
///
[SugarColumn(ColumnName="status" )]
public string Status { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName="remark" )]
public string Remark { get; set; }
///
/// 预留字段1
///
[SugarColumn(ColumnName="attr1" )]
public string Attr1 { get; set; }
///
/// 预留字段2
///
[SugarColumn(ColumnName="attr2" )]
public string Attr2 { get; set; }
///
/// 预留字段3
///
[SugarColumn(ColumnName="attr3" )]
public string Attr3 { get; set; }
///
/// 预留字段4
///
[SugarColumn(ColumnName="attr4" )]
public string Attr4 { get; set; }
///
/// 租户号
///
[SugarColumn(ColumnName="TENANT_ID" )]
public string TenantId { get; set; }
///
/// 乐观锁
///
[SugarColumn(ColumnName="REVISION" )]
public int? Revision { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName="CREATED_BY" )]
public string CreatedBy { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName="CREATED_TIME" )]
public DateTime? CreatedTime { get; set; }
///
/// 更新人
///
[SugarColumn(ColumnName="UPDATED_BY" )]
public string UpdatedBy { get; set; }
///
/// 更新时间
///
[SugarColumn(ColumnName="UPDATED_TIME" )]
public DateTime? UpdatedTime { get; set; }
}
}