line-gestao-api/Models/ParcelamentoMonthValue.cs

22 lines
560 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace line_gestao_api.Models
{
public class ParcelamentoMonthValue
{
[Key]
public Guid Id { get; set; } = Guid.NewGuid();
[ForeignKey(nameof(ParcelamentoLine))]
public Guid ParcelamentoLineId { get; set; }
public ParcelamentoLine? ParcelamentoLine { get; set; }
// Competência (sempre dia 01)
public DateTime Competencia { get; set; }
public decimal Valor { get; set; }
}
}