server/app/Model/Account.php

44 lines
1.1 KiB
PHP

<?php
declare(strict_types=1);
namespace App\Model;
/**
* @property int $account_id
* @property int $account_type
* @property int $belong_id
* @property int $dept_id
* @property string $username
* @property string $password
* @property string $salt
* @property int $master_flag
* @property int $status
* @property string $nickname
* @property string $avatar
* @property string $bio
* @property string $tags
* @property int $sex
* @property string $birthday
* @property string $deleted_at
* @property string $create_time
* @property string $update_time
*/
class Account extends Model
{
/**
* The table associated with the model.
*/
protected ?string $table = 'account';
/**
* The attributes that are mass assignable.
*/
protected array $fillable = [];
/**
* The attributes that should be cast to native types.
*/
protected array $casts = ['account_id' => 'integer', 'account_type' => 'integer', 'belong_id' => 'integer', 'dept_id' => 'integer', 'master_flag' => 'integer', 'status' => 'integer', 'sex' => 'integer'];
}