PageRenderTime 50ms CodeModel.GetById 18ms RepoModel.GetById 1ms app.codeStats 0ms

/src/main/java/com/linbox/im/message/system/SyncSystemUnreadResponse.java

https://gitlab.com/Mr.Tomato/linbox_server
Java | 29 lines | 15 code | 6 blank | 8 comment | 0 complexity | 7043393430b26a0aec98b4c3ccd6c9ee MD5 | raw file
  1. package com.linbox.im.message.system;
  2. import com.alibaba.fastjson.annotation.JSONField;
  3. import com.linbox.im.message.ByteCreator;
  4. /**
  5. * Created by lrsec on 9/23/15.
  6. */
  7. public class SyncSystemUnreadResponse extends ByteCreator {
  8. // 客户端 request id
  9. @JSONField(name = "r_id")
  10. public long rId;
  11. /** 用户 id */
  12. @JSONField(name = "user_id")
  13. public String userId;
  14. /** 系统未读数消息,直接复用了 SystemMessage */
  15. @JSONField(name = "unreads")
  16. public SystemMessage[] unreads;
  17. // status. 200 = success
  18. @JSONField(name="status")
  19. public int status;
  20. // error message
  21. @JSONField(name="err_msg")
  22. public String errMsg;
  23. }