package com.cyksj.model.views;

import com.ejlchina.searcher.bean.DbField;
import com.ejlchina.searcher.bean.DbIgnore;
import com.ejlchina.searcher.bean.SearchBean;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 项目名: yhlxj
 * 文件名: MidjourneyUserPaintingDayRecordView
 * 创建者: JavaZou
 * 创建时间:2024/6/4 15:42
 */
@Getter
@Setter
@SearchBean(tables = "midjourney_user_conversation mc"
		, where = "mc.status = 'SUCCESS' :condition:"
		, groupBy = "DATE_FORMAT(mc.created_time,'%Y-%m-%d')",
		orderBy = "DATE_FORMAT(mc.created_time,'%Y-%m-%d') desc")
public class MidjourneyUserPaintingDayRecordView {

	@DbField("DATE_FORMAT(mc.created_time,'%Y-%m-%d')")
	private String date;

	@DbIgnore
	private List<MidjourneyUserPaintingRecordView> list;
}
