mirror of
https://bitbucket.org/myhomie/mycorerepository.git
synced 2025-12-06 17:51:20 +00:00
25 lines
535 B
C#
25 lines
535 B
C#
using MongoDB.Bson;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MyCore.Models
|
|
{
|
|
public class WidgetWeather : Widget
|
|
{
|
|
[BsonElement("City")]
|
|
public string City { get; set; }
|
|
|
|
[BsonElement("Wind")]
|
|
public string Wind { get; set; }
|
|
|
|
[BsonElement("Rain")]
|
|
public int Rain { get; set; }
|
|
|
|
[BsonElement("Nextdays")]
|
|
public int Nextdays { get; set; }
|
|
}
|
|
}
|