package com.sqx.modules.artificer.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.models.auth.In;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

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

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

    private static final long serialVersionUID = 1L;

    /**
     * 查询类型
     */
    private Integer fundType;
    /**
     * 充值类型
     */
    private Integer detailsType;
    /**
     * 查询时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date fundData;
    /**
     * 技师id
     */
    private String artificerId;
    /**
     * 订单
     */
    private String orderId;
    /**
     * 查询开始时间
     */
    @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;

}