100], [['session_key', 'password', 'avatarurl'], 'string', 'max' => 255], [['mobile', 'idcard'], 'string', 'max' => 20], [['nickname', 'country', 'province', 'city'], 'string', 'max' => 50], [['openid'], 'unique'], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'ID', 'openid' => 'Openid', 'session_key' => 'Session Key', 'unionid' => 'Unionid', 'mobile' => 'Mobile', 'password' => 'Password', 'nickname' => 'Nickname', 'gender' => 'Gender', 'country' => 'Country', 'province' => 'Province', 'city' => 'City', 'avatarurl' => 'Avatarurl', 'token' => 'Token', 'idcard' => 'Idcard', 'age' => 'Age', 'status' => 'Status', 'current_store_id' => 'cCurrent Store Id', 'created_at' => 'Created At', 'updated_at' => 'Updated At', 'is_delete' => 'Is Delete', ]; } }