mirror of
https://bitbucket.org/myhomie/mycorerepository.git
synced 2025-12-06 09:41:19 +00:00
21 lines
467 B
C#
21 lines
467 B
C#
using MongoDB.Bson.Serialization.Attributes;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MyCore.Models
|
|
{
|
|
public class WidgetNews : Widget
|
|
{
|
|
[BsonElement("Country")]
|
|
public string Country { get; set; }
|
|
|
|
[BsonElement("Provider")]
|
|
public string Provider { get; set; }
|
|
|
|
[BsonElement("Speed")]
|
|
public string Speed { get; set; } // Or int ?
|
|
}
|
|
}
|