| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <?php
- namespace frontend\models;
- use Yii;
- /**
- * This is the model class for table "bit_enroll".
- *
- * @property integer $id
- * @property string $nickname
- * @property string $mobile
- * @property string $email
- * @property string $weixin
- * @property integer $in_time
- * @property string $ip
- * @property string $domain
- * @property string $remark1
- * @property string $remark2
- */
- class Enroll extends \yii\db\ActiveRecord
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return 'bit_enroll';
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['in_time'], 'integer'],
- [['nickname', 'mobile', 'email', 'weixin', 'domain', 'remark1', 'remark2'], 'string', 'max' => 255],
- [['ip'], 'string', 'max' => 50],
- ];
- }
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'nickname' => 'Nickname',
- 'mobile' => 'Mobile',
- 'email' => 'Email',
- 'weixin' => 'Weixin',
- 'in_time' => 'In Time',
- 'ip' => 'Ip',
- 'domain' => 'Domain',
- 'remark1' => 'Remark1',
- 'remark2' => 'Remark2',
- ];
- }
- }
|