package com.rongwei.bsentity.vo;

import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.Future;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * ChangingWiresVo class
 *
 * @author XH
 * @date 2024/04/26
 */
@Data
@Validated
public class ChangingWiresVo {
    /**
     * 工序作业明细ID
     */
    @NotBlank(message = "工序作业必填")
    private String id;
    /**
     * 设备ID
     */
    @NotBlank(message = "设备必填")
    private String equId;
    /**
     * 设备名称
     */
    @NotBlank(message = "设备必填")
    private String equName;
    /**
     * 车间ID
     */
    @NotBlank(message = "车间必填")
    private String workshopId;
    /**
     * 车间名称
     */
    @NotBlank(message = "车间必填")
    private String workshopName;
    /**
     * 加工时间必填
     */
    @NotNull(message = "加工时间必填")
    @Future(message = "加工时间必须大于当前时间")
    private Date processingTime;
}
