com.douban.models

BookReviewPosted

case class BookReviewPosted(book: String, title: String, content: String, rating: Int = 0) extends ReviewPosted with Product with Serializable

发表新评论内容

book

评论所针对的book id

title

评论头

content

评论内容,且多于150字

rating

打分,数字1~5为合法值,其他信息默认为不打分

See also

ReviewPosted

Linear Supertypes
Serializable, Serializable, Product, Equals, ReviewPosted, Bean, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BookReviewPosted
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ReviewPosted
  7. Bean
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BookReviewPosted(book: String, title: String, content: String, rating: Int = 0)

    book

    评论所针对的book id

    title

    评论头

    content

    评论内容,且多于150字

    rating

    打分,数字1~5为合法值,其他信息默认为不打分

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. var _files: Map[String, String]

    Attributes
    protected
    Definition Classes
    Bean
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. val book: String

    评论所针对的book id

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. val content: String

    评论内容,且多于150字

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def files: Map[String, String]

    Definition Classes
    Bean
  13. def files_=(fs: Map[String, String]): Unit

    Definition Classes
    Bean
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def flatten(urlPrefix: String, bean: Bean = this): String

    将Bean与一个url组合

    将Bean与一个url组合

    urlPrefix

    请求的原始路径

    bean

    需要参数话的Bean

    returns

    含参数的url

    Definition Classes
    Bean
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. val rating: Int

    打分,数字1~5为合法值,其他信息默认为不打分

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. val title: String

    评论头

  24. def toParas: String

    returns

    把Bean转化为key=value&key1=value1的序列 ,添加apikey

    Definition Classes
    Bean
  25. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  26. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  27. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ReviewPosted

Inherited from Bean

Inherited from AnyRef

Inherited from Any

Ungrouped