"""Blog Model."""
from flask_blog import db


class Blog(db.Model):
    """Blog Model Class."""

    id = db.Column(db.Integer, primary_key=True)
    name = db.Column(db.String(80))
    admin = db.Column(db.Integer, db.ForeignKey('author.id'))

    def __init__(self, name, admin):
        """Initialize class object."""
        self.name = name
        self.admin = admin

    def __repr__(self):
        """Representation of the object."""
        return '<Blog %r>' % self.name

70150cf97cf8769c6d8eec559057afe7734f24b8
<mask token>


class Blog(db.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Blog(db.Model):
    <mask token>
    id = db.Column(db.Integer, primary_key=True)
    name = db.Column(db.String(80))
    admin = db.Column(db.Integer, db.ForeignKey('author.id'))

    def __init__(self, name, admin):
        """Initialize class object."""
        self.name = name
        self.admin = admin

    def __repr__(self):
        """Representation of the object."""
        return '<Blog %r>' % self.name

<mask token>


class Blog(db.Model):
    """Blog Model Class."""
    id = db.Column(db.Integer, primary_key=True)
    name = db.Column(db.String(80))
    admin = db.Column(db.Integer, db.ForeignKey('author.id'))

    def __init__(self, name, admin):
        """Initialize class object."""
        self.name = name
        self.admin = admin

    def __repr__(self):
        """Representation of the object."""
        return '<Blog %r>' % self.name

<mask token>
from flask_blog import db


class Blog(db.Model):
    """Blog Model Class."""
    id = db.Column(db.Integer, primary_key=True)
    name = db.Column(db.String(80))
    admin = db.Column(db.Integer, db.ForeignKey('author.id'))

    def __init__(self, name, admin):
        """Initialize class object."""
        self.name = name
        self.admin = admin

    def __repr__(self):
        """Representation of the object."""
        return '<Blog %r>' % self.name

"""Blog Model."""
from flask_blog import db


class Blog(db.Model):
    """Blog Model Class."""

    id = db.Column(db.Integer, primary_key=True)
    name = db.Column(db.String(80))
    admin = db.Column(db.Integer, db.ForeignKey('author.id'))

    def __init__(self, name, admin):
        """Initialize class object."""
        self.name = name
        self.admin = admin

    def __repr__(self):
        """Representation of the object."""
        return '<Blog %r>' % self.name
