package com.cyksj.model.views;

import com.ejlchina.searcher.bean.DbField;
import com.ejlchina.searcher.bean.SearchBean;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;

/*
 *项目名: netflix
 *文件名: TicketAdvertiseConfigFrontView
 *创建者: JavaZou
 *创建时间:2023/7/12 14:16
 */
@Getter
@Setter
@SearchBean(tables = "ticket_advertise_config tc left join goods_don g on g.id = tc.goods_id"
		, where = "tc.deleted is true and tc.status is true")
public class TicketAdvertiseConfigFrontView {
	@DbField("tc.id")
	private Long configId;

	@DbField("tc.goods_id")
	private Long goodsId;

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

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

	@DbField("tc.link")
	private String link;

	@DbField("tc.pic")
	private String pic;

	@DbField("tc.sorted")
	@JsonIgnore
	private Integer sorted;
}
