package com.cyksj.model.views;

import com.ejlchina.searcher.bean.DbField;
import com.ejlchina.searcher.bean.DbIgnore;
import com.ejlchina.searcher.bean.SearchBean;
import lombok.Getter;
import lombok.Setter;

/*
 *项目名: netflix
 *文件名: WxAppTemplateView
 *创建者: JavaZou
 *创建时间:2023/1/16 13:39
 */
@Getter
@Setter
@SearchBean(tables = "gzh_msg_template_relation gtr left join wx_app wa on wa.id = gtr.wx_app_id")
public class WxAppTemplateView {
	@DbField("gtr.id")
	private Long id;

	@DbField("gtr.wx_app_id")
	private Long wxAppId;

	@DbField("gtr.template_id")
	private String templateId;

	@DbField("gtr.type")
	private String type;

	@DbField("gtr.remark")
	private String remark;

	/**
	 * 公众号appid
	 */
	@DbField("wa.app_id")
	private String appId;

	/**
	 * 发放模板消息的用户openid
	 */
	@DbIgnore
	private String openId;
}
