Adds Blazor Web App standard login
This commit is contained in:
32
WatchLog/Data/DatabaseModels/Shared/SharedList.cs
Normal file
32
WatchLog/Data/DatabaseModels/Shared/SharedList.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace WatchLog.Data
|
||||
{
|
||||
public class SharedList
|
||||
{
|
||||
[Key]
|
||||
public int Id { get; set; }
|
||||
|
||||
[Required]
|
||||
[MaxLength(150)]
|
||||
public required string Name { get; set; }
|
||||
|
||||
[Required]
|
||||
public required DateTime CreationTime { get; set; }
|
||||
|
||||
public DateTime? LastChange { get; set; }
|
||||
|
||||
|
||||
// --- Navigation Properties ---
|
||||
public virtual ICollection<LinkTableSharedUser> SharedListUsers { get; set; } = new List<LinkTableSharedUser>();
|
||||
|
||||
public virtual ICollection<SharedListEntity> SharedListEntities { get; set; } = new List<SharedListEntity>();
|
||||
|
||||
public virtual ICollection<SharedWatchStatus> SharedWatchStatuses { get; set; } = new List<SharedWatchStatus>();
|
||||
|
||||
public virtual ICollection<SharedListLabel> SharedListLabels { get; set; } = new List<SharedListLabel>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user