15 lines
340 B
C#
15 lines
340 B
C#
namespace Parking_space_WebAPI.Entities;
|
|
|
|
using MessagePack;
|
|
using System.Text.Json.Serialization;
|
|
|
|
public class User
|
|
{
|
|
public int id { get; set; }
|
|
public string? firstname { get; set; }
|
|
public string? lastname { get; set; }
|
|
public string? username { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public string? password { get; set; }
|
|
} |