Job.java 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. package edu.nju.entities;
  2. import org.springframework.data.annotation.Id;
  3. import org.springframework.data.mongodb.core.mapping.Document;
  4. @Document
  5. public class Job implements java.io.Serializable{
  6. private static final long serialVersionUID = 3417624501014997684L;
  7. @Id
  8. private String id;
  9. private String description;
  10. private String name;
  11. private String create_time_millis;
  12. private String device_model;
  13. private String device_brand;
  14. private String device_os;
  15. private String script_location;
  16. private String report_location;
  17. private String log_location;
  18. public Job(String id, String description, String name, String create_time_millis, String device_model, String device_brand, String device_os, String script_location, String report_location, String log_location) {
  19. this.id = id;
  20. this.description = description;
  21. this.name = name;
  22. this.create_time_millis = create_time_millis;
  23. this.device_model = device_model;
  24. this.device_brand = device_brand;
  25. this.device_os = device_os;
  26. this.script_location = script_location;
  27. this.report_location = report_location;
  28. this.log_location = log_location;
  29. }
  30. public String getId() {
  31. return id;
  32. }
  33. public void setId(String id) {
  34. this.id = id;
  35. }
  36. public String getDescription() {
  37. return description;
  38. }
  39. public void setDescription(String desciption) {
  40. this.description = desciption;
  41. }
  42. public String getName() {
  43. return name;
  44. }
  45. public void setName(String name) {
  46. this.name = name;
  47. }
  48. public String getCreate_time_millis() {
  49. return create_time_millis;
  50. }
  51. public void setCreate_time_millis(String create_time_millis) {
  52. this.create_time_millis = create_time_millis;
  53. }
  54. public String getDevice_model() {
  55. return device_model;
  56. }
  57. public void setDevice_model(String device_model) {
  58. this.device_model = device_model;
  59. }
  60. public String getDevice_brand() {
  61. return device_brand;
  62. }
  63. public void setDevice_brand(String device_brand) {
  64. this.device_brand = device_brand;
  65. }
  66. public String getDevice_os() {
  67. return device_os;
  68. }
  69. public void setDevice_os(String device_os) {
  70. this.device_os = device_os;
  71. }
  72. public String getScript_location() {
  73. return script_location;
  74. }
  75. public void setScript_location(String script_location) {
  76. this.script_location = script_location;
  77. }
  78. public String getReport_location() {
  79. return report_location;
  80. }
  81. public void setReport_location(String report_location) {
  82. this.report_location = report_location;
  83. }
  84. public String getLog_location() {
  85. return log_location;
  86. }
  87. public void setLog_location(String log_location) {
  88. this.log_location = log_location;
  89. }
  90. }