From cc6bb32f2284469735ed017ecc522d9ee2e91a17 Mon Sep 17 00:00:00 2001 From: xhxu Date: Fri, 15 Jan 2021 14:37:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E4=BA=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/iformall/domain/po/WxCUserFrom.java | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/mallinkService/src/main/java/com/iformall/domain/po/WxCUserFrom.java b/mallinkService/src/main/java/com/iformall/domain/po/WxCUserFrom.java index e829d0877..50044dee3 100644 --- a/mallinkService/src/main/java/com/iformall/domain/po/WxCUserFrom.java +++ b/mallinkService/src/main/java/com/iformall/domain/po/WxCUserFrom.java @@ -21,6 +21,22 @@ public class WxCUserFrom extends TenantEntity { 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") protected Long cUserId; @TableField(exist = false) @@ -42,22 +58,6 @@ public class WxCUserFrom extends TenantEntity { @io.swagger.annotations.ApiModelProperty(value="sceneAddress描述",name="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") protected Long fromId; @TableField(exist = false)