Class Course

java.lang.Object
com.bytedesk.core.base.BaseEntity
com.bytedesk.liangshibao.course.Course
All Implemented Interfaces:
Serializable

@Entity public class Course extends BaseEntity
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 Details

    • name

      private String name
      Name of the course
    • cover

      private String cover
      Course cover image URL
    • price

      private String price
      Course price in cents
    • description

      private String description
      Brief description of the course
    • detail

      private String detail
      Detailed course content
    • mainCategory

      private CategoryEntity mainCategory
      Main category of the course
    • subCategory

      private CategoryEntity subCategory
      Sub-category of the course
    • city

      private City city
      City where the course is offered
    • published

      private boolean published
      Whether the course is published and visible to visitors
    • user

      private UserEntity user
      User who created the course
  • Constructor Details

    • Course

      public Course()