winter 11 месяцев назад
Родитель
Сommit
2ceeed89ee
1 измененных файлов: 9 добавлений и 0 удалений
  1. +9
    -0
      mallinkService/src/main/java/com/iformall/domain/po/WxRentContract.java

+ 9
- 0
mallinkService/src/main/java/com/iformall/domain/po/WxRentContract.java Просмотреть файл

@@ -13,6 +13,7 @@ import com.iformall.enums.EnumRentAgileType;
import com.iformall.enums.EnumRentContractAdjustPeriod;
import com.iformall.enums.EnumRentContractStatus;
import com.iformall.enums.EnumRentContractType;
import com.iformall.enums.EnumShopUsersPrincipalType;
import com.iformall.utils.Constant;

import lombok.Data;
@@ -45,6 +46,14 @@ public class WxRentContract extends TenantEntity {
@TableField(exist = false)
private Integer customerType;
@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;
@TableField(exist = false)
private String customerLinkPerson;


Загрузка…
Отмена
Сохранить