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;

/**
 * 项目名: yhlxj2
 * 文件名: GoodsDonSkuSubsidyAvailableView
 * 创建者: JavaZou
 * 创建时间:2024/4/17 17:27
 */
@Getter
@Setter
@SearchBean(tables = "(select id,spec_val,price from goods_don_sku where status is true :gid:) sku left join goods_don_sku_subsidy gss on gss.sku_id = sku.id and gss.deleted is true", where = "gss.id is null")
public class GoodsDonSkuSubsidyAvailableView {

	@DbField("sku.id")
	private Long skuId;

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

	@DbField("sku.price")
	private BigDecimal price;
}
