|
@@ -5,6 +5,7 @@ import com.mooctest.crowd.domain.exception.CrowdTestReportNotExistException;
|
|
|
import com.mooctest.crowd.domain.exception.CrowdTestTaskNoPriceException;
|
|
|
import com.mooctest.crowd.domain.exception.CrowdTestTaskNotExistException;
|
|
|
import com.mooctest.crowd.domain.repository.CrowdTestProjectRepo;
|
|
|
+import lombok.Data;
|
|
|
|
|
|
import java.io.File;
|
|
|
import java.util.Date;
|
|
@@ -14,7 +15,7 @@ import java.util.List;
|
|
|
* @author guochao
|
|
|
* @date 2019/7/6 18:27
|
|
|
*/
|
|
|
-
|
|
|
+@Data
|
|
|
public class CrowdTestProject {
|
|
|
|
|
|
private Long id;
|
|
@@ -29,113 +30,8 @@ public class CrowdTestProject {
|
|
|
private double fixedPrice;
|
|
|
private String status;
|
|
|
private Date creatTime;
|
|
|
-
|
|
|
private List<CrowdTestTask> crowdTestTaskList;
|
|
|
|
|
|
- public List<CrowdTestTask> getCrowdTestTaskList() {
|
|
|
- return crowdTestTaskList;
|
|
|
- }
|
|
|
-
|
|
|
- public void setCrowdTestTaskList(List<CrowdTestTask> crowdTestTaskList) {
|
|
|
- this.crowdTestTaskList = crowdTestTaskList;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getId() {
|
|
|
- return id;
|
|
|
- }
|
|
|
-
|
|
|
- public void setId(Long id) {
|
|
|
- this.id = id;
|
|
|
- }
|
|
|
-
|
|
|
- public String getName() {
|
|
|
- return name;
|
|
|
- }
|
|
|
-
|
|
|
- public void setName(String name) {
|
|
|
- this.name = name;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getOwnerId() {
|
|
|
- return ownerId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setOwnerId(Long ownerId) {
|
|
|
- this.ownerId = ownerId;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getManagerId() {
|
|
|
- return managerId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setManagerId(Long managerId) {
|
|
|
- this.managerId = managerId;
|
|
|
- }
|
|
|
-
|
|
|
- public DistributeType getDistributeType() {
|
|
|
- return distributeType;
|
|
|
- }
|
|
|
-
|
|
|
- public void setDistributeType(DistributeType distributeType) {
|
|
|
- this.distributeType = distributeType;
|
|
|
- }
|
|
|
-
|
|
|
- public String getDescription() {
|
|
|
- return description;
|
|
|
- }
|
|
|
-
|
|
|
- public void setDescription(String description) {
|
|
|
- this.description = description;
|
|
|
- }
|
|
|
-
|
|
|
- public File getProjectFile() {
|
|
|
- return projectFile;
|
|
|
- }
|
|
|
-
|
|
|
- public void setProjectFile(File projectFile) {
|
|
|
- this.projectFile = projectFile;
|
|
|
- }
|
|
|
-
|
|
|
- public File getRequirement() {
|
|
|
- return requirement;
|
|
|
- }
|
|
|
-
|
|
|
- public void setRequirement(File requirement) {
|
|
|
- this.requirement = requirement;
|
|
|
- }
|
|
|
-
|
|
|
- public double getQuotedPrice() {
|
|
|
- return quotedPrice;
|
|
|
- }
|
|
|
-
|
|
|
- public void setQuotedPrice(double quotedPrice) {
|
|
|
- this.quotedPrice = quotedPrice;
|
|
|
- }
|
|
|
-
|
|
|
- public double getFixedPrice() {
|
|
|
- return fixedPrice;
|
|
|
- }
|
|
|
-
|
|
|
- public void setFixedPrice(double fixedPrice) {
|
|
|
- this.fixedPrice = fixedPrice;
|
|
|
- }
|
|
|
-
|
|
|
- public String getStatus() {
|
|
|
- return status;
|
|
|
- }
|
|
|
-
|
|
|
- public void setStatus(String status) {
|
|
|
- this.status = status;
|
|
|
- }
|
|
|
-
|
|
|
- public Date getCreatTime() {
|
|
|
- return creatTime;
|
|
|
- }
|
|
|
-
|
|
|
- public void setCreatTime(Date creatTime) {
|
|
|
- this.creatTime = creatTime;
|
|
|
- }
|
|
|
-
|
|
|
@Override
|
|
|
public String toString() {
|
|
|
return "CrowdTestProject{" +
|