mirror of
https://github.com/ckaczor/WeatherService.git
synced 2026-01-14 01:25:43 -05:00
More cleanup
This commit is contained in:
19
Data/ReadingData.cs
Normal file
19
Data/ReadingData.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace WeatherService.Data
|
||||
{
|
||||
[Table("Reading")]
|
||||
public class ReadingData
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
public int DeviceId { get; set; }
|
||||
|
||||
public int Type { get; set; }
|
||||
|
||||
public double Value { get; set; }
|
||||
|
||||
public DateTimeOffset ReadTime { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user