package com.cyksj.model.views;

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

/*
 *项目名: netflix
 *文件名: GoodsSkuGiftCardView
 *创建者: JavaZou
 *创建时间:2023/8/28 14:23
 */
@Getter
@Setter
@SearchBean(tables = "goods_don g left join goods_don_sku sku on sku.id = g.goods_id",
		where = "g.deleted is true and g.status is true and sku.true is true")
public class GoodsSkuGiftCardView {
	@DbField("g.id")
	private Long goodsId;

	@DbField("g.sku_id")
	private Long skuId;

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

	@DbField("sku.spec_val")
	private String specVal;
}
