<?php namespace Admin\WeeklyNews\Models;

use Model;

/**
 * Model
 */
class WeeklyNews extends Model
{
    use \October\Rain\Database\Traits\Validation;
    

    /**
     * @var string The database table used by the model.
     */
    public $table = 'admin_weeklynews_posts';
    public $implement = ['RainLab.Translate.Behaviors.TranslatableModel'];

    public $translatable = ['title'];
    /**
     * @var array Validation rules
     */
    public $rules = [
    ];

    public $attachOne = [
        'pdf_tk' => 'System\Models\File',
        'pdf_ru' => 'System\Models\File',
        'pdf_en' => 'System\Models\File',
        'image_tk' => 'System\Models\File',
        'image_ru' => 'System\Models\File',
        'image_en' => 'System\Models\File',
    ];
}
