nc-weather/lib/Db/CityEntity.php

27 lines
492 B
PHP
Raw Normal View History

2016-04-24 20:16:29 +00:00
<?php
/**
* ownCloud - weather
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
*
* @author Loic Blot <loic.blot@unix-experience.fr>
* @copyright Loic Blot 2015
*/
namespace OCA\Weather\Db;
use \OCP\AppFramework\Db\Entity;
class CityEntity extends Entity {
public $id;
public $name;
public $user_id;
public function __construct() {
$this->addType('id', 'integer');
$this->addType('user_id', 'integer');
}
}
2023-07-24 19:24:05 +00:00
?>