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
 * 文件名: UserFeedbackRecordView
 * 创建者: JavaZou
 * 创建时间:2024/10/11 15:46
 */
@Getter
@Setter
@SearchBean(tables = "user_feedback_record ufr left join user u on u.id = ufr.user_id" +
		" left join goods_don g on g.id = ufr.goods_id",
orderBy = "ufr.update_time desc")
public class UserFeedbackRecordView {
	@DbField("ufr.id")
	private Long id;

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

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

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

	/**
	 * 平台名称
	 */
	@DbField("g.title")
	private String goodsTitle;

	/**
	 * 描述
	 */
	@DbField("ufr.description")
	private String description;

	/**
	 * 手机号
	 */
	@DbField("ufr.phone")
	private String phone;

	/**
	 * 是否有新留言
	 */
	@DbField("ufr.is_new_message")
	private Boolean isNewMessage;

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

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

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