g_sto/plugins/romanah/gokbakja/models/Client.php

34 lines
586 B
PHP
Raw Normal View History

2023-10-04 20:51:27 +00:00
<?php namespace Romanah\Gokbakja\Models;
use Model;
/**
* Model
*/
class Client extends Model
{
use \October\Rain\Database\Traits\Validation;
use \October\Rain\Database\Traits\SoftDelete;
protected $dates = ['deleted_at'];
public $hasMany = [
'order' => [
'Romanah\Gokbakja\Models\Order',
'key' => 'client_id'
]
];
/**
* @var string The database table used by the model.
*/
public $table = 'romanah_gokbakja_client';
/**
* @var array Validation rules
*/
public $rules = [
];
}