<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\RoleExpirationEmail.
 *
 * @property int $id
 * @property int $users_id
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @property int $day
 * @property int $week
 * @property int $month
 * @property-read \App\Models\User $user
 *
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\RoleExpirationEmail newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\RoleExpirationEmail newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\RoleExpirationEmail query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\RoleExpirationEmail whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\RoleExpirationEmail whereDay($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\RoleExpirationEmail whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\RoleExpirationEmail whereMonth($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\RoleExpirationEmail whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\RoleExpirationEmail whereUsersId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\RoleExpirationEmail whereWeek($value)
 *
 * @mixin \Eloquent
 */
class RoleExpirationEmail extends Model
{
    public function user(): \Illuminate\Database\Eloquent\Relations\BelongsTo
    {
        return $this->belongsTo(User::class, 'users_id');
    }
}
