This commit is contained in:
liyang
2022-05-06 09:53:31 +08:00
parent 000ee1b332
commit 837cd364c7
3 changed files with 158 additions and 0 deletions
+89
View File
@@ -0,0 +1,89 @@
title: table zt_file
desc: "文件上传记录"
author: automated export
version: "1.0"
fields:
- field: id
range: "1-10000"
note: "ID"
prefix: ""
postfix: ""
loop: 0
format: ""
- field: pathname
note: "路径名称"
from: common.file.v1.yaml
use: pathname
loop: 0
format: ""
- field: title
note: "文件标题"
from: common.file.v1.yaml
use: title
postfix: ""
loop: 0
format: ""
- field: extension
note: "文件后缀"
range: "txt,doc,docx,dot,wps,wri,pdf,ppt,pptx,xls,xlsx,ett,xlt,xlsm,csv,jpg,jpeg,png,psd,gif,ico,bmp,swf,avi,rmvb,rm,mp3,mp4,3gp,flv,mov,movie,rar,zip,bz,bz2,tar,gz,mpp,rp,pdm,vsdx,vsd,sql"
prefix: ""
postfix: ""
loop: 0
format: ""
- field: size
note: "文件大小"
range: "1000-40000:R"
prefix: ""
postfix: ""
loop: 0
format: ""
- field: objectType
note: "对象类型"
range: task,bug,story,testcase,traincourse,traincontents
prefix: ""
postfix: ""
loop: 0
format: ""
- field: objectID
note: "对象ID"
range: "1-10000"
prefix: ""
postfix: ""
loop: 0
format: ""
- field: addedBy
range: admin
use: user
prefix: ""
postfix: ""
loop: 0
format: ""
- field: addedDate
note: "添加时间"
from: common.date.v1.yaml
use: dateA
prefix: ""
postfix: ""
loop: 0
format: ""
- field: downloads
note: "下载次数"
range: "0-100"
prefix: ""
postfix: ""
loop: 0
format: ""
- field: extra
note: "备注"
range: "0"
prefix: ""
postfix: ""
loop: 0
format: ""
- field: deleted
note: "是否删除"
range: "0"
prefix: ""
postfix: ""
loop: 0
format: ""
+67
View File
@@ -0,0 +1,67 @@
title: table zt_score
desc: "积分"
author: automated export
version: "1.0"
fields:
- field: id
note: "ID"
range: 1-10000
prefix: ""
postfix: ""
loop: 0
format: ""
- field: account
note: "用户账号"
range: admin,test10,dev10,top10
prefix: ""
postfix: ""
loop: 0
format: ""
- field: module
note: "模块"
range: execution{2},task{3},story{2},bug{2},doc{1}
prefix: ""
postfix: ""
loop: 0
format: ""
- field: method
note: "动作"
range: create,close,create,close,finish,create,close,create,resolve,create
prefix: ""
postfix: ""
loop: 0
format: ""
- field: desc
note: "描述"
range: 1-10000
prefix: "这里是分值描述"
postfix: ""
loop: 0
format: ""
- field: before
note: "之前"
range: 1-10000:10
prefix: ""
postfix: ""
loop: 0
format: ""
- field: score
note: "分值"
range: 10
prefix: ""
postfix: ""
loop: 0
format: ""
- field: after
note: "之后"
range: 11-10000:10
prefix: ""
postfix: ""
loop: 0
format: ""
- field: time
note: "时间"
range: "(-1M)-(+1w):60"
type: timestamp
format: "YYYY-MM-DD"
loop: 0
+2
View File
@@ -12,6 +12,8 @@ $builder->userview = array('rows' => 400, 'extends' => array('userview'));
$builder->dept = array('rows' => 100, 'extends' => array('dept'));
$builder->action = array('rows' => 100, 'extends' => array('action'));
$builder->history = array('rows' => 100, 'extends' => array('history'));
$builder->file = array('rows' => 100, 'extends' => array('file'));
$builder->score = array('rows' => 100, 'extends' => array('score'));
$builder->program = array('rows' => 10, 'extends' => array('project', 'program'));
$builder->project = array('rows' => 90, 'extends' => array('project', 'project'));