package com.ycl.vo.casePool;
|
|
import com.alibaba.excel.annotation.ExcelIgnore;
|
import com.alibaba.excel.annotation.ExcelProperty;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotNull;
|
|
@Data
|
@ApiModel(value = "添加违规案件")
|
public class QueryForViolationVO {
|
|
/**
|
* 事件来源(1-视频 2-手动登记)
|
*/
|
@TableField("event_source")
|
@ApiModelProperty(value = "事件来源(1-视频 2-手动登记)")
|
@ExcelProperty(value = "事件来源", index = 1)
|
private String eventSource;
|
|
/**
|
* 大类
|
*/
|
@ApiModelProperty(value = "大类")
|
@NotNull(message = "不允许大类为空")
|
@ExcelProperty(value = "大类", index = 2)
|
private String categoryName;
|
|
/**
|
* 报警时间
|
*/
|
@ExcelProperty(value = "报警时间", index = 8)
|
private String alarmTime;
|
|
/**
|
* 小类
|
*/
|
@ApiModelProperty(value = "小类")
|
@ExcelProperty(value = "小类", index = 3)
|
private String typeName;
|
|
/**
|
* 案件等级
|
*/
|
@ApiModelProperty(value = "案件等级")
|
@NotNull(message = "不允许案件等级为空")
|
@ExcelProperty(value = "事件等级", index = 4)
|
private String gradeName;
|
|
/**
|
* 所属街道
|
*/
|
@ApiModelProperty(value = "街道")
|
@NotNull(message = "不允许所属街道为空")
|
@ExcelProperty(value = "街道", index = 7)
|
private String streetName;
|
|
/**
|
* 所属社区
|
*/
|
@ApiModelProperty(value = "所属社区")
|
@ExcelProperty(value = "社区", index = 6)
|
private String communityName;
|
|
@ApiModelProperty("持续时间")
|
@ExcelIgnore
|
private String continueTime;
|
/**
|
* 报警点位 事发地点
|
*/
|
@ApiModelProperty(value = "事发地点")
|
@ExcelProperty(value = "报警点位", index = 5)
|
private String site;
|
|
/**
|
* 车牌号
|
*/
|
@ApiModelProperty(value = "车牌号")
|
@ExcelProperty(value = "车牌号码", index = 9)
|
private String carNumber;
|
|
@ApiModelProperty(value = "审核状态")
|
@ExcelProperty(value = "审核状态", index = 10)
|
private String state;
|
|
@ApiModelProperty(value = "处理意见")
|
@ExcelProperty(value = "处理意见", index = 11)
|
private String handlingOpinion;
|
|
@ApiModelProperty(value = "图片")
|
@ExcelIgnore
|
private String url;
|
|
@ApiModelProperty(value = "案件编码")
|
@ExcelProperty(value = "案件编号", index = 0)
|
private String code;
|
}
|