from django.db import models
from tinymce.models import HTMLField
# Create your models here.

class GoodsTest(models.Model):
    STATUS_CHOICES = (
        (0, '下架'),
        (1, '上架')
    )
    status = models.SmallIntegerField(choices=STATUS_CHOICES, default=1, verbose_name='商品信息')
    detail = HTMLField(verbose_name='商品详情')
    class Meta:
        db_table = 'df_goods_test'
        verbose_name = '商品'
        verbose_name_plural = verbose_name


