package com.yuchen.saas.park.api.dto.fire.inspect;

import com.baomidou.mybatisplus.annotation.TableName;
import com.thinkunion.park.service.common.constant.GroupAction;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.mp.base.BaseEntity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import java.util.List;

/**
 * <p>
 * 巡检线路管理表
 * </p>
 *
 * @author zhouhanwei
 * @since 2024-04-01
 */
@Data
public class FireInspectLineManageSubmitReqDTO {

    @NotNull(groups = GroupAction.UpdateAction.class, message = "id不能为空")
    @Null(groups = GroupAction.InsertAction.class, message = "id必须为空")
    private Long id;

    /**
     * 项目id
     */
    @ApiModelProperty(name = "projectId", value = "项目id")
    @NotNull(message = "请选择项目")
    private Long projectId;
    /**
     * 巡检线路名称
     */
    @ApiModelProperty(name = "inspectLineName", value = "巡检线路名称")
    @NotBlank(message = "巡检线路名称不能为空")
    private String inspectLineName;
    /**
     * 巡检位置点位id列表
     */
    @ApiModelProperty(name = "inspectLocationIdList", value = "巡检位置点位id列表")
    @NotNull(message = "巡检位置点位id列表不能为空")
    private List<Long> inspectLocationIdList;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;



}
