using KarleyLibrary.Attributes;
using System;

namespace WK5.Core.OnlineShop.Models
{
    /// <summary>
    /// Stellt ein Eintrag aus der Tabelle order_totals aus dem Onlineshop dar.
    /// </summary>
    public class ShopOrderTotal
    {
        [CompareField("order_total_id")]
        public int OrderTotalId { get; set; }
        [CompareField("order_id")]
        public int OrderId { get; set; }
        public string Code { get; set; } = String.Empty;

        public string Title { get; set; } = String.Empty;

        public decimal Value { get; set; }

        [CompareField("sort_order")]
        public int SortOrder { get; set; }
    }
}
