Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Leantime/leantime
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelfolaron committed Nov 23, 2024
2 parents d5d1c8f + 4e98cbf commit f09d646
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
15 changes: 15 additions & 0 deletions app/Core/Db/DbColumn.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

namespace Leantime\Core\Db;

use Attribute;

#[Attribute]
class DbColumn
{
public function __construct(
public string $name,
) {
//
}
}
14 changes: 14 additions & 0 deletions app/Domain/Connector/Models/Integration.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,44 @@

namespace Leantime\Domain\Connector\Models {

use Leantime\Core\Db\DbColumn;

class Integration
{
#[DbColumn('id')]
public int $id;

#[DbColumn('providerId')]
public ?string $providerId;

#[DbColumn('method')]
public ?string $method;

#[DbColumn('entity')]
public ?string $entity;

#[DbColumn('fields')]
public ?string $fields;

#[DbColumn('schedule')]
public ?string $schedule;

#[DbColumn('notes')]
public ?string $notes;

#[DbColumn('auth')]
public ?string $auth;

#[DbColumn('meta')]
public ?string $meta;

#[DbColumn('createdOn')]
public ?string $createdOn;

#[DbColumn('createdBy')]
public ?string $createdBy;

#[DbColumn('lastSync')]
public ?string $lastSync;

public function __construct() {}
Expand Down
1 change: 0 additions & 1 deletion app/Domain/CsvImport/Templates/upload.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
$$var = $val; // necessary for blade refactor
}
$maxSize = Fileupload::getMaximumFileUploadSize();
$moduleId = (int) $_GET['id'] ?? '';
?>

<div id="fileManager">
Expand Down

0 comments on commit f09d646

Please sign in to comment.