package com.sqx.modules.artificer.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sqx.modules.app.entity.UserMoneyDetails;
import com.sqx.modules.app.entity.UserSadDetails;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @description agency
 * @author fang
 * @date 2021-12-30
 */
@Data
public class FundDetailsResult implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 收益
     */
    private String income;
    /**
     * 钱包明细
     */
    private IPage<UserMoneyDetails> userMoneyDetailsList;
    /**
     * 钱包明细
     */
    private IPage<UserSadDetails> userSadDetailsList;
    /**
     * 查询开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startFundData;
    /**
     * 查询结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endFundData;
}