mirror of
https://bitbucket.org/myhomie/mycorerepository.git
synced 2025-12-06 09:41:19 +00:00
24 lines
605 B
C#
24 lines
605 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 WidgetMessage : Widget
|
|
{
|
|
[BsonElement("Message")]
|
|
public string Message { get; set; }
|
|
|
|
[BsonElement("Permanent")]
|
|
public bool Permanent { get; set; }
|
|
|
|
[BsonElement("VisibleDuration")]
|
|
public int VisibleDuration { get; set; }
|
|
|
|
[BsonElement("Link")] // LINK RSS FEED Motivational message .. ? / Citations etc
|
|
public string Link { get; set; }
|
|
}
|
|
}
|