# -*- coding: utf-8 -*-
# @Time    : 2021/3/2 18:44
# @Author  : wangyinghao
# @FileName: performance_project.py
# @Software: PyCharm
from django.db import models


# Create your models here.
class PerformanceProject(models.Model):
    """
    性能项目表
    """
    performance_project_name = models.CharField("性能项目名称", max_length=50, null=False)
    describe = models.TextField("描述", default="", max_length=2000, null=True)
    status = models.BooleanField("状态", default=1)
    updata_time = models.DateTimeField(auto_now_add=True)
    create_time = models.DateTimeField("创建时间", auto_now_add=True)

    def __str__(self):
        return self.performance_project_name
