PageRenderTime 121ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 0ms

/src/main/java/com/inst/resp/NodeObj.java

https://bitbucket.org/fox1ck/inst
Java | 24 lines | 17 code | 7 blank | 0 comment | 0 complexity | 76d605c29fbb6d821462d73c1f5d813f MD5 | raw file
  1. package com.inst.resp;
  2. import com.google.gson.annotations.SerializedName;
  3. import lombok.Data;
  4. import org.springframework.data.annotation.Id;
  5. import org.springframework.data.mongodb.core.mapping.Document;
  6. @Data
  7. @Document(collection = "users")
  8. public class NodeObj {
  9. @Id
  10. private String _id;
  11. @SerializedName("id")
  12. private String userId;
  13. @SerializedName("username")
  14. private String userName;
  15. @SerializedName("full_name")
  16. private String fullName;
  17. }