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
See Also:
  • Field Details

    • name

      private String name
      课程名称
    • cover

      private String cover
    • price

      private String price
      课程价格,单位:分
    • description

      private String description
      简介,一句话介绍
    • detail

      private String detail
    • mainCategory

      private CategoryEntity mainCategory
    • subCategory

      private CategoryEntity subCategory
    • city

      private City city
    • published

      private boolean published
      是否发布 默认为否0,前端看不到,只有发布之后,访客端才能够看到
    • user

      private UserEntity user
  • Constructor Details

    • Course

      public Course()