// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
#nullable disable
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace Pos.Dispatcher.Database.Models;

[Table("payment")]
public partial class Payment
{
    [Key]
    [Column(TypeName = "int(11)")]
    public int Id { get; set; }

    [Column(TypeName = "int(11)")]
    public int SaleId { get; set; }

    [Precision(20, 6)]
    public decimal Amount { get; set; }

    [Required]
    [Column(TypeName = "tinytext")]
    public string Type { get; set; }
}