package com.yuchen.saas.integration.hik.isc.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.nest.springwrap.core.tool.validator.group.AddGroup;
import org.nest.springwrap.core.tool.validator.group.UpdateGroup;

import javax.validation.constraints.NotNull;

/**
 * @author zhouhanwei
 * @create 2023/3/20 15:21
 */
@ApiModel()
@Data
public class CameraDeviceAreaBindingAddDTO {

    /**
     * id
     */
    @ApiModelProperty(name = "id", value = "id")
    @NotNull(message = "id不能为空",groups = UpdateGroup.class)
    private Long id;


    /**
     * 监控区域id
     */
    @ApiModelProperty(name = "cameraAreaId", value = "监控区域id")
    @NotNull(message = "监控区域id不能为空",groups = {UpdateGroup.class, AddGroup.class})
    private Long cameraAreaId;
    /**
     * 监控设备id
     */
    @ApiModelProperty(name = "cameraId", value = "监控设备id")
    @NotNull(message = "监控设备id不能为空",groups = {UpdateGroup.class, AddGroup.class})
    private Long cameraId;


    /**
     * 住户是否可见（0：否 1：是）
     */
    @ApiModelProperty(name = "residentVisibleEnable", value = "住户是否可见（0：否 1：是）")
    private Integer residentVisibleEnable;


    /**
     * 项目id
     */
    @ApiModelProperty(name = "parkId", value = "项目id")
    @NotNull(message = "项目id不能为空",groups = {UpdateGroup.class, AddGroup.class})
    private Long parkId;


    /**
     * 客户id
     */
    @ApiModelProperty(name = "customerId", value = "客户id")
    private Long customerId;


}
