package studycave.studycaverestservice.model.simpleTest.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.sql.Date;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SimpleTestDTO {
    private Long id;
    private String title;
    private String owner;
    @JsonIgnore
    private Long idOwner;
    private Date addDate;
    private Date editDate;
    @ApiModelProperty(value = "Default value for note", required = true,example = "public")
    private String permission;
    private Float grade;
    private String group;

    private int maxScore;

}
