package com.cyksj.model.views;

import com.cyksj.model.entity.GoodsDonSku;
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.List;

/**
 * 项目名: yhlxj
 * 文件名: GoodsDetailView
 * 创建者: JavaZou
 * 创建时间:2024/5/31 14:15
 */
@Getter
@Setter
@SearchBean(tables = "goods_don g", where = ":condition:")
public class GoodsDetailView {
	@DbField("g.id")
	private Long id;

	/**
	 * 1.虚拟，2.实物，3.潮玩，4.租赁
	 */
	@DbField("g.type")
	private Integer type;

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

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

	@DbField("g.deleted")
	private Boolean deleted;

	@DbIgnore
	private List<GoodsDonSku> skuList;
}
