package studycave.studycaverestservice.model.material.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.sql.Date;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class MaterialGetDTO {
    private Long id;
    private String title;
    private String owner;
    private String permission;
    @JsonProperty("add_date")
    private Date addDate;
    @JsonProperty("edit_date")
    private Date editDate;
    private int grade;
    private String group;

}
