mirror of
https://github.com/ckaczor/WeatherService.git
synced 2026-01-14 09:59:46 -05:00
20 lines
380 B
C#
20 lines
380 B
C#
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; }
|
|
}
|
|
}
|