openstackid-resources/app/Models/Foundation/Summit/SummitWIFIConnection.php
Sebastian Marcet f4be12644d Summit Wifi Connections
Added summit wifi connection entity to summit json

Change-Id: Ic9aff92729cec7f28b064250787196c587c1e1d6
2017-02-02 11:49:29 -03:00

95 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\Table(name="SummitWIFIConnection")
* @ORM\Cache(usage="NONSTRICT_READ_WRITE", region="summit_region")
* 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;
}
}