server/app/Model/Org.php

39 lines
890 B
PHP

<?php
declare(strict_types=1);
namespace App\Model;
/**
* @property int $org_id
* @property int $pid
* @property string $org_name
* @property string $org_code
* @property int $org_type
* @property string $contact_name
* @property string $contact_mobile
* @property string $id_card_front_pic
* @property string $id_card_back_pic
* @property string $license_pic
* @property string $create_time
* @property string $update_time
* @property string $deleted_at
*/
class Org extends Model
{
/**
* The table associated with the model.
*/
protected ?string $table = 'org';
/**
* The attributes that are mass assignable.
*/
protected array $fillable = [];
/**
* The attributes that should be cast to native types.
*/
protected array $casts = ['org_id' => 'integer', 'pid' => 'integer', 'org_type' => 'integer'];
}