You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<?php
declare (strict_types=1);namespace App\Model;
/** */class UserBalance extends Model{ /** * 账户类型 * * 总账 * USER_TYPE_LEDGER / -1 * * 用户 * USER_TYPE_USER / 1 * * MP用户账户,服务商、市场经理、服务站点等 * USER_TYPE_MP / 2 * USER_TYPE_MM / 3 * USER_TYPE_CS / 4 * * 商户账户 * USER_TYPE_STORE / 5 */ const USER_TYPE_LEDGER = -1; const USER_TYPE_USER = 1; const USER_TYPE_MP = 2; const USER_TYPE_MM = 3; const USER_TYPE_CS = 4; const USER_TYPE_STORE = 5;
/** * The table associated with the model. * * @var string */ protected $table = 'lanzu_user_balance'; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'source_id', 'user_type', 'balance' ]; /** * The attributes that should be cast to native types. * * @var array */ protected $casts = [];}
|