from django.db import models

# Create your models here.

class Block(models.Model):
    name=  models.CharField('板块名称',max_length=100)
    desc= models.CharField('板块描述',max_length=100)
    manager_name = models.CharField('板块管理名称',max_length=100)
    status = models.IntegerField('状态',choices=((0,'正常'),(-1,'删除')))

    def __str__(self):
        return  self.name
