| | |
| | | |
| | | |
| | | /** |
| | | * 机构专业 |
| | | * 机构专业 |
| | | * @author ody.yuan |
| | | * |
| | | */ |
| | |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** 层次(1学科 2 门类 3专业) */ |
| | | /** 层次(1学科 2 门类 3专业) */ |
| | | public static final short ORG_COLLEGE_COURSE_TYPE_SUBJECT = 1; |
| | | |
| | | public static final short ORG_COLLEGE_COURSE_TYPE_CATEGORY = 2; |
| | |
| | | @Column(name="COLLEGE_COURSE_ID", unique=true, nullable=false, length=32) |
| | | private String collegeCourseId; |
| | | |
| | | /** 编码 */ |
| | | /** 编码 */ |
| | | @Column(name="CODE",length=64) |
| | | private String code; |
| | | |
| | | /** 介绍 */ |
| | | /** 介绍 */ |
| | | @Column(name="CONTENT") |
| | | private String content; |
| | | |
| | | /** 分类id */ |
| | | /** 分类id */ |
| | | @Column(name="COURSE_CATEGORY_ID", length=32) |
| | | private String courseCategoryId; |
| | | |
| | | /** 分类名 */ |
| | | /** 分类名 */ |
| | | @Column(name="COURSE_CATEGORY_NAME", length=150) |
| | | private String courseCategoryName; |
| | | |
| | |
| | | @Column(name="NAME", length=255) |
| | | private String name; |
| | | |
| | | /** 机构ID */ |
| | | /** 机构ID */ |
| | | @Column(name="ORGANIZATION_ID", length=32) |
| | | private String organizationId; |
| | | |
| | |
| | | @Column(name="RECOMMEND", nullable=false) |
| | | private boolean recommend; |
| | | |
| | | /** רҵID */ |
| | | /** 专业ID */ |
| | | @Column(name="COURSE_ID", length=32) |
| | | private String courseId; |
| | | |
| | | /** ԺϵID */ |
| | | /** 院系ID */ |
| | | @Column(name="COLLEGE_ID", length=32) |
| | | private String collegeId; |
| | | |
| | | /** 层次(学科 门类 专业) */ |
| | | /** 层次(学科 门类 专业) */ |
| | | @Column(name="LEVEL_") |
| | | private short level; |
| | | |
| | | /** 类型:1本科 2专科 3硕士 4博士 */ |
| | | /** 类型:1本科 2专科 3硕士 4博士 */ |
| | | @Column(name="TYPE") |
| | | private short type; |
| | | |
| | |
| | | @JsonIgnore |
| | | private Organization topOrg; |
| | | |
| | | //新加映射 2017-11-1 |
| | | //新加映射 2017-11-1 |
| | | @ManyToOne(cascade = CascadeType.ALL,fetch = FetchType.LAZY) |
| | | @JoinColumn(name = "COURSE_CATEGORY_ID",referencedColumnName="CATEGORY_LEVEL_ID",updatable=false,insertable=false) |
| | | @JsonIgnore |
| | |
| | | @Transient |
| | | private String classCount; |
| | | |
| | | /** 视频数量*/ |
| | | /** 视频数量*/ |
| | | @Transient |
| | | private Integer videoCount; |
| | | |
| | | /** 讲义数量*/ |
| | | /** 讲义数量*/ |
| | | @Transient |
| | | private Integer handoutCount; |
| | | |
| | | /** 练习数量*/ |
| | | /** 练习数量*/ |
| | | @Transient |
| | | private Integer groupCount; |
| | | |
| | | /** 文章数量*/ |
| | | /** 文章数量*/ |
| | | @Transient |
| | | private Integer articleCount; |
| | | |