| | |
| | | package com.panzhihua.common.enums; |
| | | |
| | | /** 实有房屋使用类型 |
| | | /** |
| | | * 实有房屋使用类型 |
| | | * |
| | | * @author xyh |
| | | * @date 2021/6/11 9:33 |
| | | */ |
| | | public enum PopulHouseUseEnum { |
| | | public enum PopulHouseUseEnum { |
| | | |
| | | SELF(1,"是"), |
| | | RENT(0,"否"), |
| | | ; |
| | | SELF(1, "是"), RENT(0, "否"),; |
| | | |
| | | private final Integer code; |
| | | private final String name; |
| | | |
| | | PopulHouseUseEnum(Integer code,String name){ |
| | | PopulHouseUseEnum(Integer code, String name) { |
| | | this.code = code; |
| | | this.name = name; |
| | | } |
| | | |
| | | public Integer getCode() { |
| | | return code; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public static int getCodeByName(String name) { |
| | |
| | | } |
| | | return "其他"; |
| | | } |
| | | |
| | | public Integer getCode() { |
| | | return code; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | } |