23 lines
576 B
C#
23 lines
576 B
C#
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("sale_line")]
|
|
public class SaleLineEntity
|
|
{
|
|
[Key]
|
|
public int Id { get; set; }
|
|
public int SaleId { get; set; }
|
|
public string Product { get; set; }
|
|
public int Pieces { get; set; }
|
|
public decimal Price { get; set; }
|
|
public decimal Total { get; set; }
|
|
}
|
|
}
|