public override bool Equals(object obj) { if (obj == null) { return(false); } NotificationUserEN t = obj as NotificationUserEN; if (t == null) { return(false); } if (Id.Equals(t.Id)) { return(true); } else { return(false); } }
public NotificationUserEN(NotificationUserEN notificationUser) { this.init(Id, notificationUser.Notification, notificationUser.User, notificationUser.IsReceived); }