Files
EmailBill/Entity/PushSubscriptionEntity.cs
孙诚 36126097fa
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 21s
Docker Build & Deploy / Deploy to Production (push) Successful in 7s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 0s
重命名 PushSubscriptionEntity 为 PushSubscription,并更新相关引用
2026-01-04 16:59:34 +08:00

18 lines
401 B
C#

using System.ComponentModel.DataAnnotations;
namespace Entity;
public class PushSubscription : BaseEntity
{
[Required]
public string Endpoint { get; set; } = string.Empty;
public string? P256DH { get; set; }
public string? Auth { get; set; }
public string? UserId { get; set; } // Optional: if you have user authentication
public string? UserAgent { get; set; }
}