Initial Commit: BlackBoard inkl. Reporting
This commit is contained in:
23
Shared/Models/BlackBoard.cs
Normal file
23
Shared/Models/BlackBoard.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Interfaces;
|
||||
using Oqtane.Models;
|
||||
|
||||
namespace SZUAbsolventenverein.Module.BlackBoard.Models
|
||||
{
|
||||
[Table("SZUAbsolventenvereinBlackBoard")]
|
||||
public class BlackBoard : ModelBase, IReportable
|
||||
{
|
||||
[Key]
|
||||
public int BlackBoardId { get; set; }
|
||||
public int ModuleId { get; set; }
|
||||
public string Name { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public string ModuleName => "BlackBoard";
|
||||
[NotMapped]
|
||||
public int ModuleID => ModuleId;
|
||||
[NotMapped]
|
||||
public int EntityID => BlackBoardId;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user