Skip to content

Commit 4b46f3e

Browse files
committed
fix: 更新所有模型的字段IDE提示注释
1 parent 1efb5eb commit 4b46f3e

File tree

10 files changed

+111
-0
lines changed

10 files changed

+111
-0
lines changed

src/model/SystemAuth.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@
2222

2323
/**
2424
* 用户权限模型
25+
*
26+
* @property int $id
27+
* @property int $sort 排序权重
28+
* @property int $status 权限状态(1使用,0禁用)
29+
* @property string $create_at 创建时间
30+
* @property string $desc 备注说明
31+
* @property string $title 权限名称
32+
* @property string $utype 身份权限
2533
* @class SystemAuth
2634
* @package think\admin\model
2735
*/

src/model/SystemBase.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,18 @@
2222

2323
/**
2424
* 数据字典模型
25+
*
26+
* @property int $deleted 删除状态(0正常,1已删)
27+
* @property int $deleted_by 删除用户
28+
* @property int $id
29+
* @property int $sort 排序权重
30+
* @property int $status 数据状态(0禁用,1启动)
31+
* @property string $code 数据代码
32+
* @property string $content 数据内容
33+
* @property string $create_at 创建时间
34+
* @property string $deleted_at 删除时间
35+
* @property string $name 数据名称
36+
* @property string $type 数据类型
2537
* @class SystemBase
2638
* @package think\admin\model
2739
*/

src/model/SystemConfig.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222

2323
/**
2424
* 系统配置模型
25+
*
26+
* @property int $id
27+
* @property string $name 配置名称
28+
* @property string $type 配置分类
29+
* @property string $value 配置内容
2530
* @class SystemConfig
2631
* @package think\admin\model
2732
*/

src/model/SystemData.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@
2222

2323
/**
2424
* 系统数据模型
25+
*
26+
* @property int $id
27+
* @property string $create_time 创建时间
28+
* @property string $name 配置名
29+
* @property string $update_time 更新时间
30+
* @property string $value 配置值
2531
* @class SystemData
2632
* @package think\admin\model
2733
*/

src/model/SystemFile.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,25 @@
2323

2424
/**
2525
* 文件管理系统
26+
*
27+
* @property int $id
28+
* @property int $isfast 是否秒传
29+
* @property int $issafe 安全模式
30+
* @property int $size 文件大小
31+
* @property int $status 上传状态(1悬空,2落地)
32+
* @property int $unid 会员编号
33+
* @property int $uuid 用户编号
34+
* @property string $create_at 创建时间
35+
* @property string $hash 文件哈希
36+
* @property string $mime 文件类型
37+
* @property string $name 文件名称
38+
* @property string $tags 文件标签
39+
* @property string $type 上传类型
40+
* @property string $update_at 更新时间
41+
* @property string $xext 文件后缀
42+
* @property string $xkey 文件路径
43+
* @property string $xurl 访问链接
44+
* @property-read \think\admin\model\SystemUser $user
2645
* @class SystemFile
2746
* @package think\admin\model
2847
*/

src/model/SystemMenu.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,18 @@
2222

2323
/**
2424
* 系统菜单模型
25+
*
26+
* @property int $id
27+
* @property int $pid 上级ID
28+
* @property int $sort 排序权重
29+
* @property int $status 状态(0:禁用,1:启用)
30+
* @property string $create_at 创建时间
31+
* @property string $icon 菜单图标
32+
* @property string $node 节点代码
33+
* @property string $params 链接参数
34+
* @property string $target 打开方式
35+
* @property string $title 菜单名称
36+
* @property string $url 链接节点
2537
* @class SystemMenu
2638
* @package think\admin\model
2739
*/

src/model/SystemNode.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222

2323
/**
2424
* 授权节点模型
25+
*
26+
* @property int $auth 角色
27+
* @property int $id
28+
* @property string $node 节点
2529
* @class SystemNode
2630
* @mixin \think\db\Query
2731
* @package think\admin\model

src/model/SystemOplog.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@
2222

2323
/**
2424
* 系统日志模型
25+
*
26+
* @property int $id
27+
* @property string $action 操作行为名称
28+
* @property string $content 操作内容描述
29+
* @property string $create_at 创建时间
30+
* @property string $geoip 操作者IP地址
31+
* @property string $node 当前操作节点
32+
* @property string $username 操作人用户名
2533
* @class SystemOplog
2634
* @package think\admin\model
2735
*/

src/model/SystemQueue.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,23 @@
2222

2323
/**
2424
* 系统任务模型
25+
*
26+
* @property int $attempts 执行次数
27+
* @property int $exec_pid 执行进程
28+
* @property int $id
29+
* @property int $loops_time 循环时间
30+
* @property int $rscript 任务类型(0单例,1多例)
31+
* @property int $status 任务状态(1新任务,2处理中,3成功,4失败)
32+
* @property string $code 任务编号
33+
* @property string $command 执行指令
34+
* @property string $create_at 创建时间
35+
* @property string $enter_time 开始时间
36+
* @property string $exec_data 执行参数
37+
* @property string $exec_desc 执行描述
38+
* @property string $exec_time 执行时间
39+
* @property string $message 最新消息
40+
* @property string $outer_time 结束时间
41+
* @property string $title 任务名称
2542
* @class SystemQueue
2643
* @package think\admin\model
2744
*/

src/model/SystemUser.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,26 @@
2323

2424
/**
2525
* 系统用户模型
26+
*
27+
* @property int $id
28+
* @property int $is_deleted 删除(1删除,0未删)
29+
* @property int $login_num 登录次数
30+
* @property int $sort 排序权重
31+
* @property int $status 状态(0禁用,1启用)
32+
* @property string $authorize 权限授权
33+
* @property string $contact_mail 联系邮箱
34+
* @property string $contact_phone 联系手机
35+
* @property string $contact_qq 联系QQ
36+
* @property string $create_at 创建时间
37+
* @property string $describe 备注说明
38+
* @property string $headimg 头像地址
39+
* @property string $login_at 登录时间
40+
* @property string $login_ip 登录地址
41+
* @property string $nickname 用户昵称
42+
* @property string $password 用户密码
43+
* @property string $username 用户账号
44+
* @property string $usertype 用户类型
45+
* @property-read \think\admin\model\SystemBase $userinfo
2646
* @class SystemUser
2747
* @package think\admin\model
2848
*/

0 commit comments

Comments
 (0)