root 4 년 전
부모
커밋
2bd28bb417
1개의 변경된 파일23개의 추가작업 그리고 5개의 파일을 삭제
  1. 23
    5
      app/Model/Module/Compound.php

+ 23
- 5
app/Model/Module/Compound.php 파일 보기

return $this->belongsTo('App\Model\StaffDetail','dikeluarkan','_id'); return $this->belongsTo('App\Model\StaffDetail','dikeluarkan','_id');
} }


public function updateby(){
public function staffdetailNotis()
{
return $this->belongsTo('App\Model\StaffDetail','dikeluarkan_n','_id');
}

public function updateby()
{
return $this->belongsTo('App\Model\StaffDetail','update_by','_id'); return $this->belongsTo('App\Model\StaffDetail','update_by','_id');
} }


return $this->hasMany('App\Model\Module\LetterNotice'); return $this->hasMany('App\Model\Module\LetterNotice');
} }


public function faulty(){
return $this->belongsTo('App\Model\Module\Faulty', 'seksyen_kesalahan', '_id');
}

public function department(){ public function department(){
return $this->belongsTo('App\Model\Module\Department', 'jbkod', '_id'); return $this->belongsTo('App\Model\Module\Department', 'jbkod', '_id');
} }


public function departmentNotis(){
return $this->belongsTo('App\Model\Module\Department', 'jbkod_n', '_id');
}

public function deedlaw(){ public function deedlaw(){
return $this->belongsTo('App\Model\Module\DeedLaw', 'akta', '_id'); return $this->belongsTo('App\Model\Module\DeedLaw', 'akta', '_id');
} }

public function deedlawNotis(){
return $this->belongsTo('App\Model\Module\DeedLaw', 'akta_n', '_id');
}

public function faulty(){
return $this->belongsTo('App\Model\Module\Faulty', 'seksyen_kesalahan', '_id');
}

public function faultyNotis(){
return $this->belongsTo('App\Model\Module\Faulty', 'seksyen_kesalahan_n', '_id');
}
} }

Loading…
취소
저장