<?php namespace Tps\Shops\Models;

use Model;

/**
 * Model
 */
class RentalsAndSales extends Model
{
    use \October\Rain\Database\Traits\Validation;
    
    public $implement = ['RainLab.Translate.Behaviors.TranslatableModel'];

    /**
     * @var string The database table used by the model.
     */
    public $table = 'tps_shops_rentals_and_sales';

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

    public $attachMany = [
        'images' => 'Tps\Shops\Classes\Attachment',
    ];

    public $translatable = ['name', 'sector','description'];
}



