package com.njzscloud.dispose.mfg.craft.pojo.param;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.List;

@Getter
@Setter
@ToString
@Accessors(chain = true)
public class AddAllCraftWayParam {

    /**
     * 工艺 Id
     */
    @NotNull(message = "工艺不能为空")
    private Long craftId;
    /**
     * 工艺路线
     */
    @NotEmpty(message = "工艺路线不能为空")
    private List<AddCraftWayParam> craftWayList;
}
