package com.cyksj.model.views;

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

/*
 *项目名: netflix
 *文件名: NewUserCommonView
 *创建者: JavaZou
 *创建时间:2023/4/3 9:54
 */
@Getter
@Setter
@SearchBean(tables = "user",
		where = "unionid != ''",
		groupBy = "date_format(created_time,'%Y-%m-%d')")
public class NewUserView {
	/**
	 * h5新增用户数
	 */
	@DbField("count(distinct unionid)")
	private Integer numOfUser;

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