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.util.Date;

/**
 * 项目名: yhlxj2
 * 文件名: UserRecommendGoodsRecordView
 * 创建者: JavaZou
 * 创建时间:2024/10/11 16:02
 */
@Getter
@Setter
@SearchBean(tables = "user_recommend_goods_record ur left join user u on u.id = ur.user_id")
public class UserRecommendGoodsRecordView {
	@DbField("ur.id")
	private Long id;

	@DbField("ur.user_id")
	private Long userId;

	@DbField("u.nickname")
	private String nickname;

	/**
	 * 推荐平台
	 */
	@DbField("ur.goods_title")
	private String goodsTitle;

	/**
	 * 相关参考链接
	 */
	@DbField("ur.url")
	private String url;

	/**
	 * 使用说明
	 */
	@DbField("ur.remark")
	private String remark;

	@DbField("ur.files")
	private String files;

	@DbField("ur.created_time")
	private Date createdTime;

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