This commit is contained in:
Mark Gregory
2026-09-30 13:24:33 +01:00
parent bf5357cbcf
commit 5bb4e43665
32 changed files with 2185 additions and 236 deletions
@@ -3,6 +3,7 @@
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class LicenseDeliveryOutbox extends Model
{
@@ -11,4 +12,9 @@ class LicenseDeliveryOutbox extends Model
protected $fillable = ['license_id', 'encrypted_license_key', 'recipient_email', 'delivered_at'];
protected $casts = ['delivered_at' => 'datetime'];
public function license(): BelongsTo
{
return $this->belongsTo(License::class);
}
}