feat: 附件(软件/手册下载)

This commit is contained in:
2025-04-14 18:12:27 +08:00
parent 26b83d2037
commit fbd479f69a
8 changed files with 251 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
<?php
declare (strict_types = 1);
namespace app\index\model;
use app\common\model\AttachmentBaseModel;
use think\model\concern\SoftDelete;
/**
* 附件模型
* @mixin \think\Model
*/
class AttachmentModel extends AttachmentBaseModel
{
// 启用软删除
use SoftDelete;
// 软删除时间字段名
protected $deleteTime = 'deleted_at';
}