API updates for functional code
This commit is contained in:
14
house-plant-api/Models/Device.cs
Normal file
14
house-plant-api/Models/Device.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace house_plant_api.Models
|
||||
{
|
||||
using System;
|
||||
|
||||
public class Device
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Nickname { get; set; }
|
||||
public string Uuid { get; set; }
|
||||
public int? Moisture { get; set; }
|
||||
public DateTime? LastSeen { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user