package com.cyksj.model.views;

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

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

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