using SqlSugar;
namespace NewPdaSqlServer.entity;
///
///
[SugarTable("MES_INV_ITEM_MOVES")]
public class MesInvItemMoves
{
///
/// 默认值: (newid())
///
[SugarColumn(ColumnName = "guid", IsPrimaryKey = true)]
public Guid Guid { get; set; }
///
/// 移库单号
///
[SugarColumn(ColumnName = "bill_no")]
public string? BillNo { get; set; }
///
/// 移入子库id
///
[SugarColumn(ColumnName = "inv_depots_id")]
public int? InvDepotsId { get; set; }
///
/// 移入货位id
///
[SugarColumn(ColumnName = "inv_depot_sections_id")]
public int? InvDepotSectionsId { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName = "create_by")]
public string? CreateBy { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "create_date")]
public DateTime? CreateDate { get; set; }
///
/// 最后更新人
///
[SugarColumn(ColumnName = "lastupdate_by")]
public string? LastupdateBy { get; set; }
///
/// 最后更新时间
///
[SugarColumn(ColumnName = "lastupdate_date")]
public DateTime? LastupdateDate { get; set; }
///
/// 状态|0-制单1-过账
///
[SugarColumn(ColumnName = "status")]
public int? Status { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "remark")]
public string? Remark { get; set; }
///
/// 单据类型ID
///
[SugarColumn(ColumnName = "bill_type_id")]
public int? BillTypeId { get; set; }
///
/// 事务类型ID
///
[SugarColumn(ColumnName = "transaction_id")]
public int? TransactionId { get; set; }
///
/// 审核人
///
[SugarColumn(ColumnName = "checkuser")]
public string? Checkuser { get; set; }
///
/// 审核日期
///
[SugarColumn(ColumnName = "checkdate")]
public DateTime? Checkdate { get; set; }
///
/// 事务类型编码
///
[SugarColumn(ColumnName = "transaction_no")]
public int? TransactionNo { get; set; }
///
/// 移出子库id
///
[SugarColumn(ColumnName = "from_depots_id")]
public string? FromDepotsId { get; set; }
///
/// 工厂编码
///
[SugarColumn(ColumnName = "factory_code")]
public string? FactoryCode { get; set; }
///
/// SAP返回单据
///
[SugarColumn(ColumnName = "sapno")]
public string? Sapno { get; set; }
///
/// 已回写SAP
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "sapstatus")]
public int? Sapstatus { get; set; }
///
/// SAP返回年份
///
[SugarColumn(ColumnName = "sapyear")]
public int? Sapyear { get; set; }
///
/// SAP返回信息
///
[SugarColumn(ColumnName = "saptext")]
public string? Saptext { get; set; }
///
/// 分厂编码
///
[SugarColumn(ColumnName = "factory")]
public string? Factory { get; set; }
///
/// 公司代码
///
[SugarColumn(ColumnName = "company")]
public string? Company { get; set; }
///
/// 反审核事务类型编码
///
[SugarColumn(ColumnName = "mtransaction_no")]
public int? MtransactionNo { get; set; }
///
/// 自动保存字段
///
[SugarColumn(ColumnName = "zd_num")]
public int? ZdNum { get; set; }
///
/// 是否推送ERP1-是,2-否
///
[SugarColumn(ColumnName = "ts")]
public int? Ts { get; set; }
///
/// 调拨出库申请单
///
[SugarColumn(ColumnName = "TASK_NO")]
public string? TaskNo { get; set; }
}