Class Project

java.lang.Object
dev.dokimos.server.entity.Project

@Entity public class Project extends Object
A project groups experiments. The name is unique per tenant rather than globally, so two tenants can each own a project of the same name (for example "default"). The matching DB constraint plus a partial unique on the shared (null-tenant) rows lives in migration V14; the (name, tenant_id) unique here keeps the Hibernate-generated test schema consistent with it.
  • Constructor Details

    • Project

      public Project(String name)
  • Method Details

    • getId

      public UUID getId()
    • getName

      public String getName()
    • getCreatedAt

      public Instant getCreatedAt()
    • getExperiments

      public List<Experiment> getExperiments()
    • getTenantId

      public String getTenantId()
    • setTenantId

      public void setTenantId(String tenantId)