12345678910111213141516171819202122232425 |
- <?php
- namespace app\common\model;
- use think\Model;
- class UserGetmoneyLog extends Model
- {
- // 设置字段信息
- protected $schema = [
- 'id' => 'int',
- 'userid' => 'int',
- 'out_trade_no' => 'string',
- 'money' => 'float',
- 'integral' => 'int',
- 'remark' => 'string',
- 'createtime' => 'int',
- ];
- // 设置字段自动转换类型
- protected $type = [
- 'createtime' => 'timestamp:Y-m-d H:i',
- ];
- }
|