| Current Path : /var/www/html/dyna-crm/models/ |
| Current File : /var/www/html/dyna-crm/models/ServerOwner.php |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "server_owner".
*
* @property int $id
* @property string $uuid
* @property string $project
* @property string $created_dt
* @property int $created_by
* @property string $updated_dt
* @property int $updated_by
*/
class ServerOwner extends \yii\db\ActiveRecord {
/**
* {@inheritdoc}
*/
public static function tableName() {
return 'server_owner';
}
/**
* {@inheritdoc}
*/
public function rules() {
return [
[['project'], 'required'],
[['created_dt', 'updated_dt', 'uuid'], 'safe'],
[['created_by', 'updated_by'], 'integer'],
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels() {
return [
'id' => 'ID',
'uuid' => 'Uuid',
'project' => 'Project Name',
'created_dt' => 'Created Dt',
'created_by' => 'Created By',
'updated_dt' => 'Last Update',
'updated_by' => 'Updated By',
];
}
}