package com.pandoli365.bibimbap.data;

import java.time.OffsetDateTime;
import java.util.Map;

public class GameReviewData {

    private Long id;
    private Long gameId;
    private Long userId;
    private Integer rating;
    private String body;
    private Boolean ratingManual;
    private OffsetDateTime createdAt;
    private OffsetDateTime updatedAt;
    private OffsetDateTime deletedAt;

    // 비영속 (목록 JOIN alias / SELECT 계산 alias / reviewView 조립용)
    private String authorName;
    private Boolean edited;
    private Map<String, Integer> axes;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getGameId() {
        return gameId;
    }

    public void setGameId(Long gameId) {
        this.gameId = gameId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getRating() {
        return rating;
    }

    public void setRating(Integer rating) {
        this.rating = rating;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public OffsetDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(OffsetDateTime createdAt) {
        this.createdAt = createdAt;
    }

    public OffsetDateTime getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(OffsetDateTime updatedAt) {
        this.updatedAt = updatedAt;
    }

    public OffsetDateTime getDeletedAt() {
        return deletedAt;
    }

    public void setDeletedAt(OffsetDateTime deletedAt) {
        this.deletedAt = deletedAt;
    }

    public String getAuthorName() {
        return authorName;
    }

    public void setAuthorName(String authorName) {
        this.authorName = authorName;
    }

    public Boolean getEdited() {
        return edited;
    }

    public void setEdited(Boolean edited) {
        this.edited = edited;
    }

    public Boolean getRatingManual() {
        return ratingManual;
    }

    public void setRatingManual(Boolean ratingManual) {
        this.ratingManual = ratingManual;
    }

    public Map<String, Integer> getAxes() {
        return axes;
    }

    public void setAxes(Map<String, Integer> axes) {
        this.axes = axes;
    }
}
