Berkarar/plugins/tps/shops/models/Report.php

42 lines
869 B
PHP
Raw Normal View History

2022-09-13 14:01:10 +00:00
<?php namespace Tps\Shops\Models;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Log;
use Model;
use October\Rain\Exception\ApplicationException;
use October\Rain\Support\Facades\Input;
use ZipArchive;
/**
* Model
*/
class Report extends Model
{
use \October\Rain\Database\Traits\Validation;
public $implement = ['RainLab.Translate.Behaviors.TranslatableModel'];
/*
* 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 = 'tps_shops_reports';
/**
* @var array Validation rules
*/
public $rules = [];
public $attachOne = [
'file' => 'System\Models\File',
];
public $translatable = ['name'];
}