176 lines
4.9 KiB
C#
176 lines
4.9 KiB
C#
using System;
|
||
using System.Linq;
|
||
using System.Text;
|
||
using JNPF.Common.Security;
|
||
using SqlSugar;
|
||
|
||
namespace Tnb.BasicData.Entities
|
||
{
|
||
///<summary>
|
||
///工步BOM明细
|
||
///</summary>
|
||
[SugarTable("bas_step_bom")]
|
||
public partial class BasStepBom
|
||
{
|
||
public BasStepBom(){
|
||
|
||
|
||
}
|
||
/// <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 item_code {get;set;} = string.Empty;
|
||
|
||
/// <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:工序BOM版本
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string version {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:工步代码
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string step_code {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:物料顺序号
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public int sub_seq {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:物料代码
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string subm_code {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:物料单位
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string sub_unit {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:单件用量
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public decimal sub_qty {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:位号
|
||
/// Default:NULL::character varying
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string? sub_location {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:物料用途: 1:消耗的物料(主料) 2:消耗用辅料(辅料)
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public int usetype {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? timestamp {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:创建用户
|
||
/// Default:NULL::character varying
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string? create_id {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:创建时间
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </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;}
|
||
|
||
/// <summary>
|
||
/// Desc:扩展字段
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string? extras {get;set;}
|
||
|
||
}
|
||
}
|