mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
24 lines
669 B
C#
24 lines
669 B
C#
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;
|
|
}
|
|
}
|
|
} |