|null $media * @property int|null $creation_year * @property int|null $creation_month * @property int|null $creation_day * @property int|null $creation_id * @property int|null $status_id * @property Carbon|null $creation_date * @property array|null $metadata * @property int $skip_missing_media * @property int $uploaded_to_s3 * @property Carbon|null $created_at * @property Carbon|null $updated_at * @property-read Status|null $status * * @method static \Illuminate\Database\Eloquent\Builder|ImportPost newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|ImportPost newQuery() * @method static \Illuminate\Database\Eloquent\Builder|ImportPost query() * @method static \Illuminate\Database\Eloquent\Builder|ImportPost whereCaption($value) * @method static \Illuminate\Database\Eloquent\Builder|ImportPost whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|ImportPost whereCreationDate($value) * @method static \Illuminate\Database\Eloquent\Builder|ImportPost whereCreationDay($value) * @method static \Illuminate\Database\Eloquent\Builder|ImportPost whereCreationId($value) * @method static \Illuminate\Database\Eloquent\Builder|ImportPost whereCreationMonth($value) * @method static \Illuminate\Database\Eloquent\Builder|ImportPost whereCreationYear($value) * @method static \Illuminate\Database\Eloquent\Builder|ImportPost whereFilename($value) * @method static \Illuminate\Database\Eloquent\Builder|ImportPost whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|ImportPost whereMedia($value) * @method static \Illuminate\Database\Eloquent\Builder|ImportPost whereMediaCount($value) * @method static \Illuminate\Database\Eloquent\Builder|ImportPost whereMetadata($value) * @method static \Illuminate\Database\Eloquent\Builder|ImportPost wherePostHash($value) * @method static \Illuminate\Database\Eloquent\Builder|ImportPost wherePostType($value) * @method static \Illuminate\Database\Eloquent\Builder|ImportPost whereProfileId($value) * @method static \Illuminate\Database\Eloquent\Builder|ImportPost whereService($value) * @method static \Illuminate\Database\Eloquent\Builder|ImportPost whereSkipMissingMedia($value) * @method static \Illuminate\Database\Eloquent\Builder|ImportPost whereStatusId($value) * @method static \Illuminate\Database\Eloquent\Builder|ImportPost whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|ImportPost whereUploadedToS3($value) * @method static \Illuminate\Database\Eloquent\Builder|ImportPost whereUserId($value) * * @mixin \Eloquent */ class ImportPost extends Model { use HasFactory; protected function casts(): array { return [ 'media' => 'array', 'creation_date' => 'datetime', 'metadata' => 'json', ]; } public function status(): HasOne { return $this->hasOne(Status::class, 'id', 'status_id'); } }