2019-02-20 16:26:32 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App;
|
|
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
|
|
|
|
class Statistique extends Model
|
|
|
|
|
{
|
2019-02-27 16:36:53 +01:00
|
|
|
public $timestamps = false;
|
2021-04-27 17:29:47 +02:00
|
|
|
|
2019-02-20 16:26:32 +01:00
|
|
|
/**
|
|
|
|
|
* @var string
|
|
|
|
|
*/
|
|
|
|
|
protected $table = 'statistiques';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @var string
|
|
|
|
|
*/
|
|
|
|
|
protected $primaryKey = 'id';
|
|
|
|
|
/**
|
|
|
|
|
* @var string
|
|
|
|
|
*/
|
2019-02-27 16:36:53 +01:00
|
|
|
const CREATED_AT = 'created_at';
|
2019-02-20 16:26:32 +01:00
|
|
|
|
|
|
|
|
/**
|
2025-04-03 09:30:16 +02:00
|
|
|
* @var array
|
|
|
|
|
*/
|
2019-02-20 16:26:32 +01:00
|
|
|
protected $fillable = [
|
|
|
|
|
'stat_campId',
|
|
|
|
|
'stat_couponId',
|
|
|
|
|
'stat_couponPrinted'
|
|
|
|
|
];
|
|
|
|
|
}
|