# fluent-cart/1.6.4/app/Models/Label.php

FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler, version 1.6.4. 35 lines.

- Page: https://pluginprobe.com/plugins/fluent-cart/1.6.4/code/app/Models/Label.php
- Raw: https://pluginprobe.com/plugins/fluent-cart/1.6.4/raw/app/Models/Label.php
- Modified: 2025-10-14T16:36:46+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/fluent-cart/1.6.4/code/app/Models/Label.php#L10-L20`.

```php
<?php

namespace FluentCart\App\Models;

/**
 *  Label Model - DB Model for Label table
 *
 *  Database Model
 *
 * @package FluentCart\App\Models
 *
 * @version 1.0.0
 */
class Label extends Model
{
	protected $table = 'fct_label';

	protected $fillable = [
		'value',
	];

	protected $casts = [
        'id'   => 'integer',
    ];

	public function setValueAttribute( $value ) {
		$this->attributes['value'] = maybe_serialize($value);
	}


	public function getValueAttribute( $value ) {
        return maybe_unserialize($value);
	}
}

```
