from sqlalchemy import Boolean, Column, Integer, String, Float

from db.database import Base


class DataLoader(Base):
    __tablename__ = "data_loader"
    id = Column(Integer, primary_key=True, index=True, autoincrement=True)
    activity_name = Column(String, nullable=False)
    status = Column(Boolean, default=False)


class MovieData(Base):
    __tablename__ = "movie_data"
    id = Column(Integer, primary_key=True, index=True)
    film_name = Column(String, index=True)
    years = Column(String, index=True)
    awards = Column(String)
    nomination = Column(String)
    wiki_url = Column(String)
    average_rating = Column(Float, nullable=True)
    number_of_rater = Column(Integer, nullable=True)


class MovieDetails(Base):
    __tablename__ = "movie_details"
    id = Column(Integer, primary_key=True, index=True)
    property_name = Column(String, index=True)
    value = Column(String, nullable=True)
    url = Column(String, nullable=True)
    movie_id = Column(Integer)  # Type MovieListData

3bd2d135a2d9e26d179c1bc92eaead1ae5ca2b33
<mask token>


class MovieData(Base):
    __tablename__ = 'movie_data'
    id = Column(Integer, primary_key=True, index=True)
    film_name = Column(String, index=True)
    years = Column(String, index=True)
    awards = Column(String)
    nomination = Column(String)
    wiki_url = Column(String)
    average_rating = Column(Float, nullable=True)
    number_of_rater = Column(Integer, nullable=True)


class MovieDetails(Base):
    __tablename__ = 'movie_details'
    id = Column(Integer, primary_key=True, index=True)
    property_name = Column(String, index=True)
    value = Column(String, nullable=True)
    url = Column(String, nullable=True)
    movie_id = Column(Integer)

<mask token>


class DataLoader(Base):
    <mask token>
    <mask token>
    <mask token>
    <mask token>


class MovieData(Base):
    __tablename__ = 'movie_data'
    id = Column(Integer, primary_key=True, index=True)
    film_name = Column(String, index=True)
    years = Column(String, index=True)
    awards = Column(String)
    nomination = Column(String)
    wiki_url = Column(String)
    average_rating = Column(Float, nullable=True)
    number_of_rater = Column(Integer, nullable=True)


class MovieDetails(Base):
    __tablename__ = 'movie_details'
    id = Column(Integer, primary_key=True, index=True)
    property_name = Column(String, index=True)
    value = Column(String, nullable=True)
    url = Column(String, nullable=True)
    movie_id = Column(Integer)

<mask token>


class DataLoader(Base):
    __tablename__ = 'data_loader'
    id = Column(Integer, primary_key=True, index=True, autoincrement=True)
    activity_name = Column(String, nullable=False)
    status = Column(Boolean, default=False)


class MovieData(Base):
    __tablename__ = 'movie_data'
    id = Column(Integer, primary_key=True, index=True)
    film_name = Column(String, index=True)
    years = Column(String, index=True)
    awards = Column(String)
    nomination = Column(String)
    wiki_url = Column(String)
    average_rating = Column(Float, nullable=True)
    number_of_rater = Column(Integer, nullable=True)


class MovieDetails(Base):
    __tablename__ = 'movie_details'
    id = Column(Integer, primary_key=True, index=True)
    property_name = Column(String, index=True)
    value = Column(String, nullable=True)
    url = Column(String, nullable=True)
    movie_id = Column(Integer)

from sqlalchemy import Boolean, Column, Integer, String, Float
from db.database import Base


class DataLoader(Base):
    __tablename__ = 'data_loader'
    id = Column(Integer, primary_key=True, index=True, autoincrement=True)
    activity_name = Column(String, nullable=False)
    status = Column(Boolean, default=False)


class MovieData(Base):
    __tablename__ = 'movie_data'
    id = Column(Integer, primary_key=True, index=True)
    film_name = Column(String, index=True)
    years = Column(String, index=True)
    awards = Column(String)
    nomination = Column(String)
    wiki_url = Column(String)
    average_rating = Column(Float, nullable=True)
    number_of_rater = Column(Integer, nullable=True)


class MovieDetails(Base):
    __tablename__ = 'movie_details'
    id = Column(Integer, primary_key=True, index=True)
    property_name = Column(String, index=True)
    value = Column(String, nullable=True)
    url = Column(String, nullable=True)
    movie_id = Column(Integer)

from sqlalchemy import Boolean, Column, Integer, String, Float

from db.database import Base


class DataLoader(Base):
    __tablename__ = "data_loader"
    id = Column(Integer, primary_key=True, index=True, autoincrement=True)
    activity_name = Column(String, nullable=False)
    status = Column(Boolean, default=False)


class MovieData(Base):
    __tablename__ = "movie_data"
    id = Column(Integer, primary_key=True, index=True)
    film_name = Column(String, index=True)
    years = Column(String, index=True)
    awards = Column(String)
    nomination = Column(String)
    wiki_url = Column(String)
    average_rating = Column(Float, nullable=True)
    number_of_rater = Column(Integer, nullable=True)


class MovieDetails(Base):
    __tablename__ = "movie_details"
    id = Column(Integer, primary_key=True, index=True)
    property_name = Column(String, index=True)
    value = Column(String, nullable=True)
    url = Column(String, nullable=True)
    movie_id = Column(Integer)  # Type MovieListData
