Initial commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
from django.db import models
|
||||
|
||||
class PlottingLibrary(models.Model):
|
||||
id = models.IntegerField(primary_key=True) # 主键id
|
||||
name = models.CharField(db_column='name', max_length=100, blank=True, null=False) # 图的名字
|
||||
|
||||
index_img = models.CharField(db_column='index_img', max_length=200, blank=True, null=True) # 主页展示的图片
|
||||
show_img = models.CharField(db_column='show_img', max_length=200, blank=True, null=True) # 图标主页展示的图片
|
||||
|
||||
example_file = models.CharField(db_column='example_file', max_length=200, blank=True, ) # 示例文件
|
||||
|
||||
sort = models.CharField(db_column='sort', max_length=200, blank=True, null=True) # 分类
|
||||
|
||||
visiting_time = models.IntegerField(db_column='visiting_time', blank=True, null=True) # 查看次数
|
||||
downlode_time = models.IntegerField(db_column='downlode_time', blank=True, null=True) # 使用次数/下载次数
|
||||
url = models.CharField(db_column='url', max_length=200, blank=True, null=True) # 链接地址
|
||||
|
||||
parameter = models.JSONField(db_column='parameter', blank=True, null=True) # 参数
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user