protected void CopyFrom(vRPT_MembershipInfo member)
        {
            MembershipID = member.MembershipID;
            ClientID     = member.ClientID;

            CustomerID       = member.CustomerID;
            CustomerName     = member.CustomerName;
            Email            = member.Email;
            PrimaryPhone     = member.PrimaryPhone;
            CellPhone        = member.CellPhone;
            BillToAddress    = member.BillToAddress;
            BillToCity       = member.BillToCity;
            BillToState      = member.BillToState;
            BillToPostalCode = member.BillToPostalCode;
            BillToCountry    = member.BillToCountry;

            MemberTypeID        = member.MemberTypeID;
            MemberType          = member.MemberType;
            MembershipStartDate = member.MembershipStartDate;
            MembershipEndDate   = member.MembershipEndDate;
            Req_TIPerYear       = member.req_TotalInspectionsPerYear;
            InspectionCnt       = member.CountOfInspections;
            LastDateInspected   = member.LastDateInspected;
            LastCustomerVisit   = member.LastCustomerVisit;
            CountCustomerVisit  = member.CountCustomerVisits;

            JobCount   = member.JobCount;
            TotalSales = member.TotalSales;
            AverageJob = member.AverageJob;
            Payments   = member.Payments;
            Balance    = member.Balance;
        }
        internal static Memberships MapFromModel(vRPT_MembershipInfo member)
        {
            var mem = new Memberships();

            mem.CopyFrom(member);
            return(mem);
        }