* User views its devices, from a /manage index link * Yavsc.Server resurection
21 lines
510 B
C#
21 lines
510 B
C#
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; }
|
||
|
||
}
|
||
} |