You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
2.4 KiB
60 lines
2.4 KiB
package com.example.demo.domain.entity;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
|
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
|
|
import lombok.Data;
|
|
import lombok.NoArgsConstructor;
|
|
|
|
import java.io.Serializable;
|
|
import java.time.LocalDate;
|
|
import java.util.Date;
|
|
|
|
/**
|
|
* @program: gold-java
|
|
* @ClassName Statistics
|
|
* @description:
|
|
* @author: Ethan
|
|
* @create: 2025−06-20 16:12
|
|
* @Version 1.0
|
|
**/
|
|
|
|
@Data
|
|
@NoArgsConstructor
|
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
public class Statistics implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
private Integer id; // id
|
|
private String market;// 地区
|
|
private Integer currentGold; // 当前金币余量
|
|
private Integer dailyChange; // 余量较前一日变化
|
|
private Integer currentPermanent; // 余量-永久金币
|
|
private Integer currentFreeJune; // 余量-六月到期免费金币
|
|
private Integer currentFreeDecember; // 余量-十二月到期免费金币
|
|
private Integer currentTask; // 余量-任务金币
|
|
private Integer recharge; // 当日充值(永久+免费)
|
|
private Integer money; // 当日金额(永久)
|
|
private Integer consumePermanent; // 当日新增消费(永久)
|
|
private Integer consumeFreeJune; // 当日新增消费(六月免费)
|
|
private Integer consumeFreeDecember; // 当日新增消费(十二月免费)
|
|
private Integer consumeTask; // 当日新增消费(任务)
|
|
private Integer refundPermanent; // 当日新增退款(永久)
|
|
private Integer refundFreeJune; // 当日新增退款(六月免费)
|
|
private Integer refundFreeDecember; // 当日新增退款(十二月免费)
|
|
private Integer refundTask; // 当日新增退款(任务)
|
|
private Integer rechargeNum; // 当日充值人数
|
|
private Integer firstRecharge; // 当日首充人数
|
|
// 数据日期
|
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
|
@JsonDeserialize(using = LocalDateDeserializer.class)
|
|
private LocalDate currentDatetime;
|
|
// 创建时间
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
|
|
private Date createTime;
|
|
// 更新时间
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
|
|
private Date updateTime;
|
|
}
|