add user register/login form and authentication
This commit is contained in:
@ -7,18 +7,21 @@ use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Device extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
/**
|
||||
* Timestamps are disabled.
|
||||
* @var boolean
|
||||
*/
|
||||
public $timestamps = false;
|
||||
/**
|
||||
* The primary key associated with the table Devices.
|
||||
* The primary key associated with the devices table.
|
||||
* @var string
|
||||
*/
|
||||
protected $primaryKey = 'device_id';
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var array<int, string>
|
||||
*/
|
||||
protected $fillable = ['device_id', 'title', 'device_type', 'description', 'accessories', 'rz_username_buyer', 'serial_number', 'image_url'];
|
||||
|
||||
use HasFactory;
|
||||
//Timestamps are disabled.
|
||||
public $timestamps = false;
|
||||
}
|
Reference in New Issue
Block a user