96 lines
1.9 KiB
Java
96 lines
1.9 KiB
Java
package com.ruoyi.airline.domain.model;
|
|
|
|
import com.ruoyi.common.core.web.domain.BaseEntity;
|
|
import com.ruoyi.common.core.web.domain.ExBaseEntity;
|
|
import lombok.Data;
|
|
import lombok.EqualsAndHashCode;
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
|
/**
|
|
* 空域
|
|
*
|
|
* @author 拓恒
|
|
*/
|
|
@EqualsAndHashCode(callSuper = true)
|
|
@Data
|
|
public class AirlineArea extends ExBaseEntity {
|
|
/**
|
|
* 主键ID
|
|
*/
|
|
private Long id;
|
|
|
|
/**
|
|
* 空域名称
|
|
*/
|
|
private String name;
|
|
|
|
/**
|
|
* 空域类型
|
|
*/
|
|
private String areaType;
|
|
|
|
/**
|
|
* 1 启用 0 停用。默认启用。
|
|
*/
|
|
private Integer status;
|
|
|
|
/**
|
|
* 空域点列表
|
|
*/
|
|
private String points;
|
|
|
|
/**
|
|
* 形状
|
|
*/
|
|
private String shape;
|
|
|
|
/**
|
|
* 面积
|
|
*/
|
|
private Double areaArea;
|
|
|
|
/**
|
|
* 周长
|
|
*/
|
|
private Double areaPerimeter;
|
|
|
|
/**
|
|
* 半径
|
|
*/
|
|
private Double radius;
|
|
|
|
/**
|
|
* 最小高度
|
|
*/
|
|
private Double minHeight;
|
|
|
|
/**
|
|
* 最大高度
|
|
*/
|
|
private Double maxHeight;
|
|
|
|
/**
|
|
* 备注
|
|
*/
|
|
private String remark;
|
|
|
|
@Override
|
|
public String toString() {
|
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
|
.append("id", getId())
|
|
.append("name", getName())
|
|
.append("areaType", getAreaType())
|
|
.append("status", getStatus())
|
|
.append("points", getPoints())
|
|
.append("shape", getShape())
|
|
.append("areaArea", getAreaArea())
|
|
.append("areaPerimeter", getAreaPerimeter())
|
|
.append("radius", getRadius())
|
|
.append("minHeight", getMinHeight())
|
|
.append("maxHeight", getMaxHeight())
|
|
.append("remark", getRemark())
|
|
.toString();
|
|
}
|
|
}
|