PresenceApp/data/RemoteData/RemoteDatabase/DAO/User.cs

19 lines
506 B
C#
Raw Permalink Normal View History

2024-12-01 16:16:14 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace data.RemoteData.RemoteDataBase.DAO
{
public class UserDao
{
public required string FIO { get; set; }
public required int UserId { get; set; }
public int GroupId { get; set; }
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public virtual GroupDao? Group { get; set; }
}
}