@Property练习

本小节知识点:

  1. 【掌握】@Property练习

1.@Property练习

  • 微博类(Status)

    • 文字内容(text)
    • 配图(picture)
    • 发表时间(createTime)
    • 作者(author)
    • 转发的说说(repostStatus)
    • 评论数(commentCount)
    • 转发数(retweetCount)
    • 赞数(likeCount)
  • 作者类(Author)

    • 昵称(name)
    • 头像(icon)
    • 生日(birthday)
    • 账号(account)
  • 账号(Account)

    • 账号名称(name)
    • 账号密码(pwd)
    • 账号注册时间(registerTime)
模拟场景:
* 老王在2010-1-1 175634注册了一个账号
(名称:xiaomage@520it.com, 密码:haomage)
 * 老王的生日是1986-3-8 181818
 * 老王发布一条说说
     * 文字内容  @“爆米花手机比逼格更有逼格”
     * 图片 @“phone.png”
     * 发表时间: 2015-6-20 102323
     * 作者: 老王
     * 被转发的说说: 没有
     * 评论数: 100
     * 转发数: 90
     * 点赞数: 200

 * 王大锤在2012-8-8 192654注册了一个账号
 (名称:dachuimeimei@520it.com, 密码:654321)
 * 王大锤的生日是1989-9-6 141628
 * 王大锤在2015-6-21 204709时,转发了张三之前发布的说说, 并且还附带了一句话:@“真的很有逼格”


results matching ""

    No results matching ""