using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.WarehouseMgr.Entities;
///
/// 入库申请主表
///
[SugarTable("wms_instock_h")]
public partial class WmsInstockH : BaseEntity
{
public WmsInstockH()
{
id = SnowflakeIdHelper.NextId();
}
///
/// 租户ID
///
public string tenant_id { get; set; } = string.Empty;
///
/// 所属组织ID
///
public string org_id { get; set; } = string.Empty;
///
/// 入库单号
///
public string bill_code { get; set; } = string.Empty;
///
/// 入库单创建日期
///
public DateTime bill_date { get; set; } = DateTime.Now;
///
/// 单据类型:
///
public string bill_type { get; set; } = string.Empty;
///
/// 单据状态
///
public string status { get; set; } = string.Empty;
///
/// 业务类型:
///
public string biz_type { get; set; } = string.Empty;
///
/// 入库仓库ID
///
public string warehouse_id { get; set; } = string.Empty;
///
/// 供应商ID
///
public string? supplier_id { get; set; }
///
/// 供应商代码
///
public string? supplier_code { get; set; }
///
/// 供应商名称
///
public string? supplier_name { get; set; }
///
/// 生成类型
///
public string generate_type { get; set; } = string.Empty;
///
/// 同步状态
///
public string sync_status { get; set; } = string.Empty;
///
/// 打印状态
///
public string print_status { get; set; } = string.Empty;
///
/// 备注
///
public string? remark { get; set; }
///
/// 扩展字段
///
public string? extras { get; set; }
///
/// 时间戳
///
public DateTime time_stamp { get; set; } = DateTime.Now;
///
/// 创建用户
///
public string create_id { get; set; } = string.Empty;
///
/// 创建时间
///
public DateTime create_time { get; set; } = DateTime.Now;
///
/// 修改用户
///
public string? modify_id { get; set; }
///
/// 修改时间
///
public DateTime? modify_time { get; set; }
///
/// 载具ID
///
public string? carry_id { get; set; }
///
/// 载具编号
///
public string? carry_code { get; set; }
///
/// 库位ID
///
public string? location_id { get; set; }
}