chore: 重写初始提交(清空历史,整理后全量提交)

This commit is contained in:
ywxapp
2026-08-16 16:54:14 +08:00
commit 6c1a106bc1
1808 changed files with 238144 additions and 0 deletions
+42
View File
@@ -0,0 +1,42 @@
<?php
// +----------------------------------------------------------------------
// | YwxApp AppMarket [ 应用市场中心站插件 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2026-2036 http://ywxapp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: ywxapp<admin@ywxapp.cn>
// +----------------------------------------------------------------------
declare(strict_types=1);
namespace addon\appmall\model;
use ywxapp\model\BaseModel;
/**
* 插件销售收益账本(中心站)
* 表:appmall_addon_revenues(无 update_at,结算时间用 settle_at 业务字段)
* @mixin \think\Model
*/
class Revenue extends BaseModel
{
protected function getOptions(): array
{
return [
'strict' => true,
'name' => 'appmall_addon_revenues',
'autoWriteTimestamp' => 'int',
'createTime' => 'create_at',
'updateTime' => false,
];
}
/**
* 关联开发者
* @return \think\model\relation\BelongsTo
*/
public function developer()
{
return $this->belongsTo(Developer::class, 'developer_id', 'id');
}
}