yavsc/src/Yavsc.Server/Models/Messaging/DimissClicked.cs

22 lines
551 B
C#
Raw Normal View History

2017-02-20 15:53:25 +01:00
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
2019-09-04 01:25:36 +01:00
using Yavsc.Attributes.Validation;
2017-02-20 15:53:25 +01:00
namespace Yavsc.Models.Messaging
{
2024-11-06 13:00:34 +00:00
public class DismissClicked
2017-02-20 15:53:25 +01:00
{
2019-09-04 01:25:36 +01:00
[YaRequired]
2017-02-20 15:53:25 +01:00
public string UserId { get; set; }
[ForeignKey("UserId")]
public virtual ApplicationUser User { get; set; }
2019-09-04 01:25:36 +01:00
[YaRequired]
2017-02-20 15:53:25 +01:00
public long NotificationId { get; set; }
[ForeignKey("NotificationId")]
public virtual Notification Notified { get; set; }
}
2024-11-06 13:00:34 +00:00
}