Added generated models.

このコミットが含まれているのは:
テクニカル諏訪子 2018-01-24 17:27:49 +09:00
コミット 3a738c4f21
9個のファイルの変更620行の追加0行の削除

170
app/Models/ForUser.php ノーマルファイル
ファイルの表示

@ -0,0 +1,170 @@
<?php
/**
* Created by Reliese Model.
* Date: Wed, 24 Jan 2018 17:18:07 +0900.
*/
namespace App\Models;
use Reliese\Database\Eloquent\Model as Eloquent;
/**
* Class ForUser
*
* @property int $id
* @property string $username
* @property string $password
* @property string $salt
* @property int $group
* @property int $perm_id
* @property string $member_title
* @property int $permission_id
* @property int $total_posts
* @property int $total_threads
* @property int $reg_date
* @property int $last_post_date
* @property int $last_post_location
* @property string $email
* @property string $website_address
* @property string $website_name
* @property int $gender
* @property string $location
* @property int $birthday
* @property string $bio
* @property string $ip_address
* @property string $avatar
* @property int $ontime
* @property int $ostatus
* @property string $header
* @property string $footer
* @property string $theme
* @property int $timezone
* @property int $strikes
* @property string $name_colour
* @property int $permission_access
* @property string $test_theme
* @property int $theme_expire
* @property string $display_name
* @property string $yt_channel
* @property string $country
* @property string $video_css
* @property string $curLanguage
* @property string $curTheme
* @property string $curTZ
* @property string $curDF
* @property string $curTF
* @property int $curSBSize
* @property int $coq
* @property int $dev
* @property int $fullsub
* @property int $wikiadm
* @property int $odbman
* @property int $usr_per_id
* @property int $blg_per_id
* @property int $for_per_id
* @property int $sbx_per_id
* @property int $str_per_id
* @property int $doc_per_id
* @property int $odb_per_id
*
* @package App\Models
*/
class ForUser extends Eloquent
{
public $timestamps = false;
protected $casts = [
'group' => 'int',
'perm_id' => 'int',
'permission_id' => 'int',
'total_posts' => 'int',
'total_threads' => 'int',
'reg_date' => 'int',
'last_post_date' => 'int',
'last_post_location' => 'int',
'gender' => 'int',
'birthday' => 'int',
'ontime' => 'int',
'ostatus' => 'int',
'timezone' => 'int',
'strikes' => 'int',
'permission_access' => 'int',
'theme_expire' => 'int',
'curSBSize' => 'int',
'coq' => 'int',
'dev' => 'int',
'fullsub' => 'int',
'wikiadm' => 'int',
'odbman' => 'int',
'usr_per_id' => 'int',
'blg_per_id' => 'int',
'for_per_id' => 'int',
'sbx_per_id' => 'int',
'str_per_id' => 'int',
'doc_per_id' => 'int',
'odb_per_id' => 'int'
];
protected $hidden = [
'password',
'salt'
];
protected $fillable = [
'username',
'password',
'salt',
'group',
'perm_id',
'member_title',
'permission_id',
'total_posts',
'total_threads',
'reg_date',
'last_post_date',
'last_post_location',
'email',
'website_address',
'website_name',
'gender',
'location',
'birthday',
'bio',
'ip_address',
'avatar',
'ontime',
'ostatus',
'header',
'footer',
'theme',
'timezone',
'strikes',
'name_colour',
'permission_access',
'test_theme',
'theme_expire',
'display_name',
'yt_channel',
'country',
'video_css',
'curLanguage',
'curTheme',
'curTZ',
'curDF',
'curTF',
'curSBSize',
'coq',
'dev',
'fullsub',
'wikiadm',
'odbman',
'usr_per_id',
'blg_per_id',
'for_per_id',
'sbx_per_id',
'str_per_id',
'doc_per_id',
'odb_per_id'
];
}

37
app/Models/StrCategory.php ノーマルファイル
ファイルの表示

@ -0,0 +1,37 @@
<?php
/**
* Created by Reliese Model.
* Date: Wed, 24 Jan 2018 17:18:07 +0900.
*/
namespace App\Models;
use Reliese\Database\Eloquent\Model as Eloquent;
/**
* Class StrCategory
*
* @property int $id
* @property string $name
* @property int $parent_id
* @property int $min_screenshots
*
* @package App\Models
*/
class StrCategory extends Eloquent
{
protected $table = 'str_category';
public $timestamps = false;
protected $casts = [
'parent_id' => 'int',
'min_screenshots' => 'int'
];
protected $fillable = [
'name',
'parent_id',
'min_screenshots'
];
}

