|
|
@ -6,46 +6,47 @@ use Illuminate\Database\Eloquent\Model; |
|
|
|
|
|
|
|
|
|
|
|
class Project extends Model |
|
|
|
class Project extends Model |
|
|
|
{ |
|
|
|
{ |
|
|
|
protected $table = 'm_proyek'; |
|
|
|
protected $table = 'm_proyek'; |
|
|
|
|
|
|
|
|
|
|
|
const CREATED_AT = 'created_at'; |
|
|
|
const CREATED_AT = 'created_at'; |
|
|
|
const UPDATED_AT = 'updated_at'; |
|
|
|
const UPDATED_AT = 'updated_at'; |
|
|
|
|
|
|
|
|
|
|
|
protected $fillable = [ |
|
|
|
protected $fillable = [ |
|
|
|
'kode_sortname', |
|
|
|
'kode_sortname', |
|
|
|
'jumlah_stakeholder', |
|
|
|
'jumlah_stakeholder', |
|
|
|
'nama', |
|
|
|
'nama', |
|
|
|
'mulai_proyek', |
|
|
|
'mulai_proyek', |
|
|
|
'akhir_proyek', |
|
|
|
'akhir_proyek', |
|
|
|
'area_kerja', |
|
|
|
'area_kerja', |
|
|
|
'lokasi_kantor', |
|
|
|
'lokasi_kantor', |
|
|
|
'rencana_biaya', |
|
|
|
'rencana_biaya', |
|
|
|
'biaya_actual', |
|
|
|
'biaya_actual', |
|
|
|
'company', |
|
|
|
'company', |
|
|
|
'pm_id', |
|
|
|
'pm_id', |
|
|
|
'type_proyek_id', |
|
|
|
'type_proyek_id', |
|
|
|
'persentase_progress', |
|
|
|
'divisi_id', |
|
|
|
'keterangan', |
|
|
|
'persentase_progress', |
|
|
|
'durasi_proyek', |
|
|
|
'keterangan', |
|
|
|
'progress_by_worklog', |
|
|
|
'durasi_proyek', |
|
|
|
'status', |
|
|
|
'progress_by_worklog', |
|
|
|
'currency_simbol', |
|
|
|
'status', |
|
|
|
'currency_code', |
|
|
|
'currency_simbol', |
|
|
|
'currency_name', |
|
|
|
'currency_code', |
|
|
|
'project_objectives', |
|
|
|
'currency_name', |
|
|
|
'considered_success_when', |
|
|
|
'project_objectives', |
|
|
|
'potential_risk', |
|
|
|
'considered_success_when', |
|
|
|
'testing_environment', |
|
|
|
'potential_risk', |
|
|
|
'currency_code', |
|
|
|
'testing_environment', |
|
|
|
'currency_symbol', |
|
|
|
'currency_code', |
|
|
|
'currency_name', |
|
|
|
'currency_symbol', |
|
|
|
'budget_health', |
|
|
|
'currency_name', |
|
|
|
'phase_id', |
|
|
|
'budget_health', |
|
|
|
'created_at', |
|
|
|
'phase_id', |
|
|
|
'created_by', |
|
|
|
'created_at', |
|
|
|
'updated_at', |
|
|
|
'created_by', |
|
|
|
'updated_by' |
|
|
|
'updated_at', |
|
|
|
]; |
|
|
|
'updated_by' |
|
|
|
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|