package com.cf.imes.module.executor.controller.admin.plan.vo;

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

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author Beal
 */
@Data
public class AddRemainReqVO {

    @Schema(description = "排单id")
    private Long planId;

    @NotNull(message = "宽 不能空")
    @Schema(description = "宽")
    private BigDecimal width;

    @NotNull(message = "长 不能空")
    @Schema(description = "长")
    private BigDecimal length;

    @NotNull(message = "数量 不能空")
    @Schema(description = "数量")
    private Integer count;

    @Schema(description = "商品id")
    private String goodsId;

    @Schema(description = "商品名称")
    private String goodsName;

    @Schema(description = "材料")
    private String material;

    @Schema(description = "颜色")
    private String color;

}
