1234567891011121314151617181920212223 |
- <?php
- namespace app\bug\model;
- class NoteLog extends Base
- {
- protected $schema = [
- 'id' =>'int',
- 'bugNo' =>'varchar',
- 'type' =>'int',
- 'action_uid' =>'int',
- 'action_name' =>'varchar',
- 'handle_name' =>'varchar',
- 'action_item' =>'text',
- 'action_after' =>'text',
- 'addtime' =>'datetime',
- ];
- protected $createTime='addtime';
- public function NoteInfo(){
- return $this->belongsTo('Note','bugNo','bugNo')->bind(["company_type"]);
- }
- }
|