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

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

import java.math.BigDecimal;
import java.time.LocalDateTime;


@Schema(description = "管理后台 - 收发货单新增/修改 Request VO")
@Data
public class ErpBillMainSaveReqDTO {

    @Schema(description = "收货单号;自动生成")
    private String billNumber;

    @Schema(description = "过账日期")
    private LocalDateTime postingDate;

    @Schema(description = "实物物料编码")
    private String materialCoding;

    @Schema(description = "工厂编码")
    private String factoryNumber;

    @Schema(description = "库位编码")
    private String warehouseNumber;

    @Schema(description = "实物收发货数量")
    private BigDecimal materialQuantity;

    @Schema(description = "实物计量单位")
    private String materialUom;

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

    @Schema(description = "订单号")
    private String orderNo;

    @Schema(description = "采购订单行号")
    private String poItem;

    @Schema(description = "客商编号")
    private String customerNumber;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "用户id")
    private String creatorId;

    @Schema(description = "用户名称")
    private String creatorName;

}
