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

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

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

@Schema(description = "078 接口请求参数列表对象")
@Data
public class ItemList078 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 = "批次")
    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 = "目标工厂编码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String move_plant;

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

    @Schema(description = "采购订单号(WERKS_001指定的工厂内移库时必填)", requiredMode = Schema.RequiredMode.REQUIRED)
    private String po_number;

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

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

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

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