format('Y-m-d H:i:s'); } public function user() { return $this->hasOne(SysUser::class, 'user_id', 'creator') ->select('user_id', 'user_name'); } }