232 lines
6.6 KiB
C#
232 lines
6.6 KiB
C#
using System;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using JNPF.Common.Security;
|
|
using SqlSugar;
|
|
|
|
namespace Tnb.WarehouseMgr.Entities
|
|
{
|
|
///<summary>
|
|
///齐套分拣主表
|
|
///</summary>
|
|
[SugarTable("wms_setsorting_h")]
|
|
public partial class WmsSetsortingH
|
|
{
|
|
public WmsSetsortingH(){
|
|
|
|
|
|
}
|
|
/// <summary>
|
|
/// Desc:Id
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey=true)]
|
|
public string id {get;set;} = SnowflakeIdHelper.NextId();
|
|
|
|
/// <summary>
|
|
/// Desc:租户ID
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string tenant_id {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:所属组织ID
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string org_id {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:齐套分拣单号
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string bill_code {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:分拣单创建日期
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public DateTime bill_date {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:单据类型
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string bill_type {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:单据状态
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string status {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:业务类型
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string biz_type {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:发料仓库ID
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string warehouse_id {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:库位ID
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? location_id {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:齐套出库ID
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string kittingout_id {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:产品ID
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? material_id {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:产品编号
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? material_code {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:齐套搭配方案ID
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? collocation_scheme_id {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:齐套搭配方案编号
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string collocation_scheme_code {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:来源单据ID
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? source_id {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:来源单单据类型
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public int? source_type {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:来源单据行号
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public int? source_line {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:来源单据明细ID
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? source_detail_id {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:生产工单号
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? mo_code {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:生产工单BOM明细Id
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? mo_bom_detail_id {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:生产工单行号
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public int? mo_line {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:顺序号
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public int order {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:备注
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? remark {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:扩展字段
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? extras {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:时间戳
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? time_stamp {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:创建用户
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string create_id {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:创建时间
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public DateTime create_time {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:修改用户
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string modify_id {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:修改时间
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public DateTime modify_time {get;set;}
|
|
|
|
}
|
|
}
|