# billingo/trunk/src/Models/DocumentBlock/DocumentBlock.php

Billingo Official for WooCommerce, version trunk. 27 lines.

- Page: https://pluginprobe.com/plugins/billingo/trunk/code/src/Models/DocumentBlock/DocumentBlock.php
- Raw: https://pluginprobe.com/plugins/billingo/trunk/raw/src/Models/DocumentBlock/DocumentBlock.php
- Modified: 2025-05-26T04:53:08+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/billingo/trunk/code/src/Models/DocumentBlock/DocumentBlock.php#L10-L20`.

```php
<?php

namespace App\Billingo\Models\DocumentBlock;

use App\Billingo\Contracts\ValidableInterface;
use App\Billingo\Models\BillingoModel;
use App\Billingo\Traits\WithFactory;
use App\Billingo\Validation\DocumentBlock\DocumentBlockValidator;

/**
 * @property int $id
 * @property string $name
 * @property string $prefix
 * @property string $custom_field1
 * @property string $custom_field2
 * @property string $type
 */
class DocumentBlock extends BillingoModel
{
    use WithFactory;

    protected function getValidator(): ValidableInterface
    {
        return new DocumentBlockValidator();
    }
}

```
