yavsc/Yavsc/Models/Messaging/DimissClicked.cs

21 lines
510 B
C#

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Yavsc.Models.Messaging
{
public class DimissClicked
{
[Required]
public string UserId { get; set; }
[ForeignKey("UserId")]
public virtual ApplicationUser User { get; set; }
[Required]
public long NotificationId { get; set; }
[ForeignKey("NotificationId")]
public virtual Notification Notified { get; set; }
}
}