// Data models that map Kratos JSON responses
using System.ComponentModel.DataAnnotations;

namespace khmer_eid_backend.Models
{
    // Represents user traits stored in Kratos
    public class KratosTraits
    {
        public string Phone { get; set; } = "";
    }

    // Represents an identity in Kratos
    public class KratosIdentity
    {
        public string Id { get; set; } = "";
        public KratosTraits Traits { get; set; } = new();
    }

    // Represents a session returned by Kratos
    public class KratosSession
    {
        public string Id { get; set; } = "";
        public KratosIdentity Identity { get; set; } = new();
    }
}