package com.cyksj.model.views;

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

/*
 *项目名: netflix
 *文件名: CorpUserFollowView
 *创建者: JavaZou
 *创建时间:2023/3/3 10:59
 */
@Getter
@Setter
@SearchBean(tables = "corp_user cu left join corp_user_auth ca on ca.corp_user_id = cu.id" +
		" left join corp_user_follow_relation cr on cr.corp_user_id = ca.external_userid" +
		" and cr.wx_corp_id = ca.wx_corp_id",
		where = "ca.wx_corp_id = 2")
public class CorpUserFollowView {

	@DbField("cu.id")
	private Long corpUserId;

	@DbField("cu.unionid")
	private String unionId;

	@DbField("cr.follow_id")
	private String followId;

	@DbField("cr.status")
	private Integer status;
}
