| | |
| | | |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import javax.validation.constraints.NotNull; |
| | | import java.util.Date; |
| | | |
| | | //查看排产详情中的计划编制 |
| | | @Data |
| | | public class ManualTechnologyDto1 { |
| | | |
| | | /** |
| | | * 工序id |
| | | **/ |
| | | private Integer mtechId; |
| | | @NotNull(message = "工序Id不能为空") |
| | | @ApiModelProperty(value = "工序Id", example = "1", required = true) |
| | | private Integer manualTechnologyId; |
| | | |
| | | /** |
| | | * 工序名称 |
| | | **/ |
| | | private String techname; |
| | | |
| | | /** |
| | | * 工序父类 |
| | | **/ |
| | | private String techfather; |
| | | |
| | | |
| | | /** |
| | | * 设备名(机台) |
| | | **/ |
| | | private String deviceName; |
| | | |
| | | |
| | | /** |
| | | * 开始日期(计划) |
| | | */ |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date startTime; |
| | | |
| | | /** |
| | | * 结束日期(计划) |
| | | */ |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date endTime; |
| | | |
| | | /** |
| | | * 周期 |
| | | **/ |
| | | private Integer period; |
| | | @NotNull(message = "设备id不能为空") |
| | | @ApiModelProperty(value = "设备Id", example = "1", required = true) |
| | | private Integer deviceId; |
| | | } |