
* updated dependencies * updated LV version to 5.6 * added object storage for assets Change-Id: I9a66563c925fe6f70c4f7703f13867caa30b8fb7
99 lines
2.1 KiB
PHP
99 lines
2.1 KiB
PHP
<?php namespace models\summit;
|
|
/**
|
|
* Copyright 2017 OpenStack Foundation
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
**/
|
|
use Doctrine\ORM\Cache;
|
|
use models\utils\SilverstripeBaseModel;
|
|
use Doctrine\ORM\Mapping AS ORM;
|
|
/**
|
|
* @ORM\Entity
|
|
* @ORM\AssociationOverrides({
|
|
* @ORM\AssociationOverride(
|
|
* name="summit",
|
|
* inversedBy="wifi_connections"
|
|
* )
|
|
* })
|
|
* @ORM\Table(name="SummitWIFIConnection")
|
|
* Class SummitWIFIConnection
|
|
* @package models\summit\SummitWIFIConnection
|
|
*/
|
|
class SummitWIFIConnection extends SilverstripeBaseModel
|
|
{
|
|
use SummitOwned;
|
|
|
|
/**
|
|
* @ORM\Column(name="SSID", type="string")
|
|
* @var string
|
|
*/
|
|
private $ssid;
|
|
|
|
/**
|
|
* @ORM\Column(name="Password", type="string")
|
|
* @var string
|
|
*/
|
|
private $password;
|
|
|
|
/**
|
|
* @ORM\Column(name="Description", type="string")
|
|
* @var string
|
|
*/
|
|
private $description;
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getSsid()
|
|
{
|
|
return $this->ssid;
|
|
}
|
|
|
|
/**
|
|
* @param string $ssid
|
|
*/
|
|
public function setSsid($ssid)
|
|
{
|
|
$this->ssid = $ssid;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getPassword()
|
|
{
|
|
return $this->password;
|
|
}
|
|
|
|
/**
|
|
* @param string $password
|
|
*/
|
|
public function setPassword($password)
|
|
{
|
|
$this->password = $password;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getDescription()
|
|
{
|
|
return $this->description;
|
|
}
|
|
|
|
/**
|
|
* @param string $description
|
|
*/
|
|
public function setDescription($description)
|
|
{
|
|
$this->description = $description;
|
|
}
|
|
|
|
} |