| Current Path : /var/www/html/jawharv2/backend/models/ |
| Current File : /var/www/html/jawharv2/backend/models/PemantauanProjek.php |
<?php
namespace backend\models;
use Yii;
/**
* This is the model class for table "pemantauan_projek".
*
* @property int $projek_ID
* @property string $kategori_projek
* @property string $tarikh_mula
* @property string $tarikh_siap
*/
class PemantauanProjek extends \yii\db\ActiveRecord
{
/**
* {@inheritdoc}
*/
public static function tableName()
{
return 'pemantauan_projek';
}
/**
* {@inheritdoc}
*/
public function rules()
{
return [
[['kategori_projek', 'tarikh_mula', 'tarikh_siap'], 'required'],
[['tarikh_mula', 'tarikh_siap'], 'safe'],
[['kategori_projek'], 'string', 'max' => 55],
];
}
/**
* {@inheritdoc}
*/
public function attributeLabels()
{
return [
'projek_ID' => 'Projek ID',
'kategori_projek' => 'Kategori Projek',
'tarikh_mula' => 'Tarikh Mula',
'tarikh_siap' => 'Tarikh Siap',
];
}
}