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

22 lines
549 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
{
public class DimissClicked
{
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; }
}
}