Files
lux/Lux.Core/RestPayload/BomRowDTO.cs
T
Samuele Locatelli d63d8c5992 Bozza BOM DTO
2025-07-17 15:33:07 +02:00

30 lines
692 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lux.Core.RestPayload
{
public class BomRowDTO
{
public string BR_UID { get; set; } = "";
public int index { get; set; } = 0;
public string ItemID { get; set; } = "";
public string Name { get; set; } = "";
public string Description { get; set; } = "";
public double PriceUM { get; set; } = 0;
public double Qty { get; set; } = 0;
[NotMapped]
public double PriceTot
{
get => PriceUM * Qty;
}
}
}