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
 *文件名: FormSubmitDataView
 *创建者: JavaZou
 *创建时间:2023/6/15 11:55
 */
@Getter
@Setter
@SearchBean(tables = "form_fields_data fd left join form_fields ff on ff.id = fd.fields_id left join user u on u.id = fd.user_id ",
		where = "fd.deleted is true :time_sql:")
public class FormSubmitDataView {
	@DbField("fd.id")
	private Long id;

	@DbField("fd.groups_id")
	private Long groupsId;

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

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

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

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

	@DbField("ff.sorted")
	private Integer sorted;

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

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

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