using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Database.Models { [Table("payment")] public class PaymentEntity { [Key] public int Id { get; set; } public int SaleId { get; set; } public decimal Amount { get; set;} public string Type { get; set; } } }