Authored by xiaofeng.yao@yoho.cn

导马甲

This diff could not be displayed because it is too large.
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "{{%vest}}".
*
* @property integer $id
* @property string $name
* @property string $avatar
*/
class Vest extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%vest}}';
}
/**
* @inheritdoc
*/
public function rules()
{
return [
[['name'], 'string', 'max' => 50],
[['avatar'], 'string', 'max' => 200],
];
}
/**
* @inheritdoc
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'name' => 'Name',
'avatar' => 'Avatar',
];
}
}
... ...