package org.dromara.domain.vo;

import jakarta.validation.constraints.NotBlank;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.domain.SenMonitorPoint;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;


/**
 * 监控点位信息视图对象 sen_monitor_point
 *
 * @author luogang
 * @date 2024-09-14
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SenMonitorPoint.class)
public class SenMonitorPointVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private String pointId;
    /**
     * 监控点名称
     */
    @ExcelProperty(value = "监控点名称")
    private String pointName;

    /**
     * 行政区域
     */
    @ExcelProperty(value = "行政区域id")
    private Long areaId;

    @ExcelProperty(value = "行政区域")
    @Translation(type = TransConstant.AREA_ID_TO_NAME, mapper = "areaId")
    private String areaName;

    /**
     * 视频类型（1-实时视频 2-离线视频）
     */
    @ExcelProperty(value = "视频类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "video_type")
    private String videoType;
    /**
     * 场景类型（1-高速公路 2-城市道路）
     */
    @ExcelProperty(value = "场景类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "scene_type")
    private String sceneType;

    /**
     * 经度
     */
    @ExcelProperty(value = "经度")
    private String longitude;

    /**
     * 纬度
     */
    @ExcelProperty(value = "纬度")
    private String latitude;

    /**
     * 方向
     */
    @ExcelProperty(value = "方向")
    private String direction;

    /**
     * 路口编号
     */
    @ExcelProperty(value = "路口编号")
    private String intersectionId;


}
