| Current Path : /var/www/html/sprm/backend/models/ |
| Current File : /var/www/html/sprm/backend/models/CorruptionOffendersLawyer.php |
<?php
namespace backend\models;
use Yii;
/**
* This is the model class for table "corruption_offenders_lawyer".
*
* @property int $id
* @property int|null $offenders_id
* @property string|null $type
* @property string|null $name
* @property string|null $created_at
* @property int|null $created_by
* @property string|null $updated_at
* @property int|null $updated_by
*/
class CorruptionOffendersLawyer extends \yii\db\ActiveRecord
{
/**
* {@inheritdoc}
*/
public static function tableName()
{
return 'corruption_offenders_lawyer';
}
/**
* {@inheritdoc}
*/
public function rules()
{
return [
[['offenders_id', 'created_by', 'updated_by'], 'integer'],
[['created_at', 'updated_at'], 'safe'],
[['type', 'name'], 'string', 'max' => 255],
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels()
{
return [
'id' => 'ID',
'offenders_id' => 'Offenders ID',
'type' => 'Type',
'name' => 'Name',
'created_at' => 'Created At',
'created_by' => 'Created By',
'updated_at' => 'Updated At',
'updated_by' => 'Updated By',
];
}
}