|
|
|
@@ -5,16 +5,16 @@ import java.util.List; |
|
|
|
|
|
|
|
public enum EnumBillAllType { |
|
|
|
|
|
|
|
RENT(1,"租金",1L,false), |
|
|
|
RENT_BUSSINESS_MANAGE(11,"商业管理费",2L,false), |
|
|
|
RENT_OPERATION_MANAGE(12,"运营管理费",3L,false), |
|
|
|
RENT_DEPOSIT(13,"租赁押金",null,true), |
|
|
|
PROPERTY(2,"物业",5L,false), |
|
|
|
PROPERTY_DEPOSIT(21,"物业押金",6L,true), |
|
|
|
DAILY(3, "能耗(水电空调)费",null,false), |
|
|
|
OTHER(4, "其他费用",null,false), |
|
|
|
OTHER_DEPOSIT(5, "其他押金",null,true), |
|
|
|
ADVANCE(6,"预收",null,true) |
|
|
|
RENT(1,"租金",1L,false,true), |
|
|
|
RENT_BUSSINESS_MANAGE(11,"商业管理费",2L,false,true), |
|
|
|
RENT_OPERATION_MANAGE(12,"运营管理费",3L,false,true), |
|
|
|
RENT_DEPOSIT(13,"租赁押金",null,true,true), |
|
|
|
PROPERTY(2,"物业",5L,false,true), |
|
|
|
PROPERTY_DEPOSIT(21,"物业押金",6L,true,true), |
|
|
|
DAILY(3, "能耗(水电空调)费",null,false,true), |
|
|
|
OTHER(4, "其他费用",null,false,true), |
|
|
|
OTHER_DEPOSIT(5, "其他押金",null,true,true), |
|
|
|
ADVANCE(6,"预收",null,true,false)//没有形成真正的账单 |
|
|
|
; |
|
|
|
|
|
|
|
public static EnumBillAllType getEnum(Integer code) { |
|
|
|
@@ -30,12 +30,14 @@ public enum EnumBillAllType { |
|
|
|
private String message; |
|
|
|
private Long energyFeesId;//wx_energy_fees(费用科目)里的id,不可配置的有这个 |
|
|
|
private boolean isFixedPrice;//是否强制为一次性费用 |
|
|
|
private boolean isShow;//是否显示为查询条件 |
|
|
|
|
|
|
|
EnumBillAllType(Integer code, String message,Long energyFeesId,boolean isFixedPrice) { |
|
|
|
EnumBillAllType(Integer code, String message,Long energyFeesId,boolean isFixedPrice,boolean isShow) { |
|
|
|
this.code = code; |
|
|
|
this.message = message; |
|
|
|
this.energyFeesId = energyFeesId; |
|
|
|
this.isFixedPrice = isFixedPrice; |
|
|
|
this.isShow = isShow; |
|
|
|
} |
|
|
|
|
|
|
|
public Integer getCode() { |
|
|
|
@@ -53,6 +55,10 @@ public enum EnumBillAllType { |
|
|
|
public boolean isFixedPrice() { |
|
|
|
return isFixedPrice; |
|
|
|
} |
|
|
|
|
|
|
|
public boolean isShow() { |
|
|
|
return isShow; |
|
|
|
} |
|
|
|
|
|
|
|
public static EnumBillAllType[] getSystemTypes() { |
|
|
|
EnumBillAllType[] ret = new EnumBillAllType[] {RENT,RENT_BUSSINESS_MANAGE,RENT_OPERATION_MANAGE, |
|
|
|
|