Report Strono-Date, Booking+Fewo Notice, Custom Mail opti
This commit is contained in:
parent
644ec93c53
commit
5d55e5be3f
35 changed files with 581 additions and 41 deletions
|
|
@ -12,7 +12,7 @@ use Illuminate\Database\Eloquent\Model;
|
|||
|
||||
/**
|
||||
* Class BookingNotice
|
||||
*
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $booking_id
|
||||
* @property int $from_user_id
|
||||
|
|
@ -20,13 +20,28 @@ use Illuminate\Database\Eloquent\Model;
|
|||
* @property string $message
|
||||
* @property bool $show
|
||||
* @property bool $important
|
||||
* @property Carbon $edit_at
|
||||
* @property Carbon $created_at
|
||||
* @property Carbon $updated_at
|
||||
*
|
||||
* @property Booking $booking
|
||||
* @property User $user
|
||||
*
|
||||
* @package App\Models
|
||||
* @property-read \App\User $from_user
|
||||
* @property-read \App\User|null $to_user
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BookingNotice newModelQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BookingNotice newQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BookingNotice query()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BookingNotice whereBookingId($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BookingNotice whereCreatedAt($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BookingNotice whereEditAt($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BookingNotice whereFromUserId($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BookingNotice whereId($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BookingNotice whereImportant($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BookingNotice whereMessage($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BookingNotice whereShow($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BookingNotice whereToUserId($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|\App\Models\BookingNotice whereUpdatedAt($value)
|
||||
* @mixin \Eloquent
|
||||
*/
|
||||
class BookingNotice extends Model
|
||||
{
|
||||
|
|
@ -40,13 +55,18 @@ class BookingNotice extends Model
|
|||
'important' => 'bool'
|
||||
];
|
||||
|
||||
protected $dates = [
|
||||
'edit_at',
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
'booking_id',
|
||||
'from_user_id',
|
||||
'to_user_id',
|
||||
'message',
|
||||
'show',
|
||||
'important'
|
||||
'important',
|
||||
'edit_at'
|
||||
];
|
||||
|
||||
public function booking()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue