package com.cyksj.model.views;

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

/**
 * 项目名: yhlxj
 * 文件名: YhShopAvailableGoodsView
 * 创建者: JavaZou
 * 创建时间:2023/9/28 14:12
 */
@Getter
@Setter
@SearchBean(tables = "yh_shop_goods_rate yr left join goods_don g on g.id = yr.goods_id",
		where = "g.type = 1 and g.deleted is true and g.status is true and g.is_distribute is true :condition:"
		, groupBy = "g.id,g.title")
public class YhShopAvailableGoodsView {
	@DbField("g.id")
	private Long goodsId;

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