package com.zt.plat.module.erp.api.dto.dto072;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Schema(description = "072 接口请求参数列表对象")
@Data
public class ItemList072 implements Serializable {
    @Schema(description = "物料号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String material;

    @Schema(description = "工厂编码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String plant;

    @Schema(description = "仓库编码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String stge_loc;

    @Schema(description = "移动类型", requiredMode = Schema.RequiredMode.REQUIRED)
    private String move_type;

    @Schema(description = "特殊库存标识")
    private String spec_stock;

    @Schema(description = "批次")
    private String batch;

    @Schema(description = "数量(可以为负数)", requiredMode = Schema.RequiredMode.REQUIRED)
    private BigDecimal entry_qnt;

    @Schema(description = "计量单位(必须等于基本计量单位)", requiredMode = Schema.RequiredMode.REQUIRED)
    private String entry_uom;

    @Schema(description = "目的物料号")
    private String move_mat;

    @Schema(description = "目的工厂(移库时必填)", requiredMode = Schema.RequiredMode.REQUIRED)
    private String move_plant;

    @Schema(description = "目的仓库(移库时必填)", requiredMode = Schema.RequiredMode.REQUIRED)
    private String move_stloc;

    @Schema(description = "供应商编号(移动类型为541/542时必填)", requiredMode = Schema.RequiredMode.REQUIRED)
    private String vendor;

    @Schema(description = "采购订单号(采购订单收货时需要)", requiredMode = Schema.RequiredMode.REQUIRED)
    private String po_number;

    @Schema(description = "采购订单行号(采购订单收货时需要)", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer po_item;

    @Schema(description = "行项目文本(会拼接物料名称放入对应会计凭证的行项目文本)")
    private String item_text;

    @Schema(description = "资产卡片号")
    private String asset_no;

    @Schema(description = "资产子编号")
    private String sub_number;

    @Schema(description = "参考凭证的年度(冲回时使用)")
    private Integer ref_doc_yr;

    @Schema(description = "参考凭证编号(冲回时使用)")
    private String ref_doc;

    @Schema(description = "参考凭证项目(冲回时使用)")
    private Integer ref_doc_it;

}
