gurl_o/plugins/tps/birzha/models/Notification.php

34 lines
600 B
PHP

<?php namespace TPS\Birzha\Models;
use Model;
/**
* Model
*/
class Notification extends Model
{
use \October\Rain\Database\Traits\Validation;
use \October\Rain\Database\Traits\SoftDelete;
public $implement = ['@RainLab.Translate.Behaviors.TranslatableModel'];
public $translatable = [
'subject', 'text',
];
protected $dates = ['deleted_at'];
/**
* @var string The database table used by the model.
*/
public $table = 'tps_birzha_notifications';
/**
* @var array Validation rules
*/
public $rules = [
];
}