295 lines
8.5 KiB
C#
295 lines
8.5 KiB
C#
using System;
|
||
using System.Linq;
|
||
using System.Text;
|
||
using JNPF.Common.Security;
|
||
using SqlSugar;
|
||
|
||
namespace Tnb.ProductionMgr.Entities
|
||
{
|
||
///<summary>
|
||
///上料历史记录
|
||
///</summary>
|
||
[SugarTable("prd_onwipmaterial")]
|
||
public partial class PrdOnwipmaterial
|
||
{
|
||
public PrdOnwipmaterial(){
|
||
|
||
|
||
}
|
||
/// <summary>
|
||
/// Desc:编号
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
[SugarColumn(IsPrimaryKey=true)]
|
||
public string id {get;set;} = SnowflakeIdHelper.NextId();
|
||
|
||
/// <summary>
|
||
/// Desc:租户ID
|
||
/// Default:NULL::character varying
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string? tenant_id {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:所属组织
|
||
/// Default:NULL::character varying
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string? org_id {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:产品序列号
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string r_card {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:产品序列号过站次序
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public int r_card_seq {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:工单代码
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string mo_code {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:物料上料次序
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public int material_seq {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:最小包装号或半成品的产品序列号
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string material_card {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:产品类型代码
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string category_code {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:产品代码
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string item_code {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:物料代码
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string material_code {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:物料类型
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public int material_type {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:数量
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public decimal qty {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:供应商代码
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string vendor_code {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:供应商LOT号
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string vendor_lot {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:生产日期(入库日期)
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public int date_code {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:班制代码
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string shift_type_code {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:班次代码
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string shift_code {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:时段代码
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string tp_code {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:工作天
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public int shift_day {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:工艺路线代码
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string route_code {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:工艺路线版本
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string route_version {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:工序代码
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string process_code {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:工厂代码
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string factory_code {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:工段代码
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string segment_code {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:产线代码
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string production_line_code {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:岗位代码
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string station_code {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:事件类型:1:上料, 2:拆解
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string action_type {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:拆解人姓名
|
||
/// Default:NULL::character varying
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string? drop_user_name {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:拆解人员ID
|
||
/// Default:NULL::character varying
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string? drop_user_id {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:拆解时间
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public DateTime? drop_time {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:拆解岗位
|
||
/// Default:NULL::character varying
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string? drop_station {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:拆解工序
|
||
/// Default:NULL::character varying
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string? drop_process_code {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:时间戳
|
||
/// Default:NULL::character varying
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string? time_stamp {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:扩展字段
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string? extras {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:创建用户
|
||
/// Default:NULL::character varying
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string? create_id {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:创建时间
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public DateTime? create_time {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:修改用户
|
||
/// Default:NULL::character varying
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string? modify_id {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:修改时间
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public DateTime? modify_time {get;set;}
|
||
|
||
}
|
||
}
|