package com.boying.entity; import com.boying.common.BaseEntity; import javax.persistence.Entity; import javax.persistence.Table; @Table(name = "studyRecord") @Entity public class StudyRecord extends BaseEntity { private Long studyId; private Long userId; private int time;//分钟 private String userName; private String studyName; private int type;//0:pdf 1:mp4 private int status;//0未学完 1学完了 private double xueShi;//学时 public Long getStudyId() { return studyId; } public void setStudyId(Long studyId) { this.studyId = studyId; } public Long getUserId() { return userId; } public void setUserId(Long userId) { this.userId = userId; } public int getTime() { return time; } public void setTime(int time) { this.time = time; } public String getUserName() { return userName; } public void setUserName(String userName) { this.userName = userName; } public String getStudyName() { return studyName; } public void setStudyName(String studyName) { this.studyName = studyName; } public int getType() { return type; } public void setType(int type) { this.type = type; } public int getStatus() { return status; } public void setStatus(int status) { this.status = status; } public double getXueShi() { return xueShi; } public void setXueShi(double xueShi) { this.xueShi = xueShi; } }