44 lines
1.1 KiB
C#
44 lines
1.1 KiB
C#
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace line_gestao_api.Models
|
|
{
|
|
public class ControleRecebidoLine : ITenantEntity
|
|
{
|
|
public Guid Id { get; set; } = Guid.NewGuid();
|
|
|
|
public Guid TenantId { get; set; }
|
|
|
|
public int Ano { get; set; }
|
|
public int Item { get; set; }
|
|
|
|
[MaxLength(50)]
|
|
public string? NotaFiscal { get; set; }
|
|
|
|
[MaxLength(40)]
|
|
public string? Chip { get; set; }
|
|
|
|
[MaxLength(80)]
|
|
public string? Serial { get; set; }
|
|
|
|
[MaxLength(255)]
|
|
public string? ConteudoDaNf { get; set; }
|
|
|
|
[MaxLength(40)]
|
|
public string? NumeroDaLinha { get; set; }
|
|
|
|
public decimal? ValorUnit { get; set; }
|
|
public decimal? ValorDaNf { get; set; }
|
|
|
|
public DateTime? DataDaNf { get; set; }
|
|
public DateTime? DataDoRecebimento { get; set; }
|
|
|
|
public int? Quantidade { get; set; }
|
|
|
|
public bool IsResumo { get; set; }
|
|
|
|
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
|
public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
|
|
}
|
|
}
|