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;
|
||||
}
|
||||
}
|
||||
25
Shared/SZUAbsolventenverein.Module.BlackBoard.Shared.csproj
Normal file
25
Shared/SZUAbsolventenverein.Module.BlackBoard.Shared.csproj
Normal file
@@ -0,0 +1,25 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<Version>1.0.0</Version>
|
||||
<Product>SZUAbsolventenverein.Module.BlackBoard</Product>
|
||||
<Authors>SZUAbsolventenverein</Authors>
|
||||
<Company>SZUAbsolventenverein</Company>
|
||||
<Description>Kommunikationsplatform</Description>
|
||||
<Copyright>SZUAbsolventenverein</Copyright>
|
||||
<AssemblyName>SZUAbsolventenverein.Module.BlackBoard.Shared.Oqtane</AssemblyName>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="Interfaces">
|
||||
<HintPath>..\..\interfaces\Interfaces\bin\Debug\net10.0\Interfaces.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Oqtane.Shared"><HintPath>..\..\oqtane.framework\Oqtane.Server\bin\Debug\net10.0\Oqtane.Shared.dll</HintPath></Reference>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user