// <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("sale_line")]
public partial class SaleLine
{
    [Key]
    [Column(TypeName = "int(11)")]
    public int Id { get; set; }

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

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

    [Column(TypeName = "smallint(6)")]
    public short Pieces { get; set; }

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

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