190 lines
5.5 KiB
C#
190 lines
5.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_station_prepare_material")]
|
||
public partial class PrdStationPrepareMaterial
|
||
{
|
||
public PrdStationPrepareMaterial(){
|
||
|
||
|
||
}
|
||
/// <summary>
|
||
/// Desc:编号
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
[SugarColumn(IsPrimaryKey=true)]
|
||
public string id {get;set;} = SnowflakeIdHelper.NextId();
|
||
|
||
/// <summary>
|
||
/// Desc:所属组织
|
||
/// Default:NULL::character varying
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string? org_id {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:物料备料顺序(按单个物料进行排序)
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public int seq {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:工序BOM物料代码(主料)
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string bom_material_code {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:备料物料代码(主料或替代料)
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string prepare_material_code {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:工单代码
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string mo_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 string item_code {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:工序BOM版本
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string process_bom_version {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:岗位代码
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string station_code {get;set;} = string.Empty;
|
||
|
||
/// <summary>
|
||
/// Desc:最小包装号或半成品的产品序列号,INV_BARCODE.BARCODE
|
||
/// Default:
|
||
/// Nullable:False
|
||
/// </summary>
|
||
public string material_card {get;set;} = string.Empty;
|
||
|
||
/// <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 DateTime date_code {get;set;}
|
||
|
||
/// <summary>
|
||
/// Desc:时间戳
|
||
/// Default:NULL::character varying
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string? time_stamp {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;}
|
||
|
||
/// <summary>
|
||
/// Desc:扩展字段
|
||
/// Default:
|
||
/// Nullable:True
|
||
/// </summary>
|
||
public string? extras {get;set;}
|
||
|
||
}
|
||
}
|