Do not allow news to be edited or created manually.

This commit is contained in:
2019-05-19 00:01:35 +01:00
parent c93e29b181
commit 9e3c0e7ea7
7 changed files with 9 additions and 315 deletions

View File

@@ -29,14 +29,16 @@
*******************************************************************************/
using System;
using System.ComponentModel;
namespace Cicm.Database.Models
{
public class News
{
public int Id { get; set; }
public DateTime Date { get; set; }
public NewsType Type { get; set; }
public int AddedId { get; set; }
public int Id { get; set; }
public DateTime Date { get; set; }
public NewsType Type { get; set; }
[DisplayName("Affected ID")]
public int AddedId { get; set; }
}
}