BugInfo.java 993 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. package com.seecoder.dataanalysis.data.entity.devcloud;
  2. import lombok.AllArgsConstructor;
  3. import lombok.Data;
  4. import lombok.NoArgsConstructor;
  5. import lombok.experimental.Accessors;
  6. import org.springframework.data.annotation.Id;
  7. import org.springframework.data.mongodb.core.mapping.Field;
  8. @NoArgsConstructor
  9. @AllArgsConstructor
  10. @Accessors(chain = true)
  11. @Data
  12. public class BugInfo {
  13. /**
  14. * bug ID
  15. */
  16. @Id
  17. @Field("bug_id")
  18. private Integer bugId;
  19. /**
  20. * 用户 ID
  21. */
  22. @Field("user_id")
  23. private Integer userId;
  24. /**
  25. * 优先级
  26. */
  27. @Field("priority")
  28. private String priority;
  29. /**
  30. * 标题
  31. */
  32. @Field("title")
  33. private String title;
  34. /**
  35. * 描述
  36. */
  37. @Field("description")
  38. private String description;
  39. /**
  40. * 耗费时间
  41. */
  42. @Field("time_to_take")
  43. private Integer timeToTake;
  44. /**
  45. * bug 状态
  46. */
  47. @Field("bug_state")
  48. private String bugState;
  49. }