Package com.bytedesk.liangshibao.course
Class Course
java.lang.Object
com.bytedesk.core.base.BaseEntity
com.bytedesk.liangshibao.course.Course
- All Implemented Interfaces:
Serializable
Course entity for educational content management
Represents courses with categories, pricing, and publication status
Database Table: liangshibao_course
Purpose: Stores course information, categories, and publication settings
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate City
City where the course is offeredprivate String
Course cover image URLprivate String
Brief description of the courseprivate String
Detailed course contentprivate CategoryEntity
Main category of the courseprivate String
Name of the courseprivate String
Course price in centsprivate boolean
Whether the course is published and visible to visitorsprivate CategoryEntity
Sub-category of the courseprivate UserEntity
User who created the course -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.bytedesk.core.base.BaseEntity
getCreatedAtString, getUpdatedAtString
-
Field Details
-
name
Name of the course -
cover
Course cover image URL -
price
Course price in cents -
description
Brief description of the course -
detail
Detailed course content -
mainCategory
Main category of the course -
subCategory
Sub-category of the course -
city
City where the course is offered -
published
private boolean publishedWhether the course is published and visible to visitors -
user
User who created the course
-
-
Constructor Details
-
Course
public Course()
-