﻿using PS.Mothership.Core.Common.Template.Gen;
using PS.Mothership.Core.Common.Template.Opp;
using System;
using System.Runtime.Serialization;

namespace PS.Mothership.Core.Common.Dto.Application
{
    [DataContract]
    public class OpportunitySummaryDto
    {
        [DataMember]
        public Guid OpportunityGuid { get; set; }

        [DataMember]
        public double Credit { get; set; }

        [DataMember]
        public double Debit { get; set; }

        [DataMember]
        public OppTypeOfTransactionEnum TypeOfTransactionKey { get; set; }

        [DataMember]
        public string Vendor { get; set; }

        [DataMember]
        public string Model { get; set; }

        [DataMember]
        public GenOpportunityStatusEnum OpportunityStatusKey { get; set; }

        [DataMember]
        public string ContractLengthDescription { get; set; }
    }
}

﻿using PS.Mothership.Core.Common.Template.Gen;
using PS.Mothership.Core.Common.Template.Opp;
using System;
using System.Runtime.Serialization;

namespace PS.Mothership.Core.Common.Dto.Application
{
    [DataContract]
    public class OpportunitySummaryDto
    {
        [DataMember]
        public Guid OpportunityGuid { get; set; }

        [DataMember]
        public double Credit { get; set; }

        [DataMember]
        public double Debit { get; set; }

        [DataMember]
        public OppTypeOfTransactionEnum TypeOfTransactionKey { get; set; }

        [DataMember]
        public string ProductType { get; set; }

        [DataMember]
        public GenOpportunityStatusEnum OpportunityStatusKey { get; set; }

        [DataMember]
        public string ContractLengthDescription { get; set; }
    }
}

Revert to use ProductType since this is all that is needed in the summary, as it is the only thing shown in the opportunity summary, in the offer page
Revert to use ProductType since this is all that is needed in the summary, as it is the only thing shown in the opportunity summary, in the offer page
