Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
Add message, start_date, and end_date properties to Motd model
Browse files Browse the repository at this point in the history
  • Loading branch information
Lexian-droid committed Mar 10, 2024
1 parent 9532c36 commit 317314a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Models/motd.php
Original file line number Diff line number Diff line change
@@ -19,6 +19,10 @@ class Motd extends Model
'end_date',
];

protected $message;
protected $start_date;
protected $end_date;

public function get()
{
$query = $this->where('start_date', '<=', now())

0 comments on commit 317314a

Please sign in to comment.