Custom Backend OSPRO Surveyor Indonesia
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.

63 lines
1.4 KiB

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Project extends Model
{
// define table
protected $table = 'm_proyek';
const CREATED_AT = 'created_at';
const UPDATED_AT = 'updated_at';
protected $fillable = [
'kode_sortname',
'jumlah_stakeholder',
'nama',
'mulai_proyek',
'akhir_proyek',
'area_kerja',
'lokasi_kantor',
'rencana_biaya',
'biaya_actual',
'company',
'pm_id',
'type_proyek_id',
'persentase_progress',
// 'investor',
// 'finance',
'keterangan',
'durasi_proyek',
'progress_by_worklog',
// 'relevance',
// 'level',
'status',
// 'depens',
// 'can_write',
// 'start_is_milestone',
// 'end_is_milestone',
// 'collapsed',
// 'has_child',
// 'can_delete',
// 'can_write_on_parent',
// 'can_add',
'currency_simbol',
'currency_code',
'currency_name',
'project_objectives',
'considered_success_when',
'potential_risk',
'testing_environment',
'currency_code',
'currency_symbol',
'currency_name',
'created_at',
'created_by',
'updated_at',
'updated_by'
];
}