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.
43 lines
1.7 KiB
43 lines
1.7 KiB
package com.example.demo.domain.entity;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
import lombok.Data;
|
|
import lombok.NoArgsConstructor;
|
|
|
|
import java.io.Serializable;
|
|
import java.util.Date;
|
|
|
|
@Data
|
|
@NoArgsConstructor
|
|
@JsonIgnoreProperties(ignoreUnknown = true)
|
|
public class User implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
private Integer id; // 客户id
|
|
private Integer jwcode; // 精网号
|
|
private String name; // 客户姓名
|
|
private String market; // 所属地区
|
|
private Integer sumPermanentGold; // 历史永久金币
|
|
private Integer sumFreeJune; // 历史六月免费金币
|
|
private Integer sumFreeDecember; // 历史十二月免费金币
|
|
private Integer sumTaskGold; // 历史任务金币
|
|
private Integer currentPermanentGold; // 当前永久金币
|
|
private Integer currentFreeJune; // 当前六月免费金币
|
|
private Integer currentFreeDecember; // 当前十二月免费金币
|
|
private Integer currentTaskGold; // 当前任务金币
|
|
private Integer rechargeNum; // 充值次数
|
|
private Integer sumConsume; // 历史消费
|
|
private Integer consumeNum; // 消费次数
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
|
|
private Date firstRecharge; // 首充日期
|
|
|
|
@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; // 更新时间
|
|
private String sortField; //排序字段
|
|
private String sortOrder; //排序顺序
|
|
}
|