package com.upyuns.platform.rs.website.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.github.wxiaoqi.security.common.vo.PageParam;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class GainDataDTO extends PageParam {
    private String id;
    private String menuId;
    private String name;
    private String topMenuId;
    private String supplier;
    //
    private String time;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date crtTimeStart;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date crtTimeEnd;
}
