mirror of
https://bitbucket.org/myhomie/mycorerepository.git
synced 2025-12-06 17:51:20 +00:00
24 lines
578 B
C#
24 lines
578 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 WidgetTraffic : Widget
|
|
{
|
|
[BsonElement("WorkAddress")]
|
|
public string WorkAddress { get; set; }
|
|
|
|
[BsonElement("WorkCity")]
|
|
public string WorkCity { get; set; }
|
|
|
|
[BsonElement("WorkPostCode")]
|
|
public string WorkPostCode { get; set; }
|
|
|
|
[BsonElement("WorkDays")]
|
|
public bool[] WorkDays { get; set; } // [1,1,1,1,1,0,0]
|
|
}
|
|
}
|