Commit c20c9ad6 by 周田

mod:额外增加的表添加注释

parent 1b00db1a
...@@ -27,6 +27,11 @@ class AllDevCmdDefineAndVersion(models.Model): ...@@ -27,6 +27,11 @@ class AllDevCmdDefineAndVersion(models.Model):
class AllProtocolDefinAndVersion(models.Model): class AllProtocolDefinAndVersion(models.Model):
"""
version 格式
版本号的列表
["20230708", "20230709", "20230710"]
"""
id = models.AutoField(primary_key=True) # Field name made lowercase. id = models.AutoField(primary_key=True) # Field name made lowercase.
protocol_name = models.TextField() # Field name made lowercase. protocol_name = models.TextField() # Field name made lowercase.
cmd_name = models.TextField() # Field name made lowercase. cmd_name = models.TextField() # Field name made lowercase.
...@@ -50,6 +55,13 @@ class CurrentDevVersion(models.Model): ...@@ -50,6 +55,13 @@ class CurrentDevVersion(models.Model):
class AllProtocolVersion(models.Model): class AllProtocolVersion(models.Model):
"""
versions_path 格式
版本号:版本原始文件所在的路径
{
"20240229": "path/to/file",
}
"""
id = models.AutoField(primary_key=True) id = models.AutoField(primary_key=True)
protocol_name = models.TextField() protocol_name = models.TextField()
vesrions_path = models.TextField() vesrions_path = models.TextField()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment