package org.jeecg.modules.system.app.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 首页统计历史记录表
 * @Author: jeecg-boot
 * @Date:   2025-08-18
 * @Version: V1.0
 */
@Data
@TableName("nm_statistics_info_his")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description="首页统计历史记录表")
public class StatisticsInfoHis implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键id*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键id")
    private String id;
	/**日期 列如20250813*/
	@Excel(name = "日期 列如20250813", width = 15)
    @Schema(description = "日期 列如20250813")
    private Integer dateDaily;
	/**销售金额*/
	@Excel(name = "销售金额", width = 15)
    @Schema(description = "销售金额")
    private BigDecimal saleMoney;
	/**有效订单数*/
	@Excel(name = "有效订单数", width = 15)
    @Schema(description = "有效订单数")
    private Integer effectiveOrderNum;
	/**预计收入*/
	@Excel(name = "预计收入", width = 15)
    @Schema(description = "预计收入")
    private BigDecimal expectIncomeMoney;
	/**消费人数*/
	@Excel(name = "消费人数", width = 15)
    @Schema(description = "消费人数")
    private Integer consumeNumber;
	/**新增用户数*/
	@Excel(name = "新增用户数", width = 15)
    @Schema(description = "新增用户数")
    private Integer addNumber;
	/**机构编码*/
	@Excel(name = "机构编码", width = 15)
    @Schema(description = "机构编码")
    private String orgCode;
	/**商户id*/
	@Excel(name = "商户id", width = 15)
    @Schema(description = "商户id")
    private String deptId;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建时间")
    private Date createTime;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "修改时间")
    private Date updateTime;
	/**明细id*/
	@Excel(name = "明细id", width = 15)
    @Schema(description = "明细id")
    private String receipPaymentDetailsId;
	/**自增主键*/
	@Excel(name = "自增主键", width = 15)
    @Schema(description = "自增主键")
    private Integer incrementId;
}
