package com.cyksj.model.views;

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

/**
 * 项目名: yhlxj
 * 文件名: DistributePosterGoodsDetailView
 * 创建者: JavaZou
 * 创建时间:2024/6/24 15:32
 */

@Getter
@Setter
@SearchBean(tables = "distribute_poster_goods dp inner join goods_don g on g.id = dp.goods_id",
		where = "dp.status is true and g.status is true and g.deleted is true")
public class DistributePosterGoodsDetailView {
	@DbField("dp.id")
	private Long id;

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

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

	@DbField("dp.name")
	private String name;

	@DbField("dp.img")
	private String img;

	@DbField("dp.sku_ids")
	private String skuIds;

	@DbIgnore
	private String nickname;

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

	@DbIgnore
	private Long rid;
}
