-
Notifications
You must be signed in to change notification settings - Fork 0
/
HAPStockSchema.cs
34 lines (29 loc) · 1.13 KB
/
HAPStockSchema.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;
using System.Collections.Generic;
namespace CSharp_Scraper
{
public class HAPStock
{
private System.DateTime _timeScraped;
private string _stockSymbol;
private string _lastPrice;
private string _change;
private string _changePercent;
public System.DateTime TimeScraped { get => _timeScraped; set => _timeScraped = value; }
public string StockSymbol { get => _stockSymbol; set => _stockSymbol = value; }
public string LastPrice { get => _lastPrice ; set => _lastPrice = value; }
public string Change { get => _change; set => _change = value; }
public string ChangePercent { get => _changePercent; set => _changePercent = value; }
public HAPStock()
{
}
public HAPStock(System.DateTime timeScraped, string stockSymbol, string lastPrice, string change, string changePercent)
{
this.TimeScraped = timeScraped;
this.StockSymbol = stockSymbol;
this.LastPrice = lastPrice;
this.Change = change;
this.ChangePercent = changePercent;
}
}
}