| @@ -13,6 +13,7 @@ import com.iformall.enums.EnumRentAgileType; | |||||
| import com.iformall.enums.EnumRentContractAdjustPeriod; | import com.iformall.enums.EnumRentContractAdjustPeriod; | ||||
| import com.iformall.enums.EnumRentContractStatus; | import com.iformall.enums.EnumRentContractStatus; | ||||
| import com.iformall.enums.EnumRentContractType; | import com.iformall.enums.EnumRentContractType; | ||||
| import com.iformall.enums.EnumShopUsersPrincipalType; | |||||
| import com.iformall.utils.Constant; | import com.iformall.utils.Constant; | ||||
| import lombok.Data; | import lombok.Data; | ||||
| @@ -45,6 +46,14 @@ public class WxRentContract extends TenantEntity { | |||||
| @TableField(exist = false) | @TableField(exist = false) | ||||
| private Integer customerType; | private Integer customerType; | ||||
| @TableField(exist = false) | @TableField(exist = false) | ||||
| private String customerTypeName; | |||||
| public String getCustomerTypeName() { | |||||
| if (null != customerType) { | |||||
| return EnumShopUsersPrincipalType.getEnum(customerType).getMessage(); | |||||
| } | |||||
| return null; | |||||
| } | |||||
| @TableField(exist = false) | |||||
| private String customerName; | private String customerName; | ||||
| @TableField(exist = false) | @TableField(exist = false) | ||||
| private String customerLinkPerson; | private String customerLinkPerson; | ||||