更新遷移檔(migration)並新增自動產生的Model

This commit is contained in:
2018-07-29 02:23:20 +08:00
parent d7f4fc67db
commit f4158b8661
51 changed files with 1485 additions and 233 deletions

32
app/Bank.php Normal file
View File

@@ -0,0 +1,32 @@
<?php
/**
* Created by Reliese Model.
* Date: Sat, 28 Jul 2018 18:02:51 +0000.
*/
namespace App;
use Illuminate\Database\Eloquent\Model as Eloquent;
/**
* Class Bank
*
* @property int $ID
* @property string $BankNum
* @property string $BankName
*
* @package App
*/
class Bank extends Eloquent
{
protected $connection = 'mysql';
protected $table = 'Bank';
protected $primaryKey = 'ID';
public $timestamps = false;
protected $fillable = [
'BankNum',
'BankName'
];
}