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;

/*
 *项目名: netflix
 *文件名: GoodsDonSkuView
 *创建者: JavaZou
 *创建时间:2022/11/28 15:05
 */
@Getter
@Setter
@SearchBean(tables = "goods_don gd left join goods_don_sku gdk on gdk.goods_id = gd.id")
public class GoodsDonSkuView {
	@DbField("gd.id")
	private Long goodsId;

	@DbField("gd.logo")
	private String logo;

	@DbField("gd.title")
	private String goodsTitle;

	@DbField("gd.type")
	private Integer type;

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

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

	@DbField("gdk.spec_json")
	private String specJson;

	@DbField("gdk.days")
	private Integer days;

	@DbField("gdk.months")
	private Integer months;

	@DbField("gdk.price")
	private BigDecimal money;

	@DbField("gd.status")
	private Boolean goodsDonStatus;

	@DbField("gd.deleted")
	private Boolean goodsDonDeleted;

	@DbField("gdk.status")
	private Boolean goodsDonSkuStatus;

	@DbField("gdk.num")
	private Integer num;
}
