Guest User

Untitled

a guest
Jan 21st, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.14 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5.  
  6. namespace HelperClassLibrary.DAL
  7. {
  8.     // OPTION 1 //
  9.  
  10.     public class TrendData
  11.     {
  12.         // "up", "down", "flat"
  13.         public string TrendDirectionLocal { get; set; }
  14.         public string TrendDirectionState { get; set; }
  15.         public string TrendDirectionNational { get; set; }
  16.  
  17.         public string AveragePriceLocal { get; set; }
  18.         public string AveragePriceState { get; set; }
  19.         public string AveragePriceNational { get; set; }
  20.  
  21.         public string LocationLocal { get; set; }
  22.         public string LocationState { get; set; }
  23.         public string LocationNational { get; set; }
  24.     }
  25.  
  26.  
  27.     // OPTION 2 //
  28.  
  29.     public class TrendCollection
  30.     {
  31.         public TrendObject LocalTrend { get; set; }
  32.         public TrendObject StateTrend { get; set; }
  33.         public TrendObject NationalTrend { get; set; }
  34.     }
  35.    
  36.     public class TrendObject
  37.     {
  38.         public string TrendDirection { get; set; }
  39.         public string AveragePrice { get; set; }
  40.         public string Location { get; set; }
  41.     }
  42. }
Add Comment
Please, Sign In to add comment