parent
f6e3339966
commit
7d8defe6e6
@ -0,0 +1,27 @@
|
||||
package com.chanko.yunxi.mes.module.biz.controller.admin.scequipment.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* @author chenxi
|
||||
* @date 2024-05-09 16:36
|
||||
*/
|
||||
@Data
|
||||
public class ScDashboardReqVO {
|
||||
|
||||
@Schema(description = "设备id")
|
||||
@NotNull(message = "设备id 不能为空")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "开始日期")
|
||||
@NotNull(message = "开始日期 不能为空")
|
||||
private LocalDateTime startTime;
|
||||
|
||||
@Schema(description = "结束日期")
|
||||
@NotNull(message = "结束日期 不能为空")
|
||||
private LocalDateTime endTime;
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
package com.chanko.yunxi.mes.module.biz.controller.admin.scequipment.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* @author chenxi
|
||||
* @date 2024-05-09 16:37
|
||||
*/
|
||||
@Data
|
||||
public class ScDashboardResVO {
|
||||
|
||||
@Schema(description = "日期")
|
||||
private LocalDateTime date;
|
||||
|
||||
@Schema(description = "时间")
|
||||
private BigDecimal time;
|
||||
}
|
Loading…
Reference in new issue