package com.dy.pipIrrRemote.mqttSd1.manure;
|
|
import com.dy.common.webUtil.QueryConditionVo;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.*;
|
|
/**
|
* @Author: liurunyu
|
* @Date: 2025/6/25 16:18
|
* @Description
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@ToString(callSuper = true)
|
@NoArgsConstructor
|
@AllArgsConstructor
|
@Builder
|
public class ManureQo extends QueryConditionVo {
|
/**
|
* 水肥机ID
|
*/
|
@Schema(description = "水肥机ID", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
|
private Long manureId;
|
|
/**
|
* 水肥站编号
|
*/
|
@Schema(description = "水肥站编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
|
public Integer no ;
|
|
/**
|
* 水肥站名称
|
*/
|
@Schema(description = "水肥站名称", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
|
public String name;
|
/**
|
* 查询开始日期
|
*/
|
@Schema(description = "查询开始日期", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
|
public String timeStart;
|
|
/**
|
* 查询结束日期
|
*/
|
@Schema(description = "查询结束日期", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
|
public String timeStop;
|
|
|
public void completionTime(){
|
if(timeStart != null && !timeStart.trim().equals("")) {
|
timeStart = timeStart + " 00:00:00";
|
}
|
if(timeStop != null && !timeStop.trim().equals("")) {
|
timeStop = timeStop + " 23:59:59";
|
}
|
}
|
}
|