10 changed files with 86 additions and 68 deletions
@ -0,0 +1,19 @@ |
|||||
|
package com.win.module.mes.controller.mesorderdayworker.vo; |
||||
|
|
||||
|
import io.swagger.v3.oas.annotations.media.Schema; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotNull; |
||||
|
|
||||
|
@Data |
||||
|
public class GetPeopleReportByOrderReqVO { |
||||
|
|
||||
|
@Schema(description = "日计划编码") |
||||
|
@NotNull(message = "日计划编码不能为空") |
||||
|
private String planNoDay; |
||||
|
|
||||
|
@Schema(description = "工序编码") |
||||
|
@NotNull(message = "工序编码不能为空") |
||||
|
private String processCode; |
||||
|
|
||||
|
} |
@ -0,0 +1,13 @@ |
|||||
|
package com.win.module.mes.controller.mesorderdayworker.vo; |
||||
|
|
||||
|
import io.swagger.v3.oas.annotations.media.Schema; |
||||
|
import lombok.Data; |
||||
|
import lombok.ToString; |
||||
|
|
||||
|
@Schema(description = "管理后台 - 工序报工 Request VO") |
||||
|
@Data |
||||
|
@ToString(callSuper = true) |
||||
|
public class GetPeopleReportByOrderResVO { |
||||
|
@Schema(description = "工单编码", requiredMode = Schema.RequiredMode.REQUIRED) |
||||
|
private Integer schedulingCode; |
||||
|
} |
@ -1,31 +0,0 @@ |
|||||
package com.win.module.mes.controller.mesworkschedulingdetail.vo; |
|
||||
|
|
||||
import io.swagger.v3.oas.annotations.media.Schema; |
|
||||
import lombok.Data; |
|
||||
import lombok.ToString; |
|
||||
|
|
||||
import javax.validation.constraints.NotNull; |
|
||||
import java.math.BigDecimal; |
|
||||
import java.time.LocalDateTime; |
|
||||
|
|
||||
@Schema(description = "管理后台 - 工序报工 Request VO") |
|
||||
@Data |
|
||||
@ToString(callSuper = true) |
|
||||
public class ReportWorkDetailReqVO { |
|
||||
|
|
||||
@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "736") |
|
||||
@NotNull(message = "主键不能为空") |
|
||||
private Long id; |
|
||||
|
|
||||
@Schema(description = "报工数量", requiredMode = Schema.RequiredMode.REQUIRED) |
|
||||
@NotNull(message = "报工数量不能为空") |
|
||||
private Integer reportCount; |
|
||||
|
|
||||
@Schema(description = "报工日期", requiredMode = Schema.RequiredMode.REQUIRED) |
|
||||
@NotNull(message = "报工日期不能为空") |
|
||||
private LocalDateTime reportDate; |
|
||||
|
|
||||
@Schema(description = "工时", requiredMode = Schema.RequiredMode.REQUIRED) |
|
||||
@NotNull(message = "工时不能为空") |
|
||||
private BigDecimal workTerm; |
|
||||
} |
|
Loading…
Reference in new issue