package com.ycl.entity.caseHandler; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModelProperty; import lombok.*; import java.io.Serializable; /** *
* 违规事件 *
* * @author wl * @since 2022-09-24 */ @Data @EqualsAndHashCode(callSuper = false) @TableName("ums_violations") @Builder @NoArgsConstructor @AllArgsConstructor public class Violations implements Serializable { private static final long serialVersionUID = 1L; /** * 案件id(同ums_base_case表id) */ @TableId("id") @ApiModelProperty(value = "案件id(同ums_base_case表id)") private Long id; /** * 大类 */ @TableField("category_id") @ApiModelProperty(value = "大类") private Integer categoryId; /** * 小类 */ @TableField("type_id") @ApiModelProperty(value = "小类") private Integer typeId; /** * 事件等级 */ @TableField("grade_id") @ApiModelProperty(value = "事件等级") private Long gradeId; /** * 案由 */ @TableField("action_cause") @ApiModelProperty(value = "案由") private String actionCause; /** * 是否关联商铺 */ @TableField("link_shop") @ApiModelProperty(value = "是否关联商铺") private Integer linkShop; /** * 关联商铺名称 */ @TableField("shop_name") @ApiModelProperty(value = "关联商铺名称") private Integer shopName; /** * 车牌号 */ @TableField("car_number") @ApiModelProperty(value = "车牌号") private String carNumber; /** * 问题描述 */ @TableField("description") @ApiModelProperty(value = "问题描述") private String description; /** * 反映人 */ @TableField("informant") @ApiModelProperty(value = "反映人") private String informant; /** * 反映人联系方式 */ @TableField("informant_phone_code") @ApiModelProperty(value = "反映人联系方式") private String informantPhoneCode; /** * 身份证号码 */ @TableField("informant_id_card") @ApiModelProperty(value = "身份证号码") private String informantIdCard; /** * 视频报警id */ @TableField("video_alarm_report_id") @ApiModelProperty(value = "视频报警id") private Integer videoAlarmReportId; /** * 视频报警id */ @TableField("video_point_id") @ApiModelProperty(value = "视频点位") private Integer videoPointId; /** * 大类文本 */ @TableField(value = "category_text", exist = false) @ApiModelProperty(value = "所属社区文本") private String categoryText; /** * 小类文本 */ @TableField(value = "type_text", exist = false) @ApiModelProperty(value = "小类文本") private String typeText; /** * 事件等级文本 */ @TableField(value = "grade_text", exist = false) @ApiModelProperty(value = "事件等级文本") private String gradeText; }