package com.yuanchu.mom.pojo.dto;
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotNull;
|
|
@Data
|
//更新排产(选择设备)
|
public class ManualTechnologyDto {
|
|
//工序id
|
@NotNull(message = "id不能为空")
|
@JsonSerialize
|
private Integer id;
|
|
/**
|
* 工序名称
|
**/
|
@NotBlank(message = "工序名称不能为空")
|
@JsonSerialize
|
private String techname;
|
|
/**
|
* 工序父类
|
**/
|
@NotBlank(message = "工序父类不能为空")
|
@JsonSerialize
|
private String techfather;
|
|
/**
|
* 设备组
|
**/
|
@NotBlank(message = "设备组不能为空")
|
@JsonSerialize
|
private String deviceGroup;
|
|
/**
|
* 关联 设备id
|
**/
|
@NotNull(message = "设备id不能为空")
|
@JsonSerialize
|
private Integer deviceId;
|
|
}
|