|
|
|
@@ -1,7 +1,9 @@ |
|
|
|
package com.iformall.domain.po; |
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableField; |
|
|
|
import com.baomidou.mybatisplus.annotation.TableName; |
|
|
|
import com.iformall.domain.po.base.TenantEntity; |
|
|
|
import com.iformall.enums.EnumTemplateType; |
|
|
|
import lombok.Data; |
|
|
|
import lombok.EqualsAndHashCode; |
|
|
|
|
|
|
|
@@ -27,4 +29,16 @@ public class WxTemplateMsg extends TenantEntity { |
|
|
|
@io.swagger.annotations.ApiModelProperty(value="消息开关(0/1)",name="onOff") |
|
|
|
private Integer onOff; |
|
|
|
|
|
|
|
@io.swagger.annotations.ApiModelProperty(value="模板类型1:核销成功消息,2:核销失败消息, 101:公众号审核结果消息, 102:公众号卡券核销消息",name="type") |
|
|
|
@TableField(exist = false) |
|
|
|
private String typeName; |
|
|
|
|
|
|
|
|
|
|
|
public String getTypeName(){ |
|
|
|
if(this.getType() != null) { |
|
|
|
this.typeName = EnumTemplateType.getEnum(this.getType()).name(); |
|
|
|
} |
|
|
|
return typeName; |
|
|
|
} |
|
|
|
|
|
|
|
} |