package com.yonge.cooleshow.biz.dal.entity;

import com.yonge.cooleshow.biz.dal.enums.MessageIconTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;

import com.yonge.cooleshow.biz.dal.enums.MessageTypeEnum;

/**
 * 对应数据库表(sys_message_config):
 */
@Data
public class SysMessageConfig {

	/**  */
	private Long id;

	/** 消息类型 */
	private MessageTypeEnum messageType;

	/** 消息二级类型  */
	private MessageIconTypeEnum  subType;

	/** 消息内容 */
	private String content;

	/** 描述 */
	private String description;

	/** 最后修改时间 */
	private java.util.Date modifyOn;

	/** 跳转url */
	private String url;
	
	private String group;

	private Integer sendFlag;

	@ApiModelProperty("消息跳转类型  h5,app")
	private String action;

	@ApiModelProperty("跳转到那个页面")
	private String pageTag;

	@ApiModelProperty("其他参数 app参数，h5直接拼接在链接里")
	private String params;

	@ApiModelProperty("h5跳转链接")
	private String actionUrl;

	@ApiModelProperty("图标")
	private String icon;

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}
