package com.yuchen.saas.device.api.dto.irrigate;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class SaasIrrigateTaskSaveDTO {
    /**
     * 项目ID
     */
    @ApiModelProperty(name = "projectId", value = "项目ID")
    @NotNull(message = "主键ID不能为空")
    private Long projectId;
    /**
     * 关联自动浇灌ID
     */
    @ApiModelProperty(name = "irrigateAutoId", value = "关联自动浇灌ID")
    private Long irrigateAutoId;
    /**
     * 任务名称
     */
    @ApiModelProperty(name = "taskName", value = "任务名称")
    @NotBlank(message = "主键ID不能为空")
    private String taskName;
    /**
     * 浇灌日期
     */
    @ApiModelProperty(name = "irrigateDate", value = "浇灌日期")
    @NotBlank(message = "浇灌日期不能为空")
    private Date irrigateDate;
    /**
     * 浇灌开始时间
     */
    @ApiModelProperty(name = "irrigateStartTime", value = "浇灌开始时间")
    @NotBlank(message = "浇灌开始时间不能为空")
    private Date irrigateStartTime;
    /**
     * 浇灌结束时间
     */
    @ApiModelProperty(name = "irrigateEndTime", value = "浇灌结束时间")
    @NotBlank(message = "浇灌结束时间不能为空")
    private Date irrigateEndTime;
    /**
     * 浇灌区域ID
     */
    @ApiModelProperty(name = "irrigateAreaId", value = "浇灌区域ID")
    @NotNull(message = "浇灌区域ID不能为空")
    private Long irrigateAreaId;
    /**
     * 浇灌点位ID
     */
    @ApiModelProperty(name = "irrigatePointId", value = "浇灌点位ID")
    @NotNull(message = "浇灌点位ID不能为空")
    private Long irrigatePointId;

}



































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































