Personal Website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

24 lines
498 B

<?php
namespace App\Model;
use App\Traits\Log;
class SectionModel extends Model {
use Log;
protected $table = 'section';
protected $sort = 'order';
// Attribute rules
// Name | Type | Required | Filtered
public $rules = [
["section", "text", 1, 0],
["title", "text", 0, 0],
["order", "text", 1, 0],
["hide_navigation", "checkbox", 1, 0],
["active", "checkbox", 1, 0],
["log_id", "text", 1, 1],
];
}