package com.cyksj.model.views;

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

/*
 *项目名: netflix
 *文件名: NewRedBookUsersView
 *创建者: JavaZou
 *创建时间:2023/5/31 14:35
 */
@Getter
@Setter
@SearchBean(tables = "statistics_user_data",
		groupBy = "date_format(statistics_date,'%Y-%m-%d')")
public class NewRedBookUsersView {
	/**
	 * 企业新增用户数
	 */
	@DbField("sum(num_of_red_book_user)")
	private Integer numOfUser;

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