Newer
Older
Callum Inglis
committed
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Public_API.Shared.Models
{
public class vw_SensorData
{
[Key]
public int valueID { get; set; }
public int sensorID { get; set; }
public string sensorUID { get; set; }
public decimal locationLong { get; set; }
public decimal locationLat { get; set; }
public string locationCity { get; set; }
public string friendlyName { get; set; }
public DateTime dateTime { get; set; }
public decimal? temperature { get; set; }
public decimal? humidity { get; set; }
public decimal? ppm10 { get; set; }
public decimal? ppm25 { get; set; }
public decimal? ppm100 { get; set; }
}
}