refactor plan work flow status

This commit is contained in:
CITE\amentis 2024-09-23 17:05:25 +03:00
parent 171bf28323
commit 1cb8426f23
4 changed files with 72 additions and 2 deletions

View File

@ -1,7 +1,6 @@
package org.opencdmp.commonmodels.models.description; package org.opencdmp.commonmodels.models.description;
import org.opencdmp.commonmodels.enums.DescriptionStatus;
import org.opencdmp.commonmodels.models.plan.PlanModel; import org.opencdmp.commonmodels.models.plan.PlanModel;
import org.opencdmp.commonmodels.models.descriptiotemplate.DescriptionTemplateModel; import org.opencdmp.commonmodels.models.descriptiotemplate.DescriptionTemplateModel;

View File

@ -0,0 +1,36 @@
package org.opencdmp.commonmodels.models.description;
import java.util.UUID;
public class DescriptionStatus {
private UUID id;
private String name;
private org.opencdmp.commonmodels.enums.DescriptionStatus internalStatus;
public UUID getId() {
return id;
}
public void setId(UUID id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public org.opencdmp.commonmodels.enums.DescriptionStatus getInternalStatus() {
return internalStatus;
}
public void setInternalStatus(org.opencdmp.commonmodels.enums.DescriptionStatus internalStatus) {
this.internalStatus = internalStatus;
}
}

View File

@ -1,7 +1,6 @@
package org.opencdmp.commonmodels.models.plan; package org.opencdmp.commonmodels.models.plan;
import org.opencdmp.commonmodels.enums.PlanAccessType; import org.opencdmp.commonmodels.enums.PlanAccessType;
import org.opencdmp.commonmodels.enums.PlanStatus;
import org.opencdmp.commonmodels.models.PlanUserModel; import org.opencdmp.commonmodels.models.PlanUserModel;
import org.opencdmp.commonmodels.models.EntityDoiModel; import org.opencdmp.commonmodels.models.EntityDoiModel;
import org.opencdmp.commonmodels.models.FileEnvelopeModel; import org.opencdmp.commonmodels.models.FileEnvelopeModel;

View File

@ -0,0 +1,36 @@
package org.opencdmp.commonmodels.models.plan;
import java.util.UUID;
public class PlanStatus {
private UUID id;
private String name;
private org.opencdmp.commonmodels.enums.PlanStatus internalStatus;
public UUID getId() {
return id;
}
public void setId(UUID id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public org.opencdmp.commonmodels.enums.PlanStatus getInternalStatus() {
return internalStatus;
}
public void setInternalStatus(org.opencdmp.commonmodels.enums.PlanStatus internalStatus) {
this.internalStatus = internalStatus;
}
}