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;

/*
 *项目名: netflix
 *文件名: FormFieldsDataView
 *创建者: JavaZou
 *创建时间:2023/6/12 14:13
 */
@Getter
@Setter
@SearchBean(tables = "form_fields_data fa left join user u on fa.user_id = u.id",
		where = "fa.deleted is true :time_sql:")
public class FormFieldsDataView {
	@DbField("fa.id")
	private Integer id;

	@DbField("fa.promotion_id")
	private Long promotionId;

	@DbField("fa.fields_name")
	private String fieldsName;

	@DbField("fa.fields_id")
	private Long fieldsId;

	@DbField("fa.content")
	private String content;

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

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

	@DbField("fa.created_time")
	private Date createdTime;
}
