| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Factories\HasFactory;
- use Illuminate\Database\Eloquent\Model;
- /**
- * @property int $id
- * @property int $integration_id
- * @property string $key
- * @property string $value
- * @property bool $secret
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @property string|null $deleted_at
- * @method static \Illuminate\Database\Eloquent\Builder<static>|IntegrationVariable newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|IntegrationVariable newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|IntegrationVariable query()
- * @method static \Illuminate\Database\Eloquent\Builder<static>|IntegrationVariable whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|IntegrationVariable whereDeletedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|IntegrationVariable whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|IntegrationVariable whereIntegrationId($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|IntegrationVariable whereKey($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|IntegrationVariable whereSecret($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|IntegrationVariable whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder<static>|IntegrationVariable whereValue($value)
- * @mixin \Eloquent
- */
- class IntegrationVariable extends Model
- {
- use HasFactory;
- protected $table = 'integration_variables';
- protected $guarded = [
- 'id', // Add more fields that shouldn't be edited here
- ];
- protected $casts = [
- 'created_at' => 'datetime',
- 'updated_at' => 'datetime',
- // Add your casts here (e.g., 'is_active' => 'boolean')
- ];
- // Relationships
- // Business Logic Methods
- // Custom Finders
- // Query Scopes
- }
|