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;

import java.util.Date;

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

@Getter
@Setter
@SearchBean(tables = "distribute_poster_goods dp inner join goods_don g on g.id = dp.goods_id",
		orderBy = "dp.update_time desc")
public class DistributePosterGoodsView {
	@DbField("dp.id")
	private Long id;

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

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

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

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

	@DbIgnore
	private String specVal;

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

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

	@DbField("dp.created_time")
	private Date createdTIme;

	@DbField("dp.update_time")
	private Date updateTime;
}
