197 lines
5.5 KiB
C#
197 lines
5.5 KiB
C#
using System;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using JNPF.Common.Security;
|
|
using SqlSugar;
|
|
|
|
namespace Tnb.WarehouseMgr.Entities
|
|
{
|
|
///<summary>
|
|
///入库申请主表
|
|
///</summary>
|
|
[SugarTable("wms_instock_h")]
|
|
public partial class WmsInstockH
|
|
{
|
|
public WmsInstockH(){
|
|
|
|
|
|
}
|
|
/// <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? supplier_id {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:供应商代码
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? supplier_code {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:供应商名称
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? supplier_name {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:生成类型
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string generate_type {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:同步状态
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string sync_status {get;set;} = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Desc:打印状态
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string print_status {get;set;} = string.Empty;
|
|
|
|
/// <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:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public DateTime 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: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:载具ID
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? carry_id {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:载具编号
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? carry_code {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:库位ID
|
|
/// Default:NULL::character varying
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string? location_id {get;set;}
|
|
|
|
}
|
|
}
|