<?php

namespace KupShop\I18nBundle\Translations;

class PhotosTranslation extends BaseTranslation
{
    protected $columns = [
        'descr' => ['alias' => 'Popis', 'maxlength' => 250],
        'image_2' => ['alias' => 'Obrázek', 'image' => true],
        'image_tablet' => ['alias' => 'Obrázek - tablet', 'image' => true],
        'image_mobile' => ['alias' => 'Obrázek - mobil', 'image' => true],
    ];

    protected $tableName = 'photos';
    protected $tableAlias = 'ph';
    protected $nameColumn = 'image_2';
}
