34 lines
822 B
C#
34 lines
822 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace line_gestao_api.Models;
|
|
|
|
public class Aparelho : ITenantEntity
|
|
{
|
|
public Guid Id { get; set; } = Guid.NewGuid();
|
|
|
|
public Guid TenantId { get; set; }
|
|
|
|
[MaxLength(160)]
|
|
public string? Nome { get; set; }
|
|
|
|
[MaxLength(120)]
|
|
public string? Fabricante { get; set; }
|
|
|
|
[MaxLength(80)]
|
|
public string? Cor { get; set; }
|
|
|
|
[MaxLength(80)]
|
|
public string? Imei { get; set; }
|
|
|
|
[MaxLength(500)]
|
|
public string? NotaFiscalArquivoPath { get; set; }
|
|
|
|
[MaxLength(500)]
|
|
public string? ReciboArquivoPath { get; set; }
|
|
|
|
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
|
public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
|
|
|
|
public ICollection<MobileLine> MobileLines { get; set; } = new List<MobileLine>();
|
|
}
|