From f8d1ae011e4d72851e0ca857096c92dea99e61d2 Mon Sep 17 00:00:00 2001 From: Kirill Marenov Date: Sun, 7 Sep 2014 11:03:36 +0400 Subject: [PATCH] =?UTF-8?q?#17=20=D0=9F=D0=B5=D1=80=D0=B5=D0=B8=D0=BC?= =?UTF-8?q?=D0=B5=D0=BD=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20=D0=BC=D0=BE?= =?UTF-8?q?=D0=B4=D0=B5=D0=BB=D0=B5=D0=B9=20=D1=82=D0=B0=D0=B1=D0=BB=D0=B8?= =?UTF-8?q?=D1=86=20dinner=5Fmenu=5Fitems=20=D0=B8=20dinner=5Fmenu=5Fusers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Models/{DinnerMenuItems.php => DinnerMenuItem.php} | 3 ++- .../Models/{DinnerMenuUsers.php => DinnerMenuUser.php} | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) rename app/FintechFab/Models/{DinnerMenuItems.php => DinnerMenuItem.php} (86%) rename app/FintechFab/Models/{DinnerMenuUsers.php => DinnerMenuUser.php} (85%) diff --git a/app/FintechFab/Models/DinnerMenuItems.php b/app/FintechFab/Models/DinnerMenuItem.php similarity index 86% rename from app/FintechFab/Models/DinnerMenuItems.php rename to app/FintechFab/Models/DinnerMenuItem.php index e0a93f26..20e5fa9a 100644 --- a/app/FintechFab/Models/DinnerMenuItems.php +++ b/app/FintechFab/Models/DinnerMenuItem.php @@ -14,10 +14,11 @@ * @property string $description * @property float $price * @property string $date + * @property string $deleted_at * @property string $updated_at * @property string $created_at */ -class DinnerMenuItems extends Eloquent +class DinnerMenuItem extends Eloquent { protected $fillable = array('title', 'description', 'price', 'date'); diff --git a/app/FintechFab/Models/DinnerMenuUsers.php b/app/FintechFab/Models/DinnerMenuUser.php similarity index 85% rename from app/FintechFab/Models/DinnerMenuUsers.php rename to app/FintechFab/Models/DinnerMenuUser.php index 031e90bd..8c2ce5e5 100644 --- a/app/FintechFab/Models/DinnerMenuUsers.php +++ b/app/FintechFab/Models/DinnerMenuUser.php @@ -13,10 +13,11 @@ * @property integer $user_id * @property integer $dinner_menu_item_id * @property integer $count + * @property string $deleted_at * @property string $updated_at * @property string $created_at */ -class DinnerMenuUsers extends Eloquent +class DinnerMenuUser extends Eloquent { protected $fillable = array('user_id', 'dinner_menu_item_id', 'count');