| | |
| | | @Table(name = "grid_group") |
| | | public class GridGroup { |
| | | @Id |
| | | @GeneratedValue(strategy = GenerationType.IDENTITY) |
| | | private Integer id; |
| | | |
| | | /** |
| | |
| | | * 网格类型,origin:原始网格;sub:子网格(细分网格) |
| | | */ |
| | | private String type; |
| | | |
| | | /** |
| | | * 当网格类型是Sub(子网格)时,所属父网格组的id |
| | | */ |
| | | @Column(name = "father_group_id") |
| | | private Integer fatherGroupId; |
| | | |
| | | /** |
| | | * 最大横坐标 |
| | | */ |
| | | @Column(name = "max_xaxis") |
| | | private Integer maxXaxis; |
| | | |
| | | /** |
| | | * 最大纵坐标 |
| | | */ |
| | | @Column(name = "max_yaxis") |
| | | private Integer maxYaxis; |
| | | |
| | | /** |
| | | * @return id |
| | |
| | | public void setType(String type) { |
| | | this.type = type == null ? null : type.trim(); |
| | | } |
| | | |
| | | /** |
| | | * 获取当网格类型是Sub(子网格)时,所属父网格组的id |
| | | * |
| | | * @return father_group_id - 当网格类型是Sub(子网格)时,所属父网格组的id |
| | | */ |
| | | public Integer getFatherGroupId() { |
| | | return fatherGroupId; |
| | | } |
| | | |
| | | /** |
| | | * 设置当网格类型是Sub(子网格)时,所属父网格组的id |
| | | * |
| | | * @param fatherGroupId 当网格类型是Sub(子网格)时,所属父网格组的id |
| | | */ |
| | | public void setFatherGroupId(Integer fatherGroupId) { |
| | | this.fatherGroupId = fatherGroupId; |
| | | } |
| | | |
| | | /** |
| | | * 获取最大横坐标 |
| | | * |
| | | * @return max_xaxis - 最大横坐标 |
| | | */ |
| | | public Integer getMaxXaxis() { |
| | | return maxXaxis; |
| | | } |
| | | |
| | | /** |
| | | * 设置最大横坐标 |
| | | * |
| | | * @param maxXaxis 最大横坐标 |
| | | */ |
| | | public void setMaxXaxis(Integer maxXaxis) { |
| | | this.maxXaxis = maxXaxis; |
| | | } |
| | | |
| | | /** |
| | | * 获取最大纵坐标 |
| | | * |
| | | * @return max_yaxis - 最大纵坐标 |
| | | */ |
| | | public Integer getMaxYaxis() { |
| | | return maxYaxis; |
| | | } |
| | | |
| | | /** |
| | | * 设置最大纵坐标 |
| | | * |
| | | * @param maxYaxis 最大纵坐标 |
| | | */ |
| | | public void setMaxYaxis(Integer maxYaxis) { |
| | | this.maxYaxis = maxYaxis; |
| | | } |
| | | } |