using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Start.Server.Models {
/// A group of s
public class BookmarkContainer {
/// A unique ID for the container
[Key]
public int BookmarkContainerId { get; set; }
public string Title { get; set; }
/// The unique ID of the user that this container belongs to
public string ApplicationUserId { get; set; }
/// The user that this container belongs to
public ApplicationUser? ApplicationUser { get; set; }
/// The s in this container
public List? BookmarkGroups { get; set; }
public BookmarkContainer(string applicationUserId, string title) {
this.ApplicationUserId = applicationUserId;
this.Title = title;
}
public BookmarkContainer(int bookmarkContainerId, string applicationUserId, string title)
: this(applicationUserId, title) {
this.BookmarkContainerId = bookmarkContainerId;
}
}
}