33
app/Models/StrFile.php ノーマルファイル
ファイルの表示

@ -0,0 +1,33 @@
<?php
/**
* Created by Reliese Model.
* Date: Wed, 24 Jan 2018 17:18:07 +0900.
*/
namespace App\Models;
use Reliese\Database\Eloquent\Model as Eloquent;
/**
* Class StrFile
*
* @property int $id
* @property int $file_id
* @property string $filename
*
* @package App\Models
*/
class StrFile extends Eloquent
{
public $timestamps = false;
protected $casts = [
'file_id' => 'int'
];
protected $fillable = [
'file_id',
'filename'
];
}

34
app/Models/StrOwner.php ノーマルファイル
ファイルの表示

@ -0,0 +1,34 @@
<?php
/**
* Created by Reliese Model.
* Date: Wed, 24 Jan 2018 17:18:07 +0900.
*/
namespace App\Models;
use Reliese\Database\Eloquent\Model as Eloquent;
/**
* Class StrOwner
*
* @property int $id
* @property int $user_id
* @property int $file_id
*
* @package App\Models
*/
class StrOwner extends Eloquent
{
public $timestamps = false;
protected $casts = [
'user_id' => 'int',
'file_id' => 'int'
];
protected $fillable = [
'user_id',
'file_id'
];
}

55
app/Models/StrPermission.php ノーマルファイル
ファイルの表示

@ -0,0 +1,55 @@
<?php
/**
* Created by Reliese Model.
* Date: Wed, 24 Jan 2018 17:18:07 +0900.
*/
namespace App\Models;
use Reliese\Database\Eloquent\Model as Eloquent;
/**
* Class StrPermission
*
* @property int $id
* @property int $canview
* @property int $upload
* @property int $approve
* @property int $fail
* @property int $delfile
* @property int $delscreen
* @property int $editfile
* @property int $allowfull
* @property int $canwarn
*
* @package App\Models
*/
class StrPermission extends Eloquent
{
public $timestamps = false;
protected $casts = [
'canview' => 'int',
'upload' => 'int',
'approve' => 'int',
'fail' => 'int',
'delfile' => 'int',
'delscreen' => 'int',
'editfile' => 'int',
'allowfull' => 'int',
'canwarn' => 'int'
];
protected $fillable = [
'canview',
'upload',
'approve',
'fail',
'delfile',
'delscreen',
'editfile',
'allowfull',
'canwarn'
];
}

58
app/Models/StrUserPermission.php ノーマルファイル
ファイルの表示

@ -0,0 +1,58 @@
<?php
/**
* Created by Reliese Model.
* Date: Wed, 24 Jan 2018 17:18:07 +0900.
*/
namespace App\Models;
use Reliese\Database\Eloquent\Model as Eloquent;
/**
* Class StrUserPermission
*
* @property int $id
* @property int $user_id
* @property int $canview
* @property int $upload
* @property int $approve
* @property int $fail
* @property int $delfile
* @property int $delscreen
* @property int $editfile
* @property int $allowfull
* @property int $canwarn
*
* @package App\Models
*/
class StrUserPermission extends Eloquent
{
public $timestamps = false;
protected $casts = [
'user_id' => 'int',
'canview' => 'int',
'upload' => 'int',
'approve' => 'int',
'fail' => 'int',
'delfile' => 'int',
'delscreen' => 'int',
'editfile' => 'int',
'allowfull' => 'int',
'canwarn' => 'int'
];
protected $fillable = [
'user_id',
'canview',
'upload',
'approve',
'fail',
'delfile',
'delscreen',
'editfile',
'allowfull',
'canwarn'
];
}

66
app/Models/UsrPermModule.php ノーマルファイル
ファイルの表示

@ -0,0 +1,66 @@
<?php
/**
* Created by Reliese Model.
* Date: Wed, 24 Jan 2018 17:18:07 +0900.
*/
namespace App\Models;
use Reliese\Database\Eloquent\Model as Eloquent;
/**
* Class UsrPermModule
*
* @property int $id
* @property string $name
* @property int $root
* @property int $banned
* @property string $colour_m
* @property string $colour_f
* @property string $colour_u
* @property string $badge
* @property int $usr_perm_id
* @property int $blg_perm_id
* @property int $for_perm_id
* @property int $sbx_perm_id
* @property int $str_perm_id
* @property int $doc_perm_id
* @property int $odb_perm_id
*
* @package App\Models
*/
class UsrPermModule extends Eloquent
{
protected $table = 'usr_perm_module';
public $timestamps = false;
protected $casts = [
'root' => 'int',
'banned' => 'int',
'usr_perm_id' => 'int',
'blg_perm_id' => 'int',
'for_perm_id' => 'int',
'sbx_perm_id' => 'int',
'str_perm_id' => 'int',
'doc_perm_id' => 'int',
'odb_perm_id' => 'int'
];
protected $fillable = [
'name',
'root',
'banned',
'colour_m',
'colour_f',
'colour_u',
'badge',
'usr_perm_id',
'blg_perm_id',
'for_perm_id',
'sbx_perm_id',
'str_perm_id',
'doc_perm_id',
'odb_perm_id'
];
}

82
app/Models/UsrPermission.php ノーマルファイル
ファイルの表示

@ -0,0 +1,82 @@
<?php
/**
* Created by Reliese Model.
* Date: Wed, 24 Jan 2018 17:18:07 +0900.
*/
namespace App\Models;
use Reliese\Database\Eloquent\Model as Eloquent;
/**
* Class UsrPermission
*
* @property int $id
* @property int $viewprofile
* @property int $editprofile
* @property int $delprofile
* @property int $postlayout
* @property int $namecol
* @property int $displayname
* @property int $title
* @property int $ipshow
* @property int $emailshow
* @property int $editother
* @property int $ban
* @property int $setgroup
* @property int $setspecial
* @property int $settrust
* @property int $canpm
* @property int $canwarn
* @property int $canblock
* @property int $ipban
*
* @package App\Models
*/
class UsrPermission extends Eloquent
{
public $timestamps = false;
protected $casts = [
'viewprofile' => 'int',
'editprofile' => 'int',
'delprofile' => 'int',
'postlayout' => 'int',
'namecol' => 'int',
'displayname' => 'int',
'title' => 'int',
'ipshow' => 'int',
'emailshow' => 'int',
'editother' => 'int',
'ban' => 'int',
'setgroup' => 'int',
'setspecial' => 'int',
'settrust' => 'int',
'canpm' => 'int',
'canwarn' => 'int',
'canblock' => 'int',
'ipban' => 'int'
];
protected $fillable = [
'viewprofile',
'editprofile',
'delprofile',
'postlayout',
'namecol',
'displayname',
'title',
'ipshow',
'emailshow',
'editother',
'ban',
'setgroup',
'setspecial',
'settrust',
'canpm',
'canwarn',
'canblock',
'ipban'
];
}

85
app/Models/UsrUserPermission.php ノーマルファイル
ファイルの表示

@ -0,0 +1,85 @@
<?php
/**
* Created by Reliese Model.
* Date: Wed, 24 Jan 2018 17:18:07 +0900.
*/
namespace App\Models;
use Reliese\Database\Eloquent\Model as Eloquent;
/**
* Class UsrUserPermission
*
* @property int $id
* @property int $user_id
* @property int $viewprofile
* @property int $editprofile
* @property int $delprofile
* @property int $postlayout
* @property int $namecol
* @property int $displayname
* @property int $title
* @property int $ipshow
* @property int $emailshow
* @property int $editother
* @property int $ban
* @property int $setgroup
* @property int $setspecial
* @property int $settrust
* @property int $canpm
* @property int $canwarn
* @property int $canblock
* @property int $ipban
*
* @package App\Models
*/
class UsrUserPermission extends Eloquent
{
public $timestamps = false;
protected $casts = [
'user_id' => 'int',
'viewprofile' => 'int',
'editprofile' => 'int',
'delprofile' => 'int',
'postlayout' => 'int',
'namecol' => 'int',
'displayname' => 'int',
'title' => 'int',
'ipshow' => 'int',
'emailshow' => 'int',
'editother' => 'int',
'ban' => 'int',
'setgroup' => 'int',
'setspecial' => 'int',
'settrust' => 'int',
'canpm' => 'int',
'canwarn' => 'int',
'canblock' => 'int',
'ipban' => 'int'
];
protected $fillable = [
'user_id',
'viewprofile',
'editprofile',
'delprofile',
'postlayout',
'namecol',
'displayname',
'title',
'ipshow',
'emailshow',
'editother',
'ban',
'setgroup',
'setspecial',
'settrust',
'canpm',
'canwarn',
'canblock',
'ipban'
];
}