package com.yuchen.saas.parking.api.dto;

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

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author yuanzhelin
 * @Date 2024/11/5 15:41
 * @Description TODO
 */
@Data
public class PakringBoundableDeviceQueryDto implements Serializable {
    /**
     * 项目id
     */
    @NotNull(message = "项目id不能为空")
    @ApiModelProperty(name = "projectId",value = "项目id")
    private Long projectId;
    /**
     * 车场id
     */
    @NotNull(message = "车场id不能为空")
    @ApiModelProperty(name = "parkingId",value = "车场id")
    private Long parkingId;
    /**
     * 关联的车道id
     */
    @ApiModelProperty(name = "roadwayId",value = "关联的车道id")
    private Long roadwayId;
    /**
     * 车位id
     */
    @ApiModelProperty(name = "placeId",value = "车位id")
    private Long placeId;
    /**
     * 绑定地方类型(1车道，2车位，3车场)
     */
    @NotNull(message = "绑定地方类型不能为空")
    @ApiModelProperty(name = "belongType", value = "绑定地方类型(1车道，2车位，3车场)")
    private Integer belongType;

    /**
     * 设备名称
     */
    @ApiModelProperty(name = "deviceAlias", value = "设备名称")
    private String deviceAlias;
    /**
     * 产品id
     */
    @ApiModelProperty(name = "productId", value = "产品id")
    private Long productId;
    /**
     * 大类（1：视频监控，2：智能硬件，3：传感设备）
     */
    @ApiModelProperty(name = "broadCategory", value = "大类（1：视频监控，2：智能硬件，3：传感设备）")
    private String broadCategory;
}
