#  Copyright (c) 2021.
#  Date: 2021 / 6 / 19
#  Github: https://github.com/mostela
import peewee

from config.peewee import BaseModel


class Product(BaseModel):
    title = peewee.TextField(null=False)
    brand = peewee.TextField(null=False, index=True)
    model = peewee.TextField(null=False)
    status = peewee.BooleanField(default=False)
    code = peewee.TextField(null=False)
    price = peewee.FloatField(null=False, default=0)

4abeb5e99431c9a58e8587e04330d7479d3bd6e1
<mask token>

<mask token>


class Product(BaseModel):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Product(BaseModel):
    title = peewee.TextField(null=False)
    brand = peewee.TextField(null=False, index=True)
    model = peewee.TextField(null=False)
    status = peewee.BooleanField(default=False)
    code = peewee.TextField(null=False)
    price = peewee.FloatField(null=False, default=0)

import peewee
from config.peewee import BaseModel


class Product(BaseModel):
    title = peewee.TextField(null=False)
    brand = peewee.TextField(null=False, index=True)
    model = peewee.TextField(null=False)
    status = peewee.BooleanField(default=False)
    code = peewee.TextField(null=False)
    price = peewee.FloatField(null=False, default=0)

#  Copyright (c) 2021.
#  Date: 2021 / 6 / 19
#  Github: https://github.com/mostela
import peewee

from config.peewee import BaseModel


class Product(BaseModel):
    title = peewee.TextField(null=False)
    brand = peewee.TextField(null=False, index=True)
    model = peewee.TextField(null=False)
    status = peewee.BooleanField(default=False)
    code = peewee.TextField(null=False)
    price = peewee.FloatField(null=False, default=0)
