mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Implement news.
This commit is contained in:
24
cicm_web/Models/NewsModel.cs
Normal file
24
cicm_web/Models/NewsModel.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
|
||||
namespace cicm_web.Models
|
||||
{
|
||||
public class NewsModel
|
||||
{
|
||||
public readonly int AffectedId;
|
||||
public readonly string Text;
|
||||
public readonly DateTime Timestamp;
|
||||
public readonly string Controller;
|
||||
public readonly string Action;
|
||||
public readonly string ItemName;
|
||||
|
||||
public NewsModel(int affectedId, string text, DateTime timestamp, string controller, string action, string itemName)
|
||||
{
|
||||
AffectedId = affectedId;
|
||||
Text = text;
|
||||
Timestamp = timestamp;
|
||||
Controller = controller;
|
||||
Action = action;
|
||||
ItemName = itemName;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user