123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- package edu.nju.entities;
- import lombok.AllArgsConstructor;
- import lombok.Data;
- import lombok.NoArgsConstructor;
- import org.springframework.data.annotation.Id;
- import org.springframework.data.annotation.PersistenceConstructor;
- import org.springframework.data.mongodb.core.mapping.Document;
- @Data
- @Document
- @NoArgsConstructor
- public class Exam implements java.io.Serializable {
-
- /**
- *
- */
- private static final long serialVersionUID = 7248743411159553345L;
- @Id
- private String id;
-
- private String json;
-
- private String app_name;
- private String paper_type;
- private String test_type;
- private String description;
- private String collaborative_type;
- // private String if_test_case;
- //
- // private String if_bug;
- @PersistenceConstructor
- public Exam(String id, String json, String app_name, String paper_type, String test_type, String description, String collaborative_type) {
- this.id = id;
- this.json = json;
- this.app_name = app_name;
- this.paper_type = paper_type;
- this.test_type = test_type;
- this.description = description;
- this.collaborative_type = collaborative_type;
- }
- @PersistenceConstructor
- public Exam(String id, String json, String app_name, String paper_type, String test_type, String description) {
- this.id = id;
- this.json = json;
- this.app_name = app_name;
- this.paper_type = paper_type;
- this.test_type = test_type;
- this.description = description;
- }
- // @PersistenceConstructor
- // public Exam(String id, String json, String app_name, String paper_type, String test_type, String description,
- // String if_test_case,String if_bug) {
- // this.id = id;
- // this.json = json;
- // this.app_name = app_name;
- // this.paper_type = paper_type;
- // this.test_type = test_type;
- // this.description = description;
- // this.if_test_case=if_test_case;
- // this.if_bug=if_bug;
- // }
- public String getId() {
- return id;
- }
- public void setId(String id) {
- this.id = id;
- }
- public String getJson() {
- return json;
- }
- public void setJson(String json) {
- this.json = json;
- }
- public String getName() {
- return app_name;
- }
- public void setName(String name) {
- this.app_name = app_name;
- }
- public String getPaper_type() {
- return paper_type;
- }
- public void setPaper_type(String paper_type) {
- this.paper_type = paper_type;
- }
- public String getTest_type() {
- return test_type;
- }
- public void setTest_type(String test_type) {
- this.test_type = test_type;
- }
- public String getDescription() {
- return description;
- }
- public void setDescription(String description) {
- this.description = description;
- }
- // public String getIf_test_case() {
- // return if_test_case;
- // }
- //
- // public void setIf_test_case(String if_test_case) {
- // this.if_test_case = if_test_case;
- // }
- //
- // public String getIf_bug() {
- // return if_bug;
- // }
- //
- // public void setIf_bug(String if_bug) {
- // this.if_bug = if_bug;
- // }
- }
|