package com.cyksj.model.views;

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

/*
 *项目名: netflix
 *文件名: NewAllUserView
 *创建者: JavaZou
 *创建时间:2023/4/3 10:23
 */
@Getter
@Setter
@SearchBean(tables = "user",
		groupBy = "date_format(created_time,'%Y-%m-%d')")
public class NewAllUserView {
	/**
	 * 所有新增用户数
	 */
	@DbField("count(*)")
	private Integer numOfAllNewUser;

	/**
	 * 日期
	 */
	@DbField("date_format(created_time,'%Y-%m-%d')")
	private String date;
}
