hyperf-chat/app/Model/UsersGroup.php

39 lines
806 B
PHP

<?php
declare (strict_types=1);
namespace App\Model;
use Hyperf\DbConnection\Model\Model;
/**
* @property int $id
* @property int $user_id
* @property string $group_name
* @property string $group_profile
* @property int $status
* @property string $avatar
* @property \Carbon\Carbon $created_at
*/
class UsersGroup extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'users_group';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [];
/**
* The attributes that should be cast to native types.
*
* @var array
*/
protected $casts = ['id' => 'integer', 'user_id' => 'integer', 'status' => 'integer', 'created_at' => 'datetime'];
}