派生自 projectDept/qhighschool

yn147
2023-11-23 42c48ce1d64e941d28c7bfe4093f9659e77bd523
src/main/java/com/qxueyou/scc/school/model/SchClassSubject.java
@@ -26,7 +26,7 @@
import com.qxueyou.scc.base.model.ITrace;
/**
 * 班级课程
 * 班级课程
 * 
 * @author ody.yuan
 *
@@ -37,11 +37,11 @@
public class SchClassSubject implements Serializable, ITrace {
   private static final long serialVersionUID = 1L;
   /** 1 必修 2 选修 **/
   /** 1 必修 2 选修 **/
   public static final short SUBJECT_TYPE_REQUIRED = 1;
   public static final short SUBJECT_TYPE_ELECTIVE = 2;
   /** 1 考试 2 考查 **/
   /** 1 考试 2 考查 **/
   public static final short SUBJECT_EXAMINATION_REQUIRED = 1;
   public static final short SUBJECT_EXAMINATION_EXAMINE = 2;
   @Id
@@ -50,52 +50,52 @@
   @Column(name = "CLASS_SUBJECT_ID", unique = true, nullable = false, length = 32)
   private String classSubjectId;
   /** 名称 */
   /** 名称 */
   @Column(name = "NAME", length = 150)
   private String name;
   /** 全称 */
   /** 全称 */
   @Column(name = "FULL_NAME", length = 255)
   private String fullName;
   /** 编码 */
   /** 编码 */
   @Column(name = "CODE", length = 64)
   private String code;
   
   /** 排序顺序号 */
   /** 排序顺序号 */
   @Column(name = "ORDER_NUM")
   private int orderNum;
   
   /** 内容简介 */
   /** 内容简介 */
   @Column(name = "CONTENT", length = 255)
   private String content;
   /** 学分 */
   /** 学分 */
   @Column(name = "CREDIT", precision = 4, scale = 2)
   private BigDecimal credit;
   /** 课程类别(必修、选修) */
   /** 课程类别(必修、选修) */
   @Column(name = "TYPE")
   private short type;
   /** 考试形式(考试、考查) */
   /** 考试形式(考试、考查) */
   @Column(name = "EXAMINATION_FORM")
   private short examinationForm;
   /** 机构拷贝专业ID,非高校拷贝科目ID */
   /** 机构拷贝专业ID,非高校拷贝科目ID */
   @Column(name = "COURSE_ID", length = 32)
   private String courseId;
   /** 班级ID */
   /** 班级ID */
   @Column(name = "CLASS_ID", length = 32)
   private String classId;
   /** 原始公共课程ID */
   /** 原始公共课程ID */
   @Column(name = "ORIG_SUBJECT_ID", length = 32)
   private String origSubjectId;
   /** 班级复制:复制课程保存原始班级的课程ID */
   /** 班级复制:复制课程保存原始班级的课程ID */
   @Column(name = "ORIG_CLASS_SUBJECT_ID", length = 32)
   private String origClassSubjectId;
@@ -129,12 +129,12 @@
   @JsonIgnore
   private String updator;
   /** 学生课表 */
   /** 学生课表 */
   @OneToMany(fetch = FetchType.LAZY, mappedBy = "subject")
   @JsonIgnore
   public List<SchStudentSchedule> studentSchedules;
   /** 班级课表 */
   /** 班级课表 */
   @OneToMany(fetch = FetchType.LAZY, mappedBy = "subject")
   @JsonIgnore
   public List<SchClassSchedule> classSchedules;
@@ -142,7 +142,7 @@
   @Transient
   public List<SchClassSchedule> lstClassSchedules;
   /** 签到类型 */
   /** 签到类型 */
   @Transient
   private Short signType;