using FruitBank.Common.Dtos;
using FruitBank.Common.Interfaces;
using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;

namespace Nop.Plugin.Misc.FruitBankPlugin.Models.Orders
{
    public record OrderAttributesModel : BaseNopModel, IMeasurable
    {
        public int OrderId { get; set; }

        [NopResourceDisplayName("Plugins.YourCompany.ProductAttributes.Fields.IsMeasurable")]
        public bool IsMeasurable { get; set; }

        [NopResourceDisplayName("Plugins.YourCompany.ProductAttributes.Fields.DateOfReceipt")]
        public DateTime? DateOfReceipt { get; set; }
        
        public OrderDto OrderDto { get; set; }

    }
}