39 lines
750 B
PHP
39 lines
750 B
PHP
<?php namespace Atash\Slider\Models;
|
|
|
|
use Model;
|
|
|
|
/**
|
|
* Model
|
|
*/
|
|
class Widy_zayawok extends Model
|
|
{
|
|
use \October\Rain\Database\Traits\Validation;
|
|
|
|
/*
|
|
* Disable timestamps by default.
|
|
* Remove this line if timestamps are defined in the database table.
|
|
*/
|
|
public $timestamps = false;
|
|
|
|
|
|
/**
|
|
* @var string The database table used by the model.
|
|
*/
|
|
public $table = 'atash_slider_wid_zayawok';
|
|
|
|
/**
|
|
* @var array Validation rules
|
|
*/
|
|
public $rules = [
|
|
];
|
|
|
|
public $implement = ['RainLab.Translate.Behaviors.TranslatableModel'];
|
|
|
|
public $translatable = ['title'];
|
|
|
|
public $attachOne = [
|
|
'image' => 'System\Models\File',
|
|
'file' => 'System\Models\File'
|
|
];
|
|
}
|