package com.cyksj.model.views;

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

/*
 *项目名: netflix
 *文件名: NewPcUserView
 *创建者: JavaZou
 *创建时间:2023/4/3 9:59
 */
@Getter
@Setter
@SearchBean(tables = "user",
		where = "(login_phone != '' or email != '')"
		, groupBy = "date_format(created_time,'%Y-%m-%d')")
public class NewPcUserView {
	/**
	 * 当前日期订单金额
	 */
	@DbField("count(*)")
	private Integer numOfUser;

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