package com.ard.data.region.domain;
|
|
import com.ard.common.annotation.Excel;
|
import com.ard.common.core.domain.BaseEntity;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.ToString;
|
|
import java.util.List;
|
|
/**
|
* 部门区域对象 ard_dept_region
|
*
|
* @author ruoyi
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@ToString(callSuper = true)
|
public class ArdDeptRegion extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** 区域ID */
|
private Long id;
|
|
/** 部门ID */
|
@Excel(name = "部门ID")
|
private Long deptId;
|
|
/** 区域名称 */
|
@Excel(name = "区域名称")
|
private String regionName;
|
|
/** 区域颜色(十六进制颜色码) */
|
@Excel(name = "区域颜色")
|
private String regionColor;
|
|
/** 区域类型(POINT/LINE/POLYGON,非数据库字段,自动判断) */
|
private String regionType;
|
|
/** 区域边界WKT(非数据库字段,用于传输) */
|
private String boundaryWkt;
|
|
/** 中心纬度 */
|
@Excel(name = "中心纬度")
|
private Double centerLat;
|
|
/** 中心经度 */
|
@Excel(name = "中心经度")
|
private Double centerLng;
|
|
/** 面积(平方米) */
|
@Excel(name = "面积")
|
private Double areaSize;
|
|
/** 坐标集合(非数据库字段,用于接收前端坐标) */
|
private List<Coordinate> coordinates;
|
|
/** 状态(0正常 1停用) */
|
@Excel(name = "状态", readConverterExp = "0=正常,1=停用")
|
private String status;
|
}
|