Files
voltcerto/app/Models/ContractType.php
Luis Medon e488ae3342 Add feature tests, unit tests, and configuration for Laravel application
- Created ExampleTest and RoutesTest for basic application response and route testing.
- Implemented IsolatedDatabaseTestCase for isolated database testing.
- Added unit tests for various models and services including Contract, CPE, and LeadDetail.
- Developed request validation tests for CreateClientRequest, UpdateClientRequest, and ContractRequest.
- Introduced Vite configuration for asset management in the Laravel application.
2026-10-29 11:30:06 +00:00

26 lines
399 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class ContractType extends Model
{
protected $table = "contract_types";
protected $fillable = [
'code',
'description',
'status'
];
/**
* The attributes that should be hidden for serialization.
*
* @var list<string>
*/
protected $hidden = [
'id'
];
}