package com.qxgmat.dto.response;

import com.nuliji.tools.annotation.Dto;
import com.qxgmat.data.dao.entity.UserClass;
import com.qxgmat.dto.extend.UserHomeworkPreviewExtendDto;

import java.util.Date;
import java.util.List;

@Dto(entity = UserClass.class)
public class UserClassDetailDto {
    private Integer category;
    private Date startTime;
    private Date expireTime;
    private Boolean payed;

    private List<UserHomeworkPreviewExtendDto> previews;

    public List<UserHomeworkPreviewExtendDto> getPreviews() {
        return previews;
    }

    public void setPreviews(List<UserHomeworkPreviewExtendDto> previews) {
        this.previews = previews;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }

    public Boolean getPayed() {
        return payed;
    }

    public void setPayed(Boolean payed) {
        this.payed = payed;
    }

    public Integer getCategory() {
        return category;
    }

    public void setCategory(Integer category) {
        this.category = category;
    }
}
