| 1234567891011121314151617181920212223242526272829 |
- <?php
- // +----------------------------------------------------------------------
- // | saiadmin [ saiadmin快速开发框架 ]
- // +----------------------------------------------------------------------
- namespace plugin\saiadmin\app\model\merchant;
- use plugin\saiadmin\basic\think\BaseModel;
- /**
- * 商户模型
- */
- class Merchant extends BaseModel
- {
- protected $pk = 'id';
- protected $table = 'sa_merchant';
- protected $hidden = ['password', 'delete_time'];
- protected $type = [
- 'products' => 'json',
- 'permissions' => 'json',
- 'distributed' => 'integer',
- 'status' => 'integer',
- 'parent_merchant_id' => 'integer',
- 'withdraw_update_mode' => 'integer',
- 'withdraw_update_day' => 'integer',
- ];
- }
|