package com.sunda.spmsoversea.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 海外仓-存货损益头表
 * </p>
 *
 * @author Hzc
 * @since 2024-05-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("OVERSEA_WHS_INVENTORY_LOSS")
@ApiModel(value="OverseaWhsInventoryLoss对象", description="海外仓-存货损益头表")
public class OverseaWhsInventoryLoss implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId("UUID")
    private String uuid;

    @ApiModelProperty(value = "SPMS单据号")
    @TableField("SPMS_ID")
    private String spmsId;

    @ApiModelProperty(value = "装箱单号")
    @TableField("SAP_PACKAGE_LIST")
    private String sapPackageList;

    @ApiModelProperty(value = "交货单号")
    @TableField("SAP_DELIVERY_NOTE")
    private String sapDeliveryNote;

    @ApiModelProperty(value = "工厂")
    @TableField("WERKS")
    private String werks;

    @ApiModelProperty(value = "仓库地点")
    @TableField("WHS_LOCATION_CODE")
    private String whsLocationCode;

    @ApiModelProperty(value = "单据状态：0关闭,1草稿,2待OA审批,3OA审批退回,4OA审批通过,5提交SAP成功,6提交SAP失败")
    @TableField("SPMS_STATUS")
    private String spmsStatus;

    @ApiModelProperty(value = "移动类型：Z15收货少收,Z16收货多收")
    @TableField("MOVEMENT_TYPE")
    private String movementType;

    @ApiModelProperty(value = "单据类型：1海运收货,2海外转储,3空运人带,4盘盈盘亏,5领用出库")
    @TableField("ORDER_TYPE")
    private String orderType;

    @ApiModelProperty(value = "OA流程单号")
    @TableField("OA_WORKFLOW")
    private String oaWorkflow;

    @ApiModelProperty(value = "OA编号")
    @TableField("OA_BIANHAO")
    private String oaBianhao;

    @ApiModelProperty(value = "成本中心")
    @TableField("COST_CENTER")
    private String costCenter;

    @ApiModelProperty(value = "SAP凭证号")
    @TableField("SAP_VOUCHER_NUMBER")
    private String sapVoucherNumber;

    @ApiModelProperty(value = "SAP凭证年份")
    @TableField("SAP_VOUCHER_YEAR")
    private String sapVoucherYear;

    @ApiModelProperty(value = "过账日期")
    @TableField("POSTING_DATE")
    private String postingDate;

    @ApiModelProperty(value = "撤销SAP凭证")
    @TableField("CANCEL_VOUCHER_NUMBER")
    private String cancelVoucherNumber;

    @ApiModelProperty(value = "撤销SAP凭证年份")
    @TableField("CANCEL_VOUCHER_YEAR")
    private String cancelVoucherYear;

    @ApiModelProperty(value = "撤销SAP过账日期")
    @TableField("CANCEL_POSTING_DATE")
    private String cancelPostingDate;

    @ApiModelProperty(value = "备注")
    @TableField("REMARK")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "创建人工号")
    @TableField("CREATE_USERID")
    private String createUserid;

    @ApiModelProperty(value = "更新人工号")
    @TableField("UPDATE_USERID")
    private String updateUserid;

    @ApiModelProperty(value = "关闭原因")
    @TableField("CANCEL_REASON")
    private String cancelReason;

    @ApiModelProperty(value = "金额")
    @TableField("DMBTR")
    private String dmbtr;

    @ApiModelProperty(value = "货币")
    @TableField("WAERS")
    private String waers;

    @ApiModelProperty(value = "提交OA日期")
    @TableField("SUBMIT_OA_DATE")
    private String submitOaDate;

    @ApiModelProperty(value = "OA审批通过日期")
    @TableField("OA_APPROVAL_DATE")
    private String oaApprovalDate;

    @ApiModelProperty(value = "数据版本号")
    @TableField("DATA_VERSION")
    private Integer dataVersion;

    @ApiModelProperty(value = "客户端")
    @TableField("MANDT")
    private String mandt;

    @ApiModelProperty(value = "对接OA的client")
    @TableField("OA_CLIENT")
    private String oaClient;


}
