# Copyright (C) 2020 Google Inc.
# Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
"""Project model."""
from ggrc import db
from ggrc.access_control.roleable import Roleable
from ggrc.fulltext.mixin import Indexed
from ggrc.models import mixins
from ggrc.models.mixins import synchronizable
from ggrc.models.comment import ScopedCommentable
from ggrc.models.object_document import PublicDocumentable
from ggrc.models.object_person import Personable
from ggrc.models.relationship import Relatable


class Project(Roleable,
              synchronizable.Synchronizable,
              mixins.CustomAttributable,
              Personable,
              Relatable,
              mixins.LastDeprecatedTimeboxed,
              PublicDocumentable,
              ScopedCommentable,
              mixins.TestPlanned,
              mixins.base.ContextRBAC,
              mixins.ScopeObject,
              mixins.Folderable,
              Indexed,
              db.Model):
  """Representation for Project model."""
  __tablename__ = 'projects'
  _aliases = {
      "documents_file": None,
  }
