Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

Quote.cs

using Nop.Core;

namespace Nop.Plugin.Misc.RFQ.Domains;

/// 
/// Represent the quote entity
/// 
public class Quote : BaseEntity, IAdminNote
{
    /// 
    /// Gets or sets the customer identifier
    /// 
    public int CustomerId { get; set; }

    /// 
    /// Gets or sets the created date and time
    /// 
    public DateTime CreatedOnUtc { get; set; }

    /// 
    /// Gets or sets the quote expiration date and time
    /// 
    public DateTime? ExpirationDateUtc { get; set; }

    /// 
    /// Gets or sets the quote status identifier
    /// 
    public int StatusId { get; set; }

    /// 
    /// Gets or sets the request status
    /// 
    public QuoteStatus Status
    {
        get => (QuoteStatus)StatusId;
        set => StatusId = (int)value;
    }

    /// 
    /// Gets or sets the request a quote identifier
    /// 
    public int? RequestQuoteId { get; set; }

    /// 
    /// Gets or sets the administration notes
    /// 
    public string AdminNotes { get; set; }

    /// 
    /// Gets or sets the order id
    /// 
    public int? OrderId { get; set; }
}