package com.cyksj.model.views;

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

/*
 *项目名: netflix
 *文件名: UserDistributeBusinessRateView
 *创建者: JavaZou
 *创建时间:2023/3/23 14:24
 */
@Getter
@Setter
@SearchBean(tables = "user_distribute ud left join user_distribute_business_rate ubr on ubr.business_id = ud.business_id"
		, where = "ud.deleted is true")
public class UserDistributeBusinessRateView {
	@DbField("ud.user_id")
	private Long sharedId;

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

	@DbField("ubr.first_order_rate")
	private Integer firstOrderRate;

	@DbField("ubr.renew_order_rate")
	private Integer renewOrderRate;
}
