package org.xyzh.common.dto.study;

import org.xyzh.common.dto.BaseDTO;
import java.util.Date;

/**
 * @description 学习统计表
 * @filename TbLearningStatistics.java
 * @author yslg
 * @copyright xyzh
 * @since 2025-10-15
 */
public class TbLearningStatistics extends BaseDTO {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * @description 用户ID
     */
    private String userID;
    
    /**
     * @description 统计日期
     */
    private Date statDate;
    
    /**
     * @description 总学习时长（秒）
     */
    private Integer totalDuration;
    
    /**
     * @description 学习资源数量
     */
    private Integer resourceCount;
    
    /**
     * @description 学习课程数量
     */
    private Integer courseCount;
    
    /**
     * @description 完成数量
     */
    private Integer completeCount;
    
    /**
     * @description 创建者
     */
    private String creator;
    
    /**
     * @description 更新者
     */
    private String updater;

    /**
     * @description 创建时间
     */
    private Date createTime;

    /**
     * @description 更新时间
     */
    private Date updateTime;
    
    /**
     * @description 删除时间
     */
    private Date deleteTime;
    
    /**
     * @description 是否删除
     */
    private Boolean deleted;

    public String getUserID() {
        return userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public Date getStatDate() {
        return statDate;
    }

    public void setStatDate(Date statDate) {
        this.statDate = statDate;
    }

    public Integer getTotalDuration() {
        return totalDuration;
    }

    public void setTotalDuration(Integer totalDuration) {
        this.totalDuration = totalDuration;
    }

    public Integer getResourceCount() {
        return resourceCount;
    }

    public void setResourceCount(Integer resourceCount) {
        this.resourceCount = resourceCount;
    }

    public Integer getCourseCount() {
        return courseCount;
    }

    public void setCourseCount(Integer courseCount) {
        this.courseCount = courseCount;
    }

    public Integer getCompleteCount() {
        return completeCount;
    }

    public void setCompleteCount(Integer completeCount) {
        this.completeCount = completeCount;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public Date getCreateTime() {
      return createTime;
    }

    public void setCreateTime(Date createTime) {
      this.createTime = createTime;
    }

    public Date getUpdateTime() {
      return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }


    @Override
    public String toString() {
        return "TbLearningStatistics{" +
                "id=" + getID() +
                ", userID='" + userID + '\'' +
                ", statDate=" + statDate +
                ", totalDuration=" + totalDuration +
                ", resourceCount=" + resourceCount +
                ", courseCount=" + courseCount +
                ", completeCount=" + completeCount +
                '}';
    }
}
