Adding group profile to the group model
This commit is contained in:
@@ -11,6 +11,7 @@ public class Group
|
||||
public User Owner { get; set; }
|
||||
[MaxLength(50)]
|
||||
public string Alias { get; set; }
|
||||
public GroupProfile? Profile { get; set; }
|
||||
public bool InvitesEnabled { get; set; }
|
||||
public string HashedPassword { get; set; }
|
||||
public bool PreferDisableSounds { get; set; }
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
@@ -7,6 +8,8 @@ using System.Threading.Tasks;
|
||||
namespace LightlessSyncShared.Models;
|
||||
public class GroupProfile
|
||||
{
|
||||
[Key]
|
||||
[MaxLength(20)]
|
||||
public string GroupGID { get; set; }
|
||||
public Group Group { get; set; }
|
||||
public string Description { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user