package com.cyksj.model.views;

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

/*
 *项目名: netflix
 *文件名: UserBusinessDefaultRateConfigView
 *创建者: JavaZou
 *创建时间:2023/3/28 17:25
 */
@Getter
@Setter
@SearchBean(tables = "goods_don g left join user_business_default_rate_config uc on g.id = uc.goods_id"
		, where = "g.deleted is true and g.status is true and g.is_distribute is true")
public class UserBusinessDefaultRateConfigView {
	@DbField("uc.id")
	private Long id;

	@DbField("g.id")
	private Long goodsId;

	@DbField("g.type")
	private Integer type;

	@DbField("g.title")
	private String goodsName;

	@DbField("uc.rate")
	private Integer rate;

	@DbField("uc.max_rate")
	private Integer maxRate;

	@DbField("uc.is_plat_pay")
	private Boolean isPlatPay;
}
