17 lines
438 B
C#
17 lines
438 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace District3API.domain
|
|
{
|
|
public class Account
|
|
{
|
|
public int Id { get; set; }
|
|
public string? CardNumber { get; set; }
|
|
public string? HolderName { get; set; }
|
|
public string? ExpirationDate{ get; set; }
|
|
public string? Cvv { get; set; }
|
|
public int UserId { get; set; }
|
|
[JsonIgnore]
|
|
public User? User { get; set; }
|
|
}
|
|
}
|