quanwei
2025-11-01 121b714d710cf3c865f4a1b5efe81abec11056d1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
 
namespace app\common\model\plus\shareholder;
 
use app\common\model\BaseModel;
 
/**
 * 股东资金明细模型
 */
class Capital extends BaseModel
{
    protected $name = 'shareholder_capital';
    protected $pk = 'id';
 
    /**
     * 股东资金明细
     * @param $data
     */
    public static function add($data)
    {
        $model = new static;
        $model->save(array_merge([
            'app_id' => $model::$app_id
        ], $data));
    }
}