package com.fizz.business.form;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 状态变更form
 *
 * @author chenhao
 * @date 2023/04/27
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class OperateMatForm implements Serializable {

    @Schema(description = "开卷机编号")
    private Integer porIdx;

    @Schema(description = "卷取机编号")
    private Integer trIdx;

    @NotNull(message = "计划id不能为空")
    @Schema(description = "计划id")
    private String planId;

    @NotBlank(message = "钢卷号不能为空")
    @Schema(description = "钢卷号")
    private String entryMatId;

    @Schema(description = "计划号")
    private String planNo;
}
