Initial commit

This commit is contained in:
Your Name
2021-09-07 23:12:03 +08:00
commit 0f5e5327d8
354 changed files with 35438 additions and 0 deletions
+22
View File
@@ -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) # 参数