wuww
2025-05-14 d6a4e2730aeff24b8e28eee486926b945bf671d6
src/main/java/com/se/nsl/domain/po/Region.java
@@ -8,7 +8,7 @@
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@TableName("nsl.region")
@TableName("nsl.tbl_yj_tr_region")
@SuppressWarnings("ALL")
@ApiModel(value = "推演区域", description = "推演区域")
public class Region {
@@ -20,7 +20,7 @@
    private String name;
    @ApiModelProperty("类别:1-行政区划,2-重点区域,3-重点沟")
    private Short type;
    private Integer type;
    @ApiModelProperty("空间位置")
    @TableField(value = "st_astext(geom)", select = true)
@@ -29,9 +29,9 @@
    public Region() {
    }
    public Region(String name, Short type, String geom) {
    public Region(String name, int type, String geom) {
        this.name = name;
        this.type = type;
        this.type = Integer.valueOf(type);
        this.geom = geom;
    }
@@ -51,11 +51,11 @@
        this.name = name;
    }
    public Short getType() {
    public Integer getType() {
        return type;
    }
    public void setType(Short type) {
    public void setType(Integer type) {
        this.type = type;
    }