mirror of
https://github.com/brian8544/turtle-wow.git
synced 2025-01-05 14:24:34 +00:00
42 lines
1.3 KiB
PHP
42 lines
1.3 KiB
PHP
<?php
|
|
|
|
namespace App\Models\characters;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* @OA\Tag(
|
|
* name="Characters",
|
|
* description="Operations related to Characters database"
|
|
* )
|
|
*/
|
|
/**
|
|
* @OA\Schema(
|
|
* schema="Guild",
|
|
* title="Guild",
|
|
* description="Guild model",
|
|
* @OA\Property(property="guildid", type="integer", format="int32"),
|
|
* @OA\Property(property="name", type="string"),
|
|
* @OA\Property(property="leaderguid", type="integer", format="int32"),
|
|
* @OA\Property(property="EmblemStyle", type="integer", format="int32"),
|
|
* @OA\Property(property="EmblemColor", type="integer", format="int32"),
|
|
* @OA\Property(property="BorderStyle", type="integer", format="int32"),
|
|
* @OA\Property(property="BorderColor", type="integer", format="int32"),
|
|
* @OA\Property(property="BackgroundColor", type="integer", format="int32"),
|
|
* @OA\Property(property="info", type="string"),
|
|
* @OA\Property(property="motd", type="string"),
|
|
* @OA\Property(property="createdate", type="integer", format="int64"),
|
|
* )
|
|
*/
|
|
class Guild extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $connection = 'mysql3';
|
|
protected $table = 'guild';
|
|
protected $primaryKey = 'guildid';
|
|
|
|
protected $fillable = [];
|
|
}
|