old_contents: from sqlalchemy import Column, Integer, String
  from sqlalchemy.orm import relationship
  
  from scoring_engine.models.base import Base
  
  
  class Team(Base):
      __tablename__ = 'teams'
      id = Column(Integer, primary_key=True)
      name = Column(String(20), nullable=False)
      color = Column(String(10), nullable=False)
      services = relationship("Service", back_populates="team")
      users = relationship("User", back_populates="team")
  
      def current_score(self):
          # todo make this dynamic based on service result
          return 2000
  
      @property
      def is_red_team(self):
          return self.color == 'Red'
  
      @property
      def is_white_team(self):
          return self.color == 'White'
  
      @property
      def is_blue_team(self):
          return self.color == 'Blue'
  
new_contents: from sqlalchemy import Column, Integer, String
  from sqlalchemy.orm import relationship
  
  from scoring_engine.models.base import Base
  
  
  class Team(Base):
      __tablename__ = 'teams'
      id = Column(Integer, primary_key=True)
      name = Column(String(20), nullable=False)
      color = Column(String(10), nullable=False)
      services = relationship("Service", back_populates="team")
      users = relationship("User", back_populates="team")
  
      def current_score(self):
          # todo make this dynamic based on service result
          return 2000
  
      @property
      def place(self):
          # todo make this dynamic
          return 2
  
      @property
      def is_red_team(self):
          return self.color == 'Red'
  
      @property
      def is_white_team(self):
          return self.color == 'White'
  
      @property
      def is_blue_team(self):
          return self.color == 'Blue'
  
subject: Add property to team model