package com.cyksj.model.views;

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

import javax.validation.constraints.NotBlank;

/*
 *项目名: netflix
 *文件名: RegisterGoodsDonView
 *创建者: JavaZou
 *创建时间:2023/7/3 15:12
 */
@Getter
@Setter
@SearchBean(tables = "register_goods_don rd",
		where = "rd.deleted is true and rd.status is true")
public class RegisterGoodsDonView {
	private Long id;

	/**
	 * 标签
	 */
	private String tags;

	/**
	 * 商品名称
	 */
	@NotBlank(message = "请填写标题")
	private String title;

	/**
	 * 缩略图
	 */
	private String logo;

	/**
	 * 背景图
	 */
	private String img;

	/**
	 * 详情
	 */
	private String detail;

	/**
	 * 描述
	 */
	private String remark;

	private String banner;

	/**
	 * 排序
	 */
	@JsonIgnore
	private Integer sortBy;

	/**
	 * 虚拟销量
	 */
	@JsonIgnore
	private Integer virtualSold;

	@DbIgnore
	private Integer sold;

	/**
	 * 购买通知信息
	 */
	@DbIgnore
	private String notifyMsg;

	/**
	 * 付款说明
	 */
	private String payDesc;
}
