package com.zt.plat.module.contractorder.api.dto.order;
import com.zt.plat.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

@Data
@Schema(description = "订单和计划数据请求DTO")
@Validated
public class OrderAndPlanDataReqDTO extends PageParam {
    //合同编号
    @Schema(description = "合同编号")
    private String contractSystemNumber;
    //纸质合同编号
    @Schema(description = "纸质合同编号")
    private String paperContractNumber;
    //订单号
    @Schema(description = "订单号")
    private String orderNumber;
    //订单分类
    @Schema(description = "订单分类")
    //@NotEmpty(message = "订单分类不能为空")
    private String orderType;
    //物料编码
    @Schema(description = "物料编码")
    private String materialNumber;
    //物料名称
    @Schema(description = "物料名称")
    private String materialName;
    //客商编码
    @Schema(description = "客商编码")
    private String customerNumber;
    //客商名称
    @Schema(description = "客商名称")
    private String customerName;
    //计划编号
    @Schema(description = "计划编号")
    @NotEmpty(message = "计划Id不能为空")
    private String planId;
}
