239 lines
6.9 KiB
C#
239 lines
6.9 KiB
C#
using System;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using JNPF.Common.Security;
|
|
using SqlSugar;
|
|
|
|
namespace Tnb.ProductionMgr.Entities
|
|
{
|
|
///<summary>
|
|
///序列号转换历史记录
|
|
///</summary>
|
|
[SugarTable("prd_onwip_rcardtrans")]
|
|
public partial class PrdOnwipRcardtrans
|
|
{
|
|
public PrdOnwipRcardtrans(){
|
|
|
|
|
|
}
|
|
/// <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 t_card {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:转换前的产品序列号流水号
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public int t_card_seq {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:最初的产品序列号
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string source_card {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:最初的产品序列号流水号
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public int source_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 string item_code {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 decimal relation_qty {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 segment_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 production_line_code {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:岗位代码
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string station_code {get;set;} = string.Empty;
|
|
|
|
/// <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:序列号转换类型 IdMerge: 序列号转换, Router: 分板, Replace:序列号替换
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public int id_merge_type {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:备注
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? remark {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;}
|
|
|
|
}
|
|
}
|