fix clone
This commit is contained in:
1 parent
82ee9d2dcf
commit
9a5ad32315
33 files changed
+654
-496
No files matched your search
@@ -4,6 +4,15 @@ namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* @property int $id
|
||||
* @property int $projekte_id
|
||||
* @property int $cloned_from_id
|
||||
* @property int $added_manuel
|
||||
* @property string $geschoss
|
||||
* @property string $raumart
|
||||
* @property float $flaeche
|
||||
*/
|
||||
class ProjektAllgemeinflaechen extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
|
||||
@@ -4,6 +4,27 @@ namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* @property int $id
|
||||
* @property int $projekte_id
|
||||
* @property int $cloned_from_id
|
||||
* @property int $added_manuel
|
||||
* @property int $inhaltselement_id
|
||||
* @property int $inhaltsverzeichnis_id
|
||||
* @property int $textblock_id
|
||||
* @property int $konto_textblock_id
|
||||
* @property int $sort
|
||||
* @property float $ordnungszahl
|
||||
* @property string $name
|
||||
* @property string $part
|
||||
* @property int $ueberschrift_verbergen
|
||||
* @property int $seite
|
||||
* @property int $neue_seite
|
||||
* @property int $no_edit
|
||||
* @property string $textblock_name
|
||||
* @property string $textblock
|
||||
* @property string $textblock2
|
||||
*/
|
||||
class ProjektInhaltsverzeichnis extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
|
||||
@@ -4,6 +4,15 @@ namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* @property int $id
|
||||
* @property int $projekte_id
|
||||
* @property int $projekt_objekte_id
|
||||
* @property int $cloned_from_id
|
||||
* @property int $added_manuel
|
||||
* @property string $code
|
||||
* @property string $name
|
||||
*/
|
||||
class ProjektMerkmale extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
@@ -14,7 +23,7 @@ class ProjektMerkmale extends Model
|
||||
'name',
|
||||
];
|
||||
|
||||
public static function getfreecode($projekte_id)
|
||||
public static function getfreecode(int $projekte_id)
|
||||
{
|
||||
|
||||
$possible = range('a', 'j');
|
||||
|
||||
@@ -4,6 +4,15 @@ namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* @property int $id
|
||||
* @property int $projekte_id
|
||||
* @property int $cloned_from_id
|
||||
* @property int $methode_id
|
||||
* @property int $aufstellung_id
|
||||
* @property string $raumart
|
||||
* @property float $faktor
|
||||
*/
|
||||
class ProjektMethode extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
@@ -11,7 +20,6 @@ class ProjektMethode extends Model
|
||||
'cloned_from_id',
|
||||
'methode_id',
|
||||
'aufstellung_id',
|
||||
'geschoss',
|
||||
'raumart',
|
||||
'faktor',
|
||||
];
|
||||
|
||||
@@ -6,6 +6,28 @@ use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||
use Illuminate\Database\Eloquent\Relations\HasOne;
|
||||
|
||||
/**
|
||||
* @property int $id
|
||||
* @property int $projekte_id
|
||||
* @property int $cloned_from_id
|
||||
* @property int $added_manuel
|
||||
* @property int $orientierung_id
|
||||
* @property int $nicht_in_orientierung
|
||||
* @property string $top_nummer
|
||||
* @property string $type
|
||||
* @property string $raumart
|
||||
* @property string $nutzwert
|
||||
* @property string $a
|
||||
* @property string $b
|
||||
* @property string $c
|
||||
* @property string $d
|
||||
* @property string $e
|
||||
* @property string $f
|
||||
* @property string $g
|
||||
* @property string $h
|
||||
* @property string $i
|
||||
* @property string $j
|
||||
*/
|
||||
class ProjektObjekte extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
@@ -18,7 +40,6 @@ class ProjektObjekte extends Model
|
||||
'type',
|
||||
'raumart',
|
||||
'nutzwert',
|
||||
'added_manuel',
|
||||
'a',
|
||||
'b',
|
||||
'c',
|
||||
|
||||
@@ -4,11 +4,26 @@ namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* @property int $id
|
||||
* @property int $projekte_id
|
||||
* @property int $projekt_objekte_id
|
||||
* @property int $projekt_methode_id
|
||||
* @property int $cloned_from_id
|
||||
* @property int $added_manuel
|
||||
* @property int $methode_id
|
||||
* @property int $top_nummer
|
||||
* @property string $geschoss
|
||||
* @property string $raumart
|
||||
* @property float $flaeche
|
||||
* @property int $nutzwert
|
||||
*/
|
||||
class ProjektObjekteImDetail extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'projekte_id',
|
||||
'projekt_objekte_id',
|
||||
'projekt_methode_id',
|
||||
'cloned_from_id',
|
||||
'added_manuel',
|
||||
'methode_id',
|
||||
|
||||
@@ -4,6 +4,14 @@ namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* @property int $id
|
||||
* @property int $projekte_id
|
||||
* @property int $cloned_from_id
|
||||
* @property string $platzhalter
|
||||
* @property string $platzhaltertext
|
||||
* @property int $controll
|
||||
*/
|
||||
class ProjektPlatzhalter extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
|
||||
@@ -5,6 +5,24 @@ namespace App\Models;
|
||||
use App\Models\Scopes\KontoScope;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* @property int $id
|
||||
* @property int $cloned_from_id
|
||||
* @property int $konto_id
|
||||
* @property int $auftraggeber_id
|
||||
* @property string $interner_name
|
||||
* @property string $offizieller_name
|
||||
* @property string $ort
|
||||
* @property string $beschreibung
|
||||
* @property string $erstellung
|
||||
* @property string $status
|
||||
* @property int $projekt_farben_verwenden
|
||||
* @property string $deckblatt_bg
|
||||
* @property string $schmuckfarbe_header
|
||||
* @property string $farbe_borders
|
||||
* @property int $evaluation_gutachten
|
||||
* @property int $pdf_nutzwerte_tabellen_umbruch
|
||||
*/
|
||||
class Projekte extends Model
|
||||
{
|
||||
protected $primaryKey = 'id';
|
||||
|
||||
+11
-1
@@ -18,9 +18,19 @@ use Illuminate\Foundation\Auth\User as Authenticatable;
|
||||
use Illuminate\Notifications\Notifiable;
|
||||
use Spatie\Permission\Traits\HasRoles;
|
||||
|
||||
/**
|
||||
* @property int $id
|
||||
* @property int $konto_id
|
||||
* @property string $gender
|
||||
* @property string $name
|
||||
* @property string $email
|
||||
* @property string $password
|
||||
* @property int $agb_akzeptiert
|
||||
* @property int $app_verified_at
|
||||
*/
|
||||
class User extends Authenticatable implements FilamentUser, HasAppAuthentication, HasAppAuthenticationRecovery, HasEmailAuthentication, MustVerifyEmail
|
||||
{
|
||||
/** @use HasFactory<\Database\Factories\UserFactory> */
|
||||
/** @use HasFactory<UserFactory> */
|
||||
use HasFactory, HasRoles, Notifiable, SoftDeletes;
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user