36 lines
845 B
Java
36 lines
845 B
Java
package com.gxwebsoft.common.system.entity;
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import lombok.Data;
|
|
|
|
import java.io.Serializable;
|
|
|
|
/**
|
|
* 微信公众号模板消息对象
|
|
*
|
|
* @author WebSoft
|
|
* @since 2018-12-24 16:10:54
|
|
*/
|
|
@Data
|
|
@ApiModel(description = "模板消息内容")
|
|
public class TemplateMessageDTO implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
@ApiModelProperty("消息实参")
|
|
@TableField(exist = false)
|
|
private String value;
|
|
|
|
@ApiModelProperty("消息颜色")
|
|
private String color;
|
|
|
|
public TemplateMessageDTO(String value) {
|
|
this.value = value;
|
|
}
|
|
public TemplateMessageDTO(String value, String color) {
|
|
this.value = value;
|
|
this.color = color;
|
|
}
|
|
}
|