Files
tnb.server/BasicData/Tnb.BasicData.Entities/Entity/BasPbomD.cs
2023-05-17 13:58:01 +08:00

141 lines
3.9 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Linq;
using System.Text;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.BasicData.Entities
{
///<summary>
///工序BOM明细
///</summary>
[SugarTable("bas_pbom_d")]
public partial class BasPbomD
{
public BasPbomD(){
}
/// <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:标准BOM主档IDBAS_PROCESS_BOM_H.ID
/// Default:
/// Nullable:False
/// </summary>
public string pbom_id {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 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;}
}
}