/*
|
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
|
*
|
* Redistribution and use in source and binary forms, with or without
|
* modification, are permitted provided that the following conditions are met:
|
*
|
* Redistributions of source code must retain the above copyright notice,
|
* this list of conditions and the following disclaimer.
|
* Redistributions in binary form must reproduce the above copyright
|
* notice, this list of conditions and the following disclaimer in the
|
* documentation and/or other materials provided with the distribution.
|
* Neither the name of the dreamlu.net developer nor the names of its
|
* contributors may be used to endorse or promote products derived from
|
* this software without specific prior written permission.
|
* Author: Chill 庄骞 (smallchill@163.com)
|
*/
|
package org.springblade.modules.eventgm.entity;
|
|
import com.alibaba.fastjson.annotation.JSONType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Data;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.Date;
|
import lombok.EqualsAndHashCode;
|
import org.springblade.common.handler.JsonStringArrayTypeHandler;
|
import org.springblade.core.tenant.mp.TenantEntity;
|
|
/**
|
* 事件管理 实体类
|
*
|
* @author aix
|
* @since 2022-09-13
|
*/
|
@Data
|
@TableName(value = "ins_eventgm",autoResultMap = true)
|
@ApiModel(value = "Eventgm对象", description = "事件管理")
|
@EqualsAndHashCode(callSuper = true)
|
public class EventgmEntity extends TenantEntity {
|
|
/**
|
* 事件类型
|
*/
|
@ApiModelProperty(value = "事件类型")
|
private String type;
|
/**
|
* 地址
|
*/
|
@ApiModelProperty(value = "地址")
|
private String address;
|
/**
|
* 经度
|
*/
|
@ApiModelProperty(value = "经度")
|
private String longitude;
|
/**
|
* 纬度
|
*/
|
@ApiModelProperty(value = "纬度")
|
private String latitude;
|
/**
|
* 事件状态
|
*/
|
@ApiModelProperty(value = "事件状态")
|
private String state;
|
/**
|
* 任务来源
|
*/
|
@ApiModelProperty(value = "任务来源")
|
private String source;
|
|
/**
|
* 工单编号
|
*/
|
@ApiModelProperty(value = "工单编号")
|
private String no;
|
/**
|
* 备注
|
*/
|
@ApiModelProperty(value = "备注")
|
private String remark;
|
/**
|
* 图片数组
|
*/
|
@TableField(value = "pic_urls",typeHandler = JsonStringArrayTypeHandler.class)
|
@ApiModelProperty(value = "图片数组")
|
private Object[] picUrls;
|
|
}
|