package com.YuyeTech.TPlat.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author:slambb
 * @date:2020/1/10
 */
@Data
public class FcDTO {
    private Integer gameId;
    private String gameName;
    private String gameDescription;
    private String gameIcon;
    private String gamePicture;
    private String gameDownloadUrl;
    private Boolean gameFavorite;

    /** 排行榜的游戏id. */
    private String gameRankingId;
    /** 是否在排行榜显示的游戏 0 是隐藏，1是显示. */
    private Boolean gameRankingShow;


    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date createTime;
//    private Integer gameStatus;
//    private Integer gameType;

    public FcDTO(Integer gameId,
                 String gameName,
                 String gameIcon,
                 String gameDescription,
                 String gamePicture,
                 String gameDownloadUrl,
                 Boolean gameFavorite,
                 String gameRankingId,
                 Boolean gameRankingShow,
                 Date createTime) {
        this.gameId = gameId;
        this.gameIcon = gameIcon;
        this.gameName = gameName;
        this.gameDescription = gameDescription;
        this.gamePicture = gamePicture;
        this.gameDownloadUrl = gameDownloadUrl;
        this.gameFavorite = gameFavorite;
        this.gameRankingId = gameRankingId;
        this.gameRankingShow = gameRankingShow;
        this.createTime = createTime;
    }
}
