39 lines
1.0 KiB
C#
39 lines
1.0 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace line_gestao_api.Models
|
|
{
|
|
public class UserData : ITenantEntity
|
|
{
|
|
[Key]
|
|
public Guid Id { get; set; }
|
|
|
|
public Guid TenantId { get; set; }
|
|
|
|
public int Item { get; set; }
|
|
|
|
public string? Linha { get; set; }
|
|
public string? Cliente { get; set; }
|
|
|
|
// PF/PJ
|
|
public string? TipoPessoa { get; set; } // "PF" | "PJ"
|
|
public string? Nome { get; set; } // PF
|
|
public string? RazaoSocial { get; set; } // PJ
|
|
public string? Cnpj { get; set; } // PJ
|
|
|
|
public string? Cpf { get; set; }
|
|
public string? Rg { get; set; }
|
|
|
|
public DateTime? DataNascimento { get; set; }
|
|
|
|
public string? Email { get; set; }
|
|
public string? Endereco { get; set; }
|
|
|
|
public string? Celular { get; set; }
|
|
public string? TelefoneFixo { get; set; }
|
|
|
|
public DateTime CreatedAt { get; set; }
|
|
public DateTime UpdatedAt { get; set; }
|
|
}
|
|
}
|