33 lines
796 B
PHP
33 lines
796 B
PHP
<?php
|
|
|
|
namespace app\model;
|
|
|
|
use support\Model;
|
|
|
|
/**
|
|
* @property integer $id VIP级别的唯一标识符
|
|
* @property string $name VIP级别的名称
|
|
* @property integer $user_count VIP级别的用户数量
|
|
* @property integer $first_amount 首次充值积分
|
|
* @property integer $gift_amount 赠送积分
|
|
* @property integer $createtime 创建时间(时间戳)
|
|
*/
|
|
class VipLevel extends Model
|
|
{
|
|
/**
|
|
* The table associated with the model.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $table = 'vip_levels';
|
|
|
|
/**
|
|
* The primary key associated with the table.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $primaryKey = 'id';
|
|
|
|
public $timestamps = false; // 如果不需要自动维护创建和更新时间,可以将此设置为 false
|
|
}
|