LevelcodeLicenseAPP/Security/LicensePayload.cs
2026-03-25 16:26:11 -03:00

28 lines
752 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
namespace LevelCode.License.Security
{
[Serializable]
public class LicensePayload
{
// 🔑 ESSENCIAL ligação com o banco
public string Key { get; set; } // LicenseKey do banco
public int LicencaId { get; set; }
// Cliente
public string Cliente { get; set; }
// Tipo / validade
public int CodigoTipoLicenca { get; set; }
public DateTime? ExpiraEm { get; set; }
// Regras
public int LimiteMaquinas { get; set; }
public List<string> Modulos { get; set; } = new List<string>();
// Auditoria (opcional)
public DateTime DataGeracao { get; set; } = DateTime.Now;
}
}