Airport Guide Documentation

FsManagement extends Model
in package
uses HasFactory

FsManagement Model for managing Foursquare image management and metadata information.

This model is used to create and manage Foursquare image management data including image metadata, file paths, download status, and image categorization for Foursquare integration. It provides a structured interface for storing and retrieving Foursquare-specific image information such as image identifiers, file paths, primary image designation, category types, source client information, and download status tracking. The model supports comprehensive Foursquare image management including image metadata, file organization, download tracking, and image categorization for enhanced airport guide platform functionality and Foursquare integration systems.

Table of Contents

Properties

$category_type  : string
$created_at  : string
$created_by  : int
$fsq_id  : string
$fsq_image_url  : string
$id  : int
$image_fsq_id  : string
$img_name  : string
$img_path  : string
$is_downloaded  : bool
$is_primary  : bool
$source_client  : string
$updated_at  : string
$updated_by  : int
$fillable  : array<string|int, mixed>
The attributes that are mass assignable for Foursquare management records.

Methods

__construct()  : void
Initialize the FsManagement model with the correct database table configuration.

Properties

$category_type

public string $category_type

The category type classification for the image

$created_at

public string $created_at

Timestamp when the record was created

$created_by

public int $created_by

User ID who created the record

$fsq_id

public string $fsq_id

The Foursquare identifier for the image

$fsq_image_url

public string $fsq_image_url

The Foursquare image URL

$id

public int $id

The unique identifier for the Foursquare management record

$image_fsq_id

public string $image_fsq_id

The Foursquare image identifier

$img_path

public string $img_path

The file path where the image is stored

$is_downloaded

public bool $is_downloaded

Whether the image has been downloaded

$is_primary

public bool $is_primary

Whether this is the primary image

$source_client

public string $source_client

The source client information

$updated_at

public string $updated_at

Timestamp when the record was last updated

$updated_by

public int $updated_by

User ID who last updated the record

$fillable

The attributes that are mass assignable for Foursquare management records.

protected array<string|int, mixed> $fillable = ['id', 'fsq_id', 'img_name', 'img_path', 'is_primary', 'category_type', 'source_client', 'created_by', 'updated_by', 'created_at', 'updated_at', 'image_fsq_id', 'fsq_image_url', 'is_downloaded']

This property defines the fields that can be mass-assigned when creating or updating FsManagement records. It includes all essential Foursquare image management fields such as identification, Foursquare identifiers, image metadata, file paths, primary image designation, category types, source client information, user tracking, and download status. The fillable attributes ensure data integrity while allowing efficient bulk operations for Foursquare image management and metadata tracking across different image categories and Foursquare integration systems.

Methods

__construct()

Initialize the FsManagement model with the correct database table configuration.

public __construct() : void

This function is used to create a properly configured FsManagement model instance by setting the database table name from the configuration constants. It ensures that the model interacts with the correct database table for Foursquare image management data information, which is essential for proper Foursquare image storage and retrieval operations. The constructor dynamically assigns the table name based on the FS_IMAGE_MANAGEMENT configuration constant to maintain flexibility and configuration-driven behavior for Foursquare image management.


        
On this page

Search results