# booktics/1.0.1/base/models/service-model.php

Booktics – Appointment Booking Calendar for Service Businesses, version 1.0.1. 54 lines.

- Page: https://pluginprobe.com/plugins/booktics/1.0.1/code/base/models/service-model.php
- Raw: https://pluginprobe.com/plugins/booktics/1.0.1/raw/base/models/service-model.php
- Modified: 2025-07-09T06:46:52+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/booktics/1.0.1/code/base/models/service-model.php#L10-L20`.

```php
<?php
/**
 * Service Model
 *
 * @package Booktics/Models
 */

namespace Booktics\Models;

use Booktics\Abstracts\Post_Model;

/**
 * Service_Model class
 */
class Service_Model extends Post_Model {
    /**
     * Store service data
     *
     * @var array<string, mixed>
     */
    protected $fillable = [
        'id'                                 => '',
        'title'                              => '',
        'description'                        => '',
        'content'                            => '',
        'link'                               => '',
        'image'                              => '',
        'image_id'                           => '',
        'categories'                         => [],
        'status'                             => '',
        'enable_custom_holiday'              => false,
        'enable_custom_schedule'             => false,
        'enable_additional_service_duration' => false,
        'interval_time'                      => '',
        'before_buffer_time'                 => '',
        'after_buffer_time'                  => '',
        'team_member'                        => [],
        'show_end_time'                      => '',
        'additional_durations'               => [],
        'schedule'                           => [],
        'custom'                             => [],
        'holiday'                            => [],
    ];

    /**
     * Get post type
     *
     * @return  string Post type name
     */
    public function get_post_type() {
        return 'booktics-service';
    }
}

```
