text: from .. import db
  from ..mixins.model import CRUDMixin
  
  
  class Role(db.Model, CRUDMixin):
      """
      For the purpose of access controls, Roles can be used to create
      collections of users and give them permissions as a group.
      """
  
      __tablename__ = "role"
  
      id = db.Column(db.Integer(), primary_key=True)
      "integer -- primary key"
  
      name = db.Column(db.String(80), unique=True)
      "string -- what the role is called"
  
      description = db.Column(db.String(255))
      "string -- a sentence describing the role"
  
      def __str__(self):
          return self.name
  