mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Set protected date formats
This commit is contained in:
parent
b5424462c9
commit
3c53ff9329
|
@ -40,6 +40,17 @@ class Asset extends Depreciable
|
|||
* @var boolean
|
||||
*/
|
||||
protected $injectUniqueIdentifier = true;
|
||||
|
||||
protected $dates = [
|
||||
'created_at',
|
||||
'updated_at',
|
||||
'deleted_at',
|
||||
'purchase_date',
|
||||
'last_checkout',
|
||||
'expected_checkin'
|
||||
];
|
||||
|
||||
|
||||
use ValidatingTrait, UniqueUndeletedTrait;
|
||||
|
||||
protected $rules = [
|
||||
|
|
Loading…
Reference in a new issue