using SqlSugar;
namespace MES.Service.Modes.FBSDB;
///
/// 调拨申请单
///
[SugarTable("MES_INV_ITEM_MOVES")]
public class MesInvItemMoves
{
///
/// ID
///
[SugarColumn(ColumnName = "ID", OracleSequenceName = "SEQ_MOVE_ID", IsPrimaryKey = true)]
public decimal Id { get; set; }
///
/// 移库单号
///
[SugarColumn(ColumnName = "BILL_NO")]
public string? BillNo { 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; }
///
/// 审核状态
///
[SugarColumn(ColumnName = "STATUS")]
public decimal? Status { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "REMARK")]
public string? Remark { get; set; }
///
/// 单据类型ID
///
[SugarColumn(ColumnName = "BILL_TYPE_ID")]
public decimal? BillTypeId { get; set; }
///
/// 事务类型编码
///
[SugarColumn(ColumnName = "TRANSACTION_NO")]
public decimal? TransactionNo { get; set; }
///
/// 审核人
///
[SugarColumn(ColumnName = "CHECKUSER")]
public string? CheckUser { get; set; }
///
/// 审核时间
///
[SugarColumn(ColumnName = "CHECKDATE")]
public DateTime? CheckDate { get; set; }
///
/// 已回写SAP
///
[SugarColumn(ColumnName = "SAPSTATUS")]
public decimal? SapStatus { get; set; }
///
/// 工厂
///
[SugarColumn(ColumnName = "FACTORY")]
public string? Factory { get; set; }
///
/// 公司
///
[SugarColumn(ColumnName = "COMPANY")]
public string? Company { get; set; }
///
/// 是否推送ERP
///
[SugarColumn(ColumnName = "TS")]
public decimal? Ts { get; set; }
///
/// 0未调拨1调出2调入
///
[SugarColumn(ColumnName = "DB_STATUS")]
public string? DbStatus { get; set; }
///
/// 状态
///
[SugarColumn(ColumnName = "MSG")]
public string? Msg { get; set; }
///
/// 状态
///
[SugarColumn(ColumnName = "STATES")]
public string? States { get; set; }
///
/// 来源单据
///
[SugarColumn(ColumnName = "SOURCE_NO")]
public string? SourceNo { get; set; }
///
/// erp头id
///
[SugarColumn(ColumnName = "ERPID")]
public decimal? Erpid { get; set; }
///
/// 单据类型
///
[SugarColumn(ColumnName = "FBILLTYPEID")]
public string? FBillTypeId { get; set; }
///
/// 单据状态
///
[SugarColumn(ColumnName = "FDOCUMENTSTATUS")]
public string? FDocumentStatus { get; set; }
///
/// 调拨方向
///
[SugarColumn(ColumnName = "FTRANSFERDIRECT")]
public string? FTransferDirect { get; set; }
///
/// 调拨类型
///
[SugarColumn(ColumnName = "FTRANSTYPE")]
public string? FTransType { get; set; }
///
/// 业务类型
///
[SugarColumn(ColumnName = "FBUSINESSTYPE")]
public string? FBusinessType { get; set; }
///
/// 调出货主类型
///
[SugarColumn(ColumnName = "FOWNERTYPEIDHEAD")]
public string? FOwnerTypeIdHead { get; set; }
///
/// 调入货主类型
///
[SugarColumn(ColumnName = "FOWNERTYPEINIDHEAD")]
public string? FOwnerTypeInIdHead { get; set; }
///
/// 申请组织
///
[SugarColumn(ColumnName = "FAPPORGID")]
public decimal? FAppOrgId { get; set; }
[SugarColumn(IsIgnore = true)] public string? Type { get; set; }
}