<?php

namespace app\common\model;

use think\Model;

class UserParam extends Model
{
    // 设置字段信息
    protected $schema = [
        'id'            => 'int',
        'redmoney'      => 'int',
        'usernumber'    => 'int',
        'shareintegral' => 'int',
        'postintegral'  => 'int',
        'inttomoney'    => 'int',
        'minintegral'   => 'int',
        'intrecharge'   => 'int',
        'picregworker'  => 'string',
        'intregworker'  => 'int',
        'register'      => 'int',
        'improveresume' => 'int',
        'certification' => 'int',
        'entry'         => 'int',
        'signin'        => 'int',
        'sharejob'      => 'int',
        'sharejobnum'   => 'int',
        'taskimage'     => 'string',
        'getmoney'      => 'string',
        'commission'    => 'string',
    ];

    protected $type = [
        'getmoney'   => 'json',
        'commission' => 'json',
    ];
}