1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00
movim_ynh/sources/app/models/cache/Cache.php

27 lines
604 B
PHP
Raw Normal View History

<?php
namespace modl;
class Cache extends Model{
public $session;
public $name;
public $data;
public $timestamp;
public function __construct() {
$this->_struct = '
{
"session" :
{"type":"string", "size":64, "mandatory":true, "key":true },
"name" :
{"type":"string", "size":32, "mandatory":true, "key":true },
"data" :
{"type":"text", "mandatory":true },
"timestamp" :
{"type":"date" }
}';
parent::__construct();
}
}