| 1 | <?php |
||
| 7 | class Schedulelog extends Model |
||
| 8 | { |
||
| 9 | protected $fillable = ['command_name', 'start', 'end']; |
||
| 10 | |||
| 11 | public $timestamps = true; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Set start attribute. Multiply by 1000 to get milliseconds as integer. |
||
| 15 | * |
||
| 16 | * @param $value |
||
| 17 | * |
||
| 18 | * @return string |
||
| 19 | */ |
||
| 20 | public function setStartAttribute($value) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Set end attribute. Multiply by 1000 to get milliseconds as integer. |
||
| 27 | * |
||
| 28 | * @param $value |
||
| 29 | * |
||
| 30 | * @return string |
||
| 31 | */ |
||
| 32 | public function setEndAttribute($value) |
||
| 36 | } |
||
| 37 |