package com.cyksj.model.views;

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

/*
 *项目名: netflix
 *文件名: UserDistributeBusinessInfoView
 *创建者: JavaZou
 *创建时间:2023/5/8 12:02
 */
@Getter
@Setter
@SearchBean(tables = "user_distribute ud left join cms_user cu on cu.id = ud.business_id" +
		" inner join user u on u.id = ud.user_id",
		where = "ud.deleted is true")
public class UserDistributeBusinessInfoView {
	@DbField("ud.user_id")
	private Long userId;

	@DbField("ud.business_id")
	private Long businessId;

	@DbField("u.nickname")
	private String distributeName;

	@DbField("cu.nickname")
	private String businessName;
}
