xhxu 5 лет назад
Родитель
Сommit
cc6bb32f22
1 измененных файлов: 16 добавлений и 16 удалений
  1. +16
    -16
      mallinkService/src/main/java/com/iformall/domain/po/WxCUserFrom.java

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

@@ -21,6 +21,22 @@ public class WxCUserFrom extends TenantEntity {


protected Long id; protected Long id;


@io.swagger.annotations.ApiModelProperty(value="EnumCUserFrom",name="fromType")
private Integer fromType;
@TableField(exist = false)
@Excel(name = "来源", width = 20, orderNum = "1")
@io.swagger.annotations.ApiModelProperty(value="fromType描述",name="fromTypeDesc")
private String fromTypeDesc;
public String getFromTypeDesc(){
if(this.getFromType() != null){
EnumCUserFrom anEnum = EnumCUserFrom.getEnum(this.getFromType());
if(anEnum != null){
fromTypeDesc = anEnum.getMessage();
}
}
return fromTypeDesc;
}

@io.swagger.annotations.ApiModelProperty(value="cUserId",name="cUserId") @io.swagger.annotations.ApiModelProperty(value="cUserId",name="cUserId")
protected Long cUserId; protected Long cUserId;
@TableField(exist = false) @TableField(exist = false)
@@ -42,22 +58,6 @@ public class WxCUserFrom extends TenantEntity {
@io.swagger.annotations.ApiModelProperty(value="sceneAddress描述",name="sceneAddressDesc") @io.swagger.annotations.ApiModelProperty(value="sceneAddress描述",name="sceneAddressDesc")
private String sceneAddressDesc; private String sceneAddressDesc;


@io.swagger.annotations.ApiModelProperty(value="EnumCUserFrom",name="fromType")
private Integer fromType;
@TableField(exist = false)
@Excel(name = "来源", width = 20, orderNum = "1")
@io.swagger.annotations.ApiModelProperty(value="fromType描述",name="fromTypeDesc")
private String fromTypeDesc;
public String getFromTypeDesc(){
if(this.getFromType() != null){
EnumCUserFrom anEnum = EnumCUserFrom.getEnum(this.getFromType());
if(anEnum != null){
fromTypeDesc = anEnum.getMessage();
}
}
return fromTypeDesc;
}

@io.swagger.annotations.ApiModelProperty(value="来源ID",name="fromId") @io.swagger.annotations.ApiModelProperty(value="来源ID",name="fromId")
protected Long fromId; protected Long fromId;
@TableField(exist = false) @TableField(exist = false)


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