package com.cyksj.model.views;

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

import java.math.BigDecimal;
import java.util.Date;

/**
 * 项目名: yhlxj2
 * 文件名: GoodsDonSkuSubsidyView
 * 创建者: JavaZou
 * 创建时间:2024/4/11 12:18
 */
@SearchBean(tables = "goods_don_sku_subsidy gs inner join goods_don_sku sku on sku.id = gs.sku_id inner join goods_don g on g.id = sku.goods_id",
		where = "gs.deleted is true")
@Getter
@Setter
public class GoodsDonSkuSubsidyView {

	@DbField("gs.id")
	private Long id;

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

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

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

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

	@DbField("gs.price")
	private BigDecimal price;

	@DbField("gs.picture")
	private String picture;

	@DbField("gs.status")
	private Boolean status;

	@DbField("gs.created_time")
	private Date createdTime;
}
