| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?php
- namespace frontend\models;
- use Yii;
- /**
- * This is the model class for table "bit_partner_apply".
- *
- * @property string $id
- * @property string $name
- * @property string $mobile
- * @property string $email
- * @property string $memo
- * @property integer $type
- * @property string $create_time
- */
- class PartnerApply extends \yii\db\ActiveRecord
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return 'bit_partner_apply';
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['type'], 'integer'],
- [['create_time'], 'safe'],
- [['name', 'email'], 'string', 'max' => 255],
- [['mobile'], 'string', 'max' => 30],
- [['memo'], 'string', 'max' => 1000],
- ];
- }
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'name' => 'Name',
- 'mobile' => 'Mobile',
- 'email' => 'Email',
- 'memo' => 'Memo',
- 'type' => 'Type',
- 'create_time' => 'Create Time',
- ];
- }
- }
|