package com.qxueyou.scc.teach.subject.model.view;
|
// Generated 2018-3-19 20:40:08 by Hibernate Tools 5.2.8.Final
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
import javax.persistence.AttributeOverride;
|
import javax.persistence.AttributeOverrides;
|
import javax.persistence.Column;
|
import javax.persistence.EmbeddedId;
|
import javax.persistence.Entity;
|
import javax.persistence.Table;
|
import javax.persistence.Temporal;
|
import javax.persistence.TemporalType;
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import org.springframework.transaction.annotation.Transactional;
|
|
/**
|
* MySubjectV generated by hbm2java
|
*/
|
@Entity
|
@Table(name = "my_lecture_v")
|
@Transactional(readOnly = true)
|
public class MyLectureV implements java.io.Serializable {
|
|
private static final long serialVersionUID = -332455459706490649L;
|
|
private MyLectureVId id;
|
|
private String chapterId;
|
private String lectureType;
|
private String lectureName;
|
private String userName;
|
private String subjectName;
|
private Date lectureUpdateTime;
|
private BigDecimal progressValue;
|
private Double percent;
|
private String subjectId;
|
private String classId;
|
private Date lectureCreateTime;
|
// private String status;
|
|
public MyLectureV() {
|
}
|
|
public MyLectureV(MyLectureVId id) {
|
this.id = id;
|
}
|
|
@EmbeddedId
|
@AttributeOverrides({@AttributeOverride(name = "userId", column = @Column(name = "USER_ID", length = 32)),
|
@AttributeOverride(name = "lectureId", column = @Column(name = "LECTURE_ID", nullable = false, length = 32)),})
|
public MyLectureVId getId() {
|
return this.id;
|
}
|
|
public void setId(MyLectureVId id) {
|
this.id = id;
|
}
|
|
@Column(name = "SUBJECT_NAME")
|
public String getSubjectName() {
|
return subjectName;
|
}
|
|
public void setSubjectName(String subjectName) {
|
this.subjectName = subjectName;
|
}
|
|
@Column(name = "PROGRESS_VALUE")
|
public BigDecimal getProgressValue() {
|
return this.progressValue;
|
}
|
|
public void setProgressValue(BigDecimal progressValue) {
|
this.progressValue = progressValue;
|
}
|
|
@Column(name = "CHAPTER_ID")
|
public String getChapterId() {
|
return chapterId;
|
}
|
|
public void setChapterId(String chapterId) {
|
this.chapterId = chapterId;
|
}
|
|
@Column(name = "LECTURE_TYPE")
|
public String getLectureType() {
|
return lectureType;
|
}
|
|
public void setLectureType(String lectureType) {
|
this.lectureType = lectureType;
|
}
|
|
@Column(name = "LECTURE_NAME")
|
public String getLectureName() {
|
return lectureName;
|
}
|
|
public void setLectureName(String lectureName) {
|
this.lectureName = lectureName;
|
}
|
|
@Column(name = "USER_NAME")
|
public String getUserName() {
|
return userName;
|
}
|
|
public void setUserName(String userName) {
|
this.userName = userName;
|
}
|
|
@Column(name = "PERCENT")
|
public Double getPercent() {
|
return percent;
|
}
|
|
public void setPercent(Double percent) {
|
this.percent = percent;
|
}
|
|
@Column(name = "LECTURE_UPDATE_TIME")
|
@Temporal(TemporalType.TIMESTAMP)
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonIgnore
|
public Date getLectureUpdateTime() {
|
return lectureUpdateTime;
|
}
|
|
public void setLectureUpdateTime(Date lectureUpdateTime) {
|
this.lectureUpdateTime = lectureUpdateTime;
|
}
|
|
@Column(name = "SUBJECT_ID")
|
public String getSubjectId() {
|
return subjectId;
|
}
|
|
public void setSubjectId(String subjectId) {
|
this.subjectId = subjectId;
|
}
|
|
@Column(name = "CLASS_ID")
|
public String getClassId() {
|
return classId;
|
}
|
|
public void setClassId(String classId) {
|
this.classId = classId;
|
}
|
|
@Column(name = "LECTURE_CREATE_TIME")
|
public Date getLectureCreateTime() {
|
return lectureCreateTime;
|
}
|
|
public void setLectureCreateTime(Date lectureCreateTime) {
|
this.lectureCreateTime = lectureCreateTime;
|
}
|
|
// @Column(name = "STATUS")
|
// public String getStatus() {
|
// return status;
|
// }
|
//
|
// public void setStatus(String status) {
|
// this.status = status;
|
// }
|
|
|
|
|
}
|