diff --git a/.editorconfig b/.editorconfig index b5714601..8a4a4390 100644 --- a/.editorconfig +++ b/.editorconfig @@ -42,3 +42,11 @@ end_of_line = crlf [*.sh] end_of_line = lf +[*.{cs,vb}] +dotnet_sort_system_directives_first = true +dotnet_separate_import_directive_groups = true +dotnet_style_namespace_match_folder = true + +[*.cs] +csharp_using_directive_placement = outside_namespace +csharp_style_namespace_declarations = file_scoped:warning \ No newline at end of file diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 2923cfc7..5fc52acd 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -103,7 +103,7 @@ jobs: - name: Deploy SQL Server Database to Azure Staging if: github.ref == 'refs/heads/develop' - uses: azure/sql-action@v2 + uses: azure/sql-action@v2.1 with: connection-string: ${{secrets.AZURE_SQL_CONNECTION_STAGING}} path: './InstructorIQ.dacpac' @@ -111,7 +111,7 @@ jobs: - name: Deploy SQL Server Database to Azure Production if: github.ref == 'refs/heads/master' - uses: azure/sql-action@v2 + uses: azure/sql-action@v2.1 with: connection-string: ${{secrets.AZURE_SQL_CONNECTION_PRODUCTION}} path: './InstructorIQ.dacpac' diff --git a/.gitignore b/.gitignore index 0f78cfd3..cb9144b0 100644 --- a/.gitignore +++ b/.gitignore @@ -257,3 +257,4 @@ build/ client/dist/ temp/ coverage.opencover.xml +*.clef diff --git a/service/Directory.Build.props b/service/Directory.Build.props new file mode 100644 index 00000000..8f295ad2 --- /dev/null +++ b/service/Directory.Build.props @@ -0,0 +1,27 @@ + + + InstructorIQ + Training calendar manangement + Copyright © $([System.DateTime]::Now.ToString(yyyy)) LoreSoft + LoreSoft + en-US + true + https://github.com/loresoft/InstructorIQ + MIT + logo.png + README.md + git + https://github.com/loresoft/InstructorIQ + true + 1591 + + + + + + + + + + + diff --git a/service/InstructorIQ.sln b/service/InstructorIQ.sln index fc4e1857..cc36663f 100644 --- a/service/InstructorIQ.sln +++ b/service/InstructorIQ.sln @@ -13,6 +13,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "InstructorIQ.WebApplication EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{64DEECE6-F644-428A-9094-3729E6A74698}" ProjectSection(SolutionItems) = preProject + Directory.Build.props = Directory.Build.props ..\.github\workflows\dotnet.yml = ..\.github\workflows\dotnet.yml EndProjectSection EndProject diff --git a/service/src/InstructorIQ.Core/Behaviors/AuthenticateEntityIdentifierCommandBehavior.cs b/service/src/InstructorIQ.Core/Behaviors/AuthenticateEntityIdentifierCommandBehavior.cs index cecc1a95..4370af2c 100644 --- a/service/src/InstructorIQ.Core/Behaviors/AuthenticateEntityIdentifierCommandBehavior.cs +++ b/service/src/InstructorIQ.Core/Behaviors/AuthenticateEntityIdentifierCommandBehavior.cs @@ -7,19 +7,18 @@ using Microsoft.Extensions.Logging; -namespace InstructorIQ.Core.Behaviors +namespace InstructorIQ.Core.Behaviors; + +public class AuthenticateEntityIdentifierCommandBehavior + : PipelineBehaviorBase, TReadModel> { - public class AuthenticateEntityIdentifierCommandBehavior - : PipelineBehaviorBase, TReadModel> + public AuthenticateEntityIdentifierCommandBehavior(ILoggerFactory loggerFactory) : base(loggerFactory) { - public AuthenticateEntityIdentifierCommandBehavior(ILoggerFactory loggerFactory) : base(loggerFactory) - { - } + } - protected override async Task Process(EntityIdentifierCommand request, RequestHandlerDelegate next, CancellationToken cancellationToken) - { - // continue pipeline - return await next().ConfigureAwait(false); - } + protected override async Task Process(EntityIdentifierCommand request, RequestHandlerDelegate next, CancellationToken cancellationToken) + { + // continue pipeline + return await next().ConfigureAwait(false); } } diff --git a/service/src/InstructorIQ.Core/Behaviors/TrackChangeEntityPatchCommandBehavior.cs b/service/src/InstructorIQ.Core/Behaviors/TrackChangeEntityPatchCommandBehavior.cs index 2391574e..7645bbc1 100644 --- a/service/src/InstructorIQ.Core/Behaviors/TrackChangeEntityPatchCommandBehavior.cs +++ b/service/src/InstructorIQ.Core/Behaviors/TrackChangeEntityPatchCommandBehavior.cs @@ -7,20 +7,19 @@ using Microsoft.Extensions.Logging; -namespace InstructorIQ.Core.Behaviors +namespace InstructorIQ.Core.Behaviors; + +public class TrackChangeEntityPatchCommandBehavior + : PipelineBehaviorBase, TReadModel> { - public class TrackChangeEntityPatchCommandBehavior - : PipelineBehaviorBase, TReadModel> + public TrackChangeEntityPatchCommandBehavior(ILoggerFactory loggerFactory) : base(loggerFactory) { - public TrackChangeEntityPatchCommandBehavior(ILoggerFactory loggerFactory) : base(loggerFactory) - { - } - - protected override async Task Process(EntityPatchCommand request, RequestHandlerDelegate next, CancellationToken cancellationToken) - { - // continue pipeline - return await next().ConfigureAwait(false); - } + } + protected override async Task Process(EntityPatchCommand request, RequestHandlerDelegate next, CancellationToken cancellationToken) + { + // continue pipeline + return await next().ConfigureAwait(false); } + } diff --git a/service/src/InstructorIQ.Core/Behaviors/TrackChangeEntityUpdateCommandBehavior.cs b/service/src/InstructorIQ.Core/Behaviors/TrackChangeEntityUpdateCommandBehavior.cs index b112f8a6..a7df8b3c 100644 --- a/service/src/InstructorIQ.Core/Behaviors/TrackChangeEntityUpdateCommandBehavior.cs +++ b/service/src/InstructorIQ.Core/Behaviors/TrackChangeEntityUpdateCommandBehavior.cs @@ -7,19 +7,18 @@ using Microsoft.Extensions.Logging; -namespace InstructorIQ.Core.Behaviors +namespace InstructorIQ.Core.Behaviors; + +public class TrackChangeEntityUpdateCommandBehavior + : PipelineBehaviorBase, TReadModel> { - public class TrackChangeEntityUpdateCommandBehavior - : PipelineBehaviorBase, TReadModel> + public TrackChangeEntityUpdateCommandBehavior(ILoggerFactory loggerFactory) : base(loggerFactory) { - public TrackChangeEntityUpdateCommandBehavior(ILoggerFactory loggerFactory) : base(loggerFactory) - { - } + } - protected override async Task Process(EntityUpdateCommand request, RequestHandlerDelegate next, CancellationToken cancellationToken) - { - // continue pipeline - return await next().ConfigureAwait(false); - } + protected override async Task Process(EntityUpdateCommand request, RequestHandlerDelegate next, CancellationToken cancellationToken) + { + // continue pipeline + return await next().ConfigureAwait(false); } } diff --git a/service/src/InstructorIQ.Core/Converters/TimeSpanConverter.cs b/service/src/InstructorIQ.Core/Converters/TimeSpanConverter.cs index 03c066d1..31ab01eb 100644 --- a/service/src/InstructorIQ.Core/Converters/TimeSpanConverter.cs +++ b/service/src/InstructorIQ.Core/Converters/TimeSpanConverter.cs @@ -1,21 +1,20 @@ -using System; +using System; using System.Text.Json; using System.Text.Json.Serialization; -namespace InstructorIQ.Core.Converters +namespace InstructorIQ.Core.Converters; + +public class TimeSpanConverter : JsonConverter { - public class TimeSpanConverter : JsonConverter + public override TimeSpan Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) { - public override TimeSpan Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) - { - var stringValue = reader.GetString(); - return TimeSpan.Parse(stringValue); - } + var stringValue = reader.GetString(); + return TimeSpan.Parse(stringValue); + } - public override void Write(Utf8JsonWriter writer, TimeSpan value, JsonSerializerOptions options) - { - var stringValue = value.ToString(); - writer.WriteStringValue(stringValue); - } + public override void Write(Utf8JsonWriter writer, TimeSpan value, JsonSerializerOptions options) + { + var stringValue = value.ToString(); + writer.WriteStringValue(stringValue); } } diff --git a/service/src/InstructorIQ.Core/Data/Constants/Role.cs b/service/src/InstructorIQ.Core/Data/Constants/Role.cs index af562f7e..4686a61f 100644 --- a/service/src/InstructorIQ.Core/Data/Constants/Role.cs +++ b/service/src/InstructorIQ.Core/Data/Constants/Role.cs @@ -1,23 +1,22 @@ -using System; +using System; -namespace InstructorIQ.Core.Data.Constants +namespace InstructorIQ.Core.Data.Constants; + +public static class Role { - public static class Role - { - ///Member for organization - public static readonly Guid Member = new Guid("d373fbb2-39eb-e711-87c1-708bcd56aa6d"); - ///User that can attend sessions - public static readonly Guid Attendee = new Guid("d9fb92e7-a5e8-4fe3-86ba-16924e44fb86"); - ///Instructor for organization - public static readonly Guid Instructor = new Guid("808c0ec0-39eb-e711-87c1-708bcd56aa6d"); - ///Administrator for organization - public static readonly Guid Administrator = new Guid("8fa6aec8-39eb-e711-87c1-708bcd56aa6d"); + ///Member for organization + public static readonly Guid Member = new Guid("d373fbb2-39eb-e711-87c1-708bcd56aa6d"); + ///User that can attend sessions + public static readonly Guid Attendee = new Guid("d9fb92e7-a5e8-4fe3-86ba-16924e44fb86"); + ///Instructor for organization + public static readonly Guid Instructor = new Guid("808c0ec0-39eb-e711-87c1-708bcd56aa6d"); + ///Administrator for organization + public static readonly Guid Administrator = new Guid("8fa6aec8-39eb-e711-87c1-708bcd56aa6d"); - public const string MemberName = "Member"; - public const string AttendeeName = "Attendee"; - public const string InstructorName = "Instructor"; - public const string AdministratorName = "Administrator"; - public const string GlobalAdministrator = "GlobalAdministrator"; + public const string MemberName = "Member"; + public const string AttendeeName = "Attendee"; + public const string InstructorName = "Instructor"; + public const string AdministratorName = "Administrator"; + public const string GlobalAdministrator = "GlobalAdministrator"; - } } diff --git a/service/src/InstructorIQ.Core/Data/Constants/TemplateType.cs b/service/src/InstructorIQ.Core/Data/Constants/TemplateType.cs index a927751b..d8cbf8b5 100644 --- a/service/src/InstructorIQ.Core/Data/Constants/TemplateType.cs +++ b/service/src/InstructorIQ.Core/Data/Constants/TemplateType.cs @@ -1,11 +1,10 @@ -using System; +using System; using System.Collections.Generic; using System.Text; -namespace InstructorIQ.Core.Data.Constants +namespace InstructorIQ.Core.Data.Constants; + +public static class TemplateType { - public static class TemplateType - { - public const string Editor = "Editor"; - } + public const string Editor = "Editor"; } diff --git a/service/src/InstructorIQ.Core/Data/Constants/Tenant.cs b/service/src/InstructorIQ.Core/Data/Constants/Tenant.cs index 5f4ae11d..6edcdf3d 100644 --- a/service/src/InstructorIQ.Core/Data/Constants/Tenant.cs +++ b/service/src/InstructorIQ.Core/Data/Constants/Tenant.cs @@ -1,12 +1,11 @@ -using System; +using System; -namespace InstructorIQ.Core.Data.Constants +namespace InstructorIQ.Core.Data.Constants; + +public static class Tenant { - public static class Tenant - { - ///Test Organization - public static readonly Guid Test = new Guid("2a3080d2-a9ec-e711-87c2-708bcd56aa6d"); - ///Demo Organization - public static readonly Guid Demo = new Guid("e8a8db6e-2feb-e711-87c1-708bcd56aa6d"); - } -} \ No newline at end of file + ///Test Organization + public static readonly Guid Test = new Guid("2a3080d2-a9ec-e711-87c2-708bcd56aa6d"); + ///Demo Organization + public static readonly Guid Demo = new Guid("e8a8db6e-2feb-e711-87c1-708bcd56aa6d"); +} diff --git a/service/src/InstructorIQ.Core/Data/Constants/User.cs b/service/src/InstructorIQ.Core/Data/Constants/User.cs index a2adf4c6..e92f46cb 100644 --- a/service/src/InstructorIQ.Core/Data/Constants/User.cs +++ b/service/src/InstructorIQ.Core/Data/Constants/User.cs @@ -1,12 +1,11 @@ -using System; +using System; -namespace InstructorIQ.Core.Data.Constants +namespace InstructorIQ.Core.Data.Constants; + +public static class User { - public static class User - { - ///Test User - public static readonly System.Guid Test = new Guid("52ae0c20-c4de-e711-87bf-708bcd56aa6d"); - ///InstructorIQ Support - public static readonly System.Guid Support = new Guid("2a31eec5-30eb-e711-87c1-708bcd56aa6d"); - } -} \ No newline at end of file + ///Test User + public static readonly System.Guid Test = new Guid("52ae0c20-c4de-e711-87bf-708bcd56aa6d"); + ///InstructorIQ Support + public static readonly System.Guid Support = new Guid("2a31eec5-30eb-e711-87c1-708bcd56aa6d"); +} diff --git a/service/src/InstructorIQ.Core/Data/DataServiceModule.cs b/service/src/InstructorIQ.Core/Data/DataServiceModule.cs index b2db2a7c..11f87a61 100644 --- a/service/src/InstructorIQ.Core/Data/DataServiceModule.cs +++ b/service/src/InstructorIQ.Core/Data/DataServiceModule.cs @@ -8,29 +8,28 @@ using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; -namespace InstructorIQ.Core.Data +namespace InstructorIQ.Core.Data; + +public class DataServiceModule { - public class DataServiceModule - { - [RegisterServices] - public void Register(IServiceCollection services) + [RegisterServices] + public void Register(IServiceCollection services) + { + services.AddDbContextPool((provider, options) => { - services.AddDbContextPool((provider, options) => - { - var configuration = provider.GetRequiredService(); - var connectionString = configuration.GetConnectionString("InstructorIQ"); - options.UseSqlServer(connectionString, providerOptions => providerOptions.EnableRetryOnFailure()); - }); + var configuration = provider.GetRequiredService(); + var connectionString = configuration.GetConnectionString("InstructorIQ"); + options.UseSqlServer(connectionString, providerOptions => providerOptions.EnableRetryOnFailure()); + }); - services.TryAddSingleton(provider => - { - var configuration = provider.GetRequiredService(); - var connectionString = configuration.GetConnectionString("InstructorIQ"); - return new DataConfiguration(SqlClientFactory.Instance, connectionString); - }); + services.TryAddSingleton(provider => + { + var configuration = provider.GetRequiredService(); + var connectionString = configuration.GetConnectionString("InstructorIQ"); + return new DataConfiguration(SqlClientFactory.Instance, connectionString); + }); - services.TryAddTransient(); - } + services.TryAddTransient(); } } diff --git a/service/src/InstructorIQ.Core/Data/Entities/Attendance.cs b/service/src/InstructorIQ.Core/Data/Entities/Attendance.cs index 0be861df..dc0ae334 100644 --- a/service/src/InstructorIQ.Core/Data/Entities/Attendance.cs +++ b/service/src/InstructorIQ.Core/Data/Entities/Attendance.cs @@ -1,149 +1,149 @@ using System; + using MediatR.CommandQuery.Definitions; -namespace InstructorIQ.Core.Data.Entities +namespace InstructorIQ.Core.Data.Entities; + +/// +/// Entity class representing data for table 'Attendance'. +/// +public class Attendance : IHaveIdentifier, ITrackCreated, ITrackUpdated, IHaveTenant { /// - /// Entity class representing data for table 'Attendance'. + /// Initializes a new instance of the class. /// - public class Attendance : IHaveIdentifier, ITrackCreated, ITrackUpdated, IHaveTenant + public Attendance() { - /// - /// Initializes a new instance of the class. - /// - public Attendance() - { - #region Generated Constructor - #endregion - } - - #region Generated Properties - /// - /// Gets or sets the property value representing column 'Id'. - /// - /// - /// The property value representing column 'Id'. - /// - public Guid Id { get; set; } - - /// - /// Gets or sets the property value representing column 'SessionId'. - /// - /// - /// The property value representing column 'SessionId'. - /// - public Guid SessionId { get; set; } - - /// - /// Gets or sets the property value representing column 'Attended'. - /// - /// - /// The property value representing column 'Attended'. - /// - public DateTimeOffset Attended { get; set; } - - /// - /// Gets or sets the property value representing column 'AttendeeEmail'. - /// - /// - /// The property value representing column 'AttendeeEmail'. - /// - public string AttendeeEmail { get; set; } - - /// - /// Gets or sets the property value representing column 'AttendeeName'. - /// - /// - /// The property value representing column 'AttendeeName'. - /// - public string AttendeeName { get; set; } - - /// - /// Gets or sets the property value representing column 'Signature'. - /// - /// - /// The property value representing column 'Signature'. - /// - public string Signature { get; set; } - - /// - /// Gets or sets the property value representing column 'SignatureType'. - /// - /// - /// The property value representing column 'SignatureType'. - /// - public string SignatureType { get; set; } - - /// - /// Gets or sets the property value representing column 'TenantId'. - /// - /// - /// The property value representing column 'TenantId'. - /// - public Guid TenantId { get; set; } - - /// - /// Gets or sets the property value representing column 'Created'. - /// - /// - /// The property value representing column 'Created'. - /// - public DateTimeOffset Created { get; set; } - - /// - /// Gets or sets the property value representing column 'CreatedBy'. - /// - /// - /// The property value representing column 'CreatedBy'. - /// - public string CreatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'Updated'. - /// - /// - /// The property value representing column 'Updated'. - /// - public DateTimeOffset Updated { get; set; } - - /// - /// Gets or sets the property value representing column 'UpdatedBy'. - /// - /// - /// The property value representing column 'UpdatedBy'. - /// - public string UpdatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'RowVersion'. - /// - /// - /// The property value representing column 'RowVersion'. - /// - public Byte[] RowVersion { get; set; } - + #region Generated Constructor #endregion + } - #region Generated Relationships - /// - /// Gets or sets the navigation property for entity . - /// - /// - /// The the navigation property for entity . - /// - /// - public virtual Session Session { get; set; } - - /// - /// Gets or sets the navigation property for entity . - /// - /// - /// The the navigation property for entity . - /// - /// - public virtual Tenant Tenant { get; set; } + #region Generated Properties + /// + /// Gets or sets the property value representing column 'Id'. + /// + /// + /// The property value representing column 'Id'. + /// + public Guid Id { get; set; } - #endregion + /// + /// Gets or sets the property value representing column 'SessionId'. + /// + /// + /// The property value representing column 'SessionId'. + /// + public Guid SessionId { get; set; } + + /// + /// Gets or sets the property value representing column 'Attended'. + /// + /// + /// The property value representing column 'Attended'. + /// + public DateTimeOffset Attended { get; set; } + + /// + /// Gets or sets the property value representing column 'AttendeeEmail'. + /// + /// + /// The property value representing column 'AttendeeEmail'. + /// + public string AttendeeEmail { get; set; } + + /// + /// Gets or sets the property value representing column 'AttendeeName'. + /// + /// + /// The property value representing column 'AttendeeName'. + /// + public string AttendeeName { get; set; } + + /// + /// Gets or sets the property value representing column 'Signature'. + /// + /// + /// The property value representing column 'Signature'. + /// + public string Signature { get; set; } + + /// + /// Gets or sets the property value representing column 'SignatureType'. + /// + /// + /// The property value representing column 'SignatureType'. + /// + public string SignatureType { get; set; } + + /// + /// Gets or sets the property value representing column 'TenantId'. + /// + /// + /// The property value representing column 'TenantId'. + /// + public Guid TenantId { get; set; } + + /// + /// Gets or sets the property value representing column 'Created'. + /// + /// + /// The property value representing column 'Created'. + /// + public DateTimeOffset Created { get; set; } + + /// + /// Gets or sets the property value representing column 'CreatedBy'. + /// + /// + /// The property value representing column 'CreatedBy'. + /// + public string CreatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'Updated'. + /// + /// + /// The property value representing column 'Updated'. + /// + public DateTimeOffset Updated { get; set; } + + /// + /// Gets or sets the property value representing column 'UpdatedBy'. + /// + /// + /// The property value representing column 'UpdatedBy'. + /// + public string UpdatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'RowVersion'. + /// + /// + /// The property value representing column 'RowVersion'. + /// + public Byte[] RowVersion { get; set; } + + #endregion + + #region Generated Relationships + /// + /// Gets or sets the navigation property for entity . + /// + /// + /// The the navigation property for entity . + /// + /// + public virtual Session Session { get; set; } + + /// + /// Gets or sets the navigation property for entity . + /// + /// + /// The the navigation property for entity . + /// + /// + public virtual Tenant Tenant { get; set; } + + #endregion - } } diff --git a/service/src/InstructorIQ.Core/Data/Entities/AuthenticationEvent.cs b/service/src/InstructorIQ.Core/Data/Entities/AuthenticationEvent.cs index 77379196..17b172f3 100644 --- a/service/src/InstructorIQ.Core/Data/Entities/AuthenticationEvent.cs +++ b/service/src/InstructorIQ.Core/Data/Entities/AuthenticationEvent.cs @@ -1,164 +1,164 @@ using System; using System.Collections.Generic; + using MediatR.CommandQuery.Definitions; -namespace InstructorIQ.Core.Data.Entities +namespace InstructorIQ.Core.Data.Entities; + +/// +/// Entity class representing data for table 'AuthenticationEvent'. +/// +public partial class AuthenticationEvent : IHaveIdentifier, ITrackCreated, ITrackUpdated { /// - /// Entity class representing data for table 'AuthenticationEvent'. + /// Initializes a new instance of the class. /// - public partial class AuthenticationEvent : IHaveIdentifier, ITrackCreated, ITrackUpdated + public AuthenticationEvent() { - /// - /// Initializes a new instance of the class. - /// - public AuthenticationEvent() - { - #region Generated Constructor - #endregion - } - - #region Generated Properties - /// - /// Gets or sets the property value representing column 'Id'. - /// - /// - /// The property value representing column 'Id'. - /// - public Guid Id { get; set; } - - /// - /// Gets or sets the property value representing column 'EmailAddress'. - /// - /// - /// The property value representing column 'EmailAddress'. - /// - public string EmailAddress { get; set; } - - /// - /// Gets or sets the property value representing column 'UserName'. - /// - /// - /// The property value representing column 'UserName'. - /// - public string UserName { get; set; } - - /// - /// Gets or sets the property value representing column 'UserAgent'. - /// - /// - /// The property value representing column 'UserAgent'. - /// - public string UserAgent { get; set; } - - /// - /// Gets or sets the property value representing column 'Browser'. - /// - /// - /// The property value representing column 'Browser'. - /// - public string Browser { get; set; } - - /// - /// Gets or sets the property value representing column 'OperatingSystem'. - /// - /// - /// The property value representing column 'OperatingSystem'. - /// - public string OperatingSystem { get; set; } - - /// - /// Gets or sets the property value representing column 'DeviceFamily'. - /// - /// - /// The property value representing column 'DeviceFamily'. - /// - public string DeviceFamily { get; set; } - - /// - /// Gets or sets the property value representing column 'DeviceBrand'. - /// - /// - /// The property value representing column 'DeviceBrand'. - /// - public string DeviceBrand { get; set; } - - /// - /// Gets or sets the property value representing column 'DeviceModel'. - /// - /// - /// The property value representing column 'DeviceModel'. - /// - public string DeviceModel { get; set; } - - /// - /// Gets or sets the property value representing column 'IpAddress'. - /// - /// - /// The property value representing column 'IpAddress'. - /// - public string IpAddress { get; set; } - - /// - /// Gets or sets the property value representing column 'IsSuccessful'. - /// - /// - /// The property value representing column 'IsSuccessful'. - /// - public bool IsSuccessful { get; set; } - - /// - /// Gets or sets the property value representing column 'FailureMessage'. - /// - /// - /// The property value representing column 'FailureMessage'. - /// - public string FailureMessage { get; set; } - - /// - /// Gets or sets the property value representing column 'Created'. - /// - /// - /// The property value representing column 'Created'. - /// - public DateTimeOffset Created { get; set; } - - /// - /// Gets or sets the property value representing column 'CreatedBy'. - /// - /// - /// The property value representing column 'CreatedBy'. - /// - public string CreatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'Updated'. - /// - /// - /// The property value representing column 'Updated'. - /// - public DateTimeOffset Updated { get; set; } - - /// - /// Gets or sets the property value representing column 'UpdatedBy'. - /// - /// - /// The property value representing column 'UpdatedBy'. - /// - public string UpdatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'RowVersion'. - /// - /// - /// The property value representing column 'RowVersion'. - /// - public Byte[] RowVersion { get; set; } - + #region Generated Constructor #endregion + } - #region Generated Relationships - #endregion + #region Generated Properties + /// + /// Gets or sets the property value representing column 'Id'. + /// + /// + /// The property value representing column 'Id'. + /// + public Guid Id { get; set; } + + /// + /// Gets or sets the property value representing column 'EmailAddress'. + /// + /// + /// The property value representing column 'EmailAddress'. + /// + public string EmailAddress { get; set; } + + /// + /// Gets or sets the property value representing column 'UserName'. + /// + /// + /// The property value representing column 'UserName'. + /// + public string UserName { get; set; } + + /// + /// Gets or sets the property value representing column 'UserAgent'. + /// + /// + /// The property value representing column 'UserAgent'. + /// + public string UserAgent { get; set; } + + /// + /// Gets or sets the property value representing column 'Browser'. + /// + /// + /// The property value representing column 'Browser'. + /// + public string Browser { get; set; } + + /// + /// Gets or sets the property value representing column 'OperatingSystem'. + /// + /// + /// The property value representing column 'OperatingSystem'. + /// + public string OperatingSystem { get; set; } + + /// + /// Gets or sets the property value representing column 'DeviceFamily'. + /// + /// + /// The property value representing column 'DeviceFamily'. + /// + public string DeviceFamily { get; set; } + + /// + /// Gets or sets the property value representing column 'DeviceBrand'. + /// + /// + /// The property value representing column 'DeviceBrand'. + /// + public string DeviceBrand { get; set; } + + /// + /// Gets or sets the property value representing column 'DeviceModel'. + /// + /// + /// The property value representing column 'DeviceModel'. + /// + public string DeviceModel { get; set; } + + /// + /// Gets or sets the property value representing column 'IpAddress'. + /// + /// + /// The property value representing column 'IpAddress'. + /// + public string IpAddress { get; set; } + + /// + /// Gets or sets the property value representing column 'IsSuccessful'. + /// + /// + /// The property value representing column 'IsSuccessful'. + /// + public bool IsSuccessful { get; set; } + + /// + /// Gets or sets the property value representing column 'FailureMessage'. + /// + /// + /// The property value representing column 'FailureMessage'. + /// + public string FailureMessage { get; set; } + + /// + /// Gets or sets the property value representing column 'Created'. + /// + /// + /// The property value representing column 'Created'. + /// + public DateTimeOffset Created { get; set; } + + /// + /// Gets or sets the property value representing column 'CreatedBy'. + /// + /// + /// The property value representing column 'CreatedBy'. + /// + public string CreatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'Updated'. + /// + /// + /// The property value representing column 'Updated'. + /// + public DateTimeOffset Updated { get; set; } + + /// + /// Gets or sets the property value representing column 'UpdatedBy'. + /// + /// + /// The property value representing column 'UpdatedBy'. + /// + public string UpdatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'RowVersion'. + /// + /// + /// The property value representing column 'RowVersion'. + /// + public Byte[] RowVersion { get; set; } + + #endregion + + #region Generated Relationships + #endregion - } } diff --git a/service/src/InstructorIQ.Core/Data/Entities/Discussion.cs b/service/src/InstructorIQ.Core/Data/Entities/Discussion.cs index 1d4a02ef..288cd368 100644 --- a/service/src/InstructorIQ.Core/Data/Entities/Discussion.cs +++ b/service/src/InstructorIQ.Core/Data/Entities/Discussion.cs @@ -1,214 +1,214 @@ using System; using System.Collections.Generic; + using MediatR.CommandQuery.Definitions; -namespace InstructorIQ.Core.Data.Entities +namespace InstructorIQ.Core.Data.Entities; + +/// +/// Entity class representing data for table 'Discussion'. +/// +public partial class Discussion : IHaveIdentifier, ITrackCreated, ITrackUpdated, IHaveTenant { /// - /// Entity class representing data for table 'Discussion'. + /// Initializes a new instance of the class. /// - public partial class Discussion : IHaveIdentifier, ITrackCreated, ITrackUpdated, IHaveTenant + public Discussion() { - /// - /// Initializes a new instance of the class. - /// - public Discussion() - { - #region Generated Constructor - #endregion - } - - #region Generated Properties - /// - /// Gets or sets the property value representing column 'Id'. - /// - /// - /// The property value representing column 'Id'. - /// - public Guid Id { get; set; } - - /// - /// Gets or sets the property value representing column 'TopicId'. - /// - /// - /// The property value representing column 'TopicId'. - /// - public Guid TopicId { get; set; } - - /// - /// Gets or sets the property value representing column 'TenantId'. - /// - /// - /// The property value representing column 'TenantId'. - /// - public Guid TenantId { get; set; } - - /// - /// Gets or sets the property value representing column 'Message'. - /// - /// - /// The property value representing column 'Message'. - /// - public string Message { get; set; } - - /// - /// Gets or sets the property value representing column 'MessageDate'. - /// - /// - /// The property value representing column 'MessageDate'. - /// - public DateTimeOffset MessageDate { get; set; } - - /// - /// Gets or sets the property value representing column 'EmailAddress'. - /// - /// - /// The property value representing column 'EmailAddress'. - /// - public string EmailAddress { get; set; } - - /// - /// Gets or sets the property value representing column 'DisplayName'. - /// - /// - /// The property value representing column 'DisplayName'. - /// - public string DisplayName { get; set; } - - /// - /// Gets or sets the property value representing column 'UserAgent'. - /// - /// - /// The property value representing column 'UserAgent'. - /// - public string UserAgent { get; set; } - - /// - /// Gets or sets the property value representing column 'Browser'. - /// - /// - /// The property value representing column 'Browser'. - /// - public string Browser { get; set; } - - /// - /// Gets or sets the property value representing column 'OperatingSystem'. - /// - /// - /// The property value representing column 'OperatingSystem'. - /// - public string OperatingSystem { get; set; } - - /// - /// Gets or sets the property value representing column 'DeviceFamily'. - /// - /// - /// The property value representing column 'DeviceFamily'. - /// - public string DeviceFamily { get; set; } - - /// - /// Gets or sets the property value representing column 'DeviceBrand'. - /// - /// - /// The property value representing column 'DeviceBrand'. - /// - public string DeviceBrand { get; set; } - - /// - /// Gets or sets the property value representing column 'DeviceModel'. - /// - /// - /// The property value representing column 'DeviceModel'. - /// - public string DeviceModel { get; set; } - - /// - /// Gets or sets the property value representing column 'IpAddress'. - /// - /// - /// The property value representing column 'IpAddress'. - /// - public string IpAddress { get; set; } - - /// - /// Gets or sets the property value representing column 'Created'. - /// - /// - /// The property value representing column 'Created'. - /// - public DateTimeOffset Created { get; set; } - - /// - /// Gets or sets the property value representing column 'CreatedBy'. - /// - /// - /// The property value representing column 'CreatedBy'. - /// - public string CreatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'Updated'. - /// - /// - /// The property value representing column 'Updated'. - /// - public DateTimeOffset Updated { get; set; } - - /// - /// Gets or sets the property value representing column 'UpdatedBy'. - /// - /// - /// The property value representing column 'UpdatedBy'. - /// - public string UpdatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'RowVersion'. - /// - /// - /// The property value representing column 'RowVersion'. - /// - public Byte[] RowVersion { get; set; } - - /// - /// Gets or sets the property value representing column 'PeriodStart'. - /// - /// - /// The property value representing column 'PeriodStart'. - /// - public DateTime PeriodStart { get; set; } - - /// - /// Gets or sets the property value representing column 'PeriodEnd'. - /// - /// - /// The property value representing column 'PeriodEnd'. - /// - public DateTime PeriodEnd { get; set; } - + #region Generated Constructor #endregion + } - #region Generated Relationships - /// - /// Gets or sets the navigation property for entity . - /// - /// - /// The the navigation property for entity . - /// - /// - public virtual Tenant Tenant { get; set; } - - /// - /// Gets or sets the navigation property for entity . - /// - /// - /// The the navigation property for entity . - /// - /// - public virtual Topic Topic { get; set; } + #region Generated Properties + /// + /// Gets or sets the property value representing column 'Id'. + /// + /// + /// The property value representing column 'Id'. + /// + public Guid Id { get; set; } - #endregion + /// + /// Gets or sets the property value representing column 'TopicId'. + /// + /// + /// The property value representing column 'TopicId'. + /// + public Guid TopicId { get; set; } + + /// + /// Gets or sets the property value representing column 'TenantId'. + /// + /// + /// The property value representing column 'TenantId'. + /// + public Guid TenantId { get; set; } + + /// + /// Gets or sets the property value representing column 'Message'. + /// + /// + /// The property value representing column 'Message'. + /// + public string Message { get; set; } + + /// + /// Gets or sets the property value representing column 'MessageDate'. + /// + /// + /// The property value representing column 'MessageDate'. + /// + public DateTimeOffset MessageDate { get; set; } + + /// + /// Gets or sets the property value representing column 'EmailAddress'. + /// + /// + /// The property value representing column 'EmailAddress'. + /// + public string EmailAddress { get; set; } + + /// + /// Gets or sets the property value representing column 'DisplayName'. + /// + /// + /// The property value representing column 'DisplayName'. + /// + public string DisplayName { get; set; } + + /// + /// Gets or sets the property value representing column 'UserAgent'. + /// + /// + /// The property value representing column 'UserAgent'. + /// + public string UserAgent { get; set; } + + /// + /// Gets or sets the property value representing column 'Browser'. + /// + /// + /// The property value representing column 'Browser'. + /// + public string Browser { get; set; } + + /// + /// Gets or sets the property value representing column 'OperatingSystem'. + /// + /// + /// The property value representing column 'OperatingSystem'. + /// + public string OperatingSystem { get; set; } + + /// + /// Gets or sets the property value representing column 'DeviceFamily'. + /// + /// + /// The property value representing column 'DeviceFamily'. + /// + public string DeviceFamily { get; set; } + + /// + /// Gets or sets the property value representing column 'DeviceBrand'. + /// + /// + /// The property value representing column 'DeviceBrand'. + /// + public string DeviceBrand { get; set; } + + /// + /// Gets or sets the property value representing column 'DeviceModel'. + /// + /// + /// The property value representing column 'DeviceModel'. + /// + public string DeviceModel { get; set; } + + /// + /// Gets or sets the property value representing column 'IpAddress'. + /// + /// + /// The property value representing column 'IpAddress'. + /// + public string IpAddress { get; set; } + + /// + /// Gets or sets the property value representing column 'Created'. + /// + /// + /// The property value representing column 'Created'. + /// + public DateTimeOffset Created { get; set; } + + /// + /// Gets or sets the property value representing column 'CreatedBy'. + /// + /// + /// The property value representing column 'CreatedBy'. + /// + public string CreatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'Updated'. + /// + /// + /// The property value representing column 'Updated'. + /// + public DateTimeOffset Updated { get; set; } + + /// + /// Gets or sets the property value representing column 'UpdatedBy'. + /// + /// + /// The property value representing column 'UpdatedBy'. + /// + public string UpdatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'RowVersion'. + /// + /// + /// The property value representing column 'RowVersion'. + /// + public Byte[] RowVersion { get; set; } + + /// + /// Gets or sets the property value representing column 'PeriodStart'. + /// + /// + /// The property value representing column 'PeriodStart'. + /// + public DateTime PeriodStart { get; set; } + + /// + /// Gets or sets the property value representing column 'PeriodEnd'. + /// + /// + /// The property value representing column 'PeriodEnd'. + /// + public DateTime PeriodEnd { get; set; } + + #endregion + + #region Generated Relationships + /// + /// Gets or sets the navigation property for entity . + /// + /// + /// The the navigation property for entity . + /// + /// + public virtual Tenant Tenant { get; set; } + + /// + /// Gets or sets the navigation property for entity . + /// + /// + /// The the navigation property for entity . + /// + /// + public virtual Topic Topic { get; set; } + + #endregion - } } diff --git a/service/src/InstructorIQ.Core/Data/Entities/EmailDelivery.cs b/service/src/InstructorIQ.Core/Data/Entities/EmailDelivery.cs index 5f129658..24134e6b 100644 --- a/service/src/InstructorIQ.Core/Data/Entities/EmailDelivery.cs +++ b/service/src/InstructorIQ.Core/Data/Entities/EmailDelivery.cs @@ -1,189 +1,189 @@ using System; using System.Collections.Generic; + using MediatR.CommandQuery.Definitions; -namespace InstructorIQ.Core.Data.Entities +namespace InstructorIQ.Core.Data.Entities; + +/// +/// Entity class representing data for table 'EmailDelivery'. +/// +public partial class EmailDelivery : IHaveIdentifier, ITrackCreated, ITrackUpdated { /// - /// Entity class representing data for table 'EmailDelivery'. + /// Initializes a new instance of the class. /// - public partial class EmailDelivery : IHaveIdentifier, ITrackCreated, ITrackUpdated + public EmailDelivery() { - /// - /// Initializes a new instance of the class. - /// - public EmailDelivery() - { - #region Generated Constructor - #endregion - } - - #region Generated Properties - /// - /// Gets or sets the property value representing column 'Id'. - /// - /// - /// The property value representing column 'Id'. - /// - public Guid Id { get; set; } - - /// - /// Gets or sets the property value representing column 'IsProcessing'. - /// - /// - /// The property value representing column 'IsProcessing'. - /// - public bool IsProcessing { get; set; } - - /// - /// Gets or sets the property value representing column 'IsDelivered'. - /// - /// - /// The property value representing column 'IsDelivered'. - /// - public bool IsDelivered { get; set; } - - /// - /// Gets or sets the property value representing column 'Delivered'. - /// - /// - /// The property value representing column 'Delivered'. - /// - public DateTimeOffset? Delivered { get; set; } - - /// - /// Gets or sets the property value representing column 'Attempts'. - /// - /// - /// The property value representing column 'Attempts'. - /// - public int Attempts { get; set; } - - /// - /// Gets or sets the property value representing column 'LastAttempt'. - /// - /// - /// The property value representing column 'LastAttempt'. - /// - public DateTimeOffset? LastAttempt { get; set; } - - /// - /// Gets or sets the property value representing column 'NextAttempt'. - /// - /// - /// The property value representing column 'NextAttempt'. - /// - public DateTimeOffset? NextAttempt { get; set; } - - /// - /// Gets or sets the property value representing column 'SmtpLog'. - /// - /// - /// The property value representing column 'SmtpLog'. - /// - public string SmtpLog { get; set; } - - /// - /// Gets or sets the property value representing column 'Error'. - /// - /// - /// The property value representing column 'Error'. - /// - public string Error { get; set; } - - /// - /// Gets or sets the property value representing column 'From'. - /// - /// - /// The property value representing column 'From'. - /// - public string From { get; set; } - - /// - /// Gets or sets the property value representing column 'To'. - /// - /// - /// The property value representing column 'To'. - /// - public string To { get; set; } - - /// - /// Gets or sets the property value representing column 'Subject'. - /// - /// - /// The property value representing column 'Subject'. - /// - public string Subject { get; set; } - - /// - /// Gets or sets the property value representing column 'MimeMessage'. - /// - /// - /// The property value representing column 'MimeMessage'. - /// - public Byte[] MimeMessage { get; set; } - - /// - /// Gets or sets the property value representing column 'TenantId'. - /// - /// - /// The property value representing column 'TenantId'. - /// - public Guid? TenantId { get; set; } - - /// - /// Gets or sets the property value representing column 'Created'. - /// - /// - /// The property value representing column 'Created'. - /// - public DateTimeOffset Created { get; set; } - - /// - /// Gets or sets the property value representing column 'CreatedBy'. - /// - /// - /// The property value representing column 'CreatedBy'. - /// - public string CreatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'Updated'. - /// - /// - /// The property value representing column 'Updated'. - /// - public DateTimeOffset Updated { get; set; } - - /// - /// Gets or sets the property value representing column 'UpdatedBy'. - /// - /// - /// The property value representing column 'UpdatedBy'. - /// - public string UpdatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'RowVersion'. - /// - /// - /// The property value representing column 'RowVersion'. - /// - public Byte[] RowVersion { get; set; } - + #region Generated Constructor #endregion + } - #region Generated Relationships - /// - /// Gets or sets the navigation property for entity . - /// - /// - /// The the navigation property for entity . - /// - /// - public virtual Tenant Tenant { get; set; } + #region Generated Properties + /// + /// Gets or sets the property value representing column 'Id'. + /// + /// + /// The property value representing column 'Id'. + /// + public Guid Id { get; set; } - #endregion + /// + /// Gets or sets the property value representing column 'IsProcessing'. + /// + /// + /// The property value representing column 'IsProcessing'. + /// + public bool IsProcessing { get; set; } + + /// + /// Gets or sets the property value representing column 'IsDelivered'. + /// + /// + /// The property value representing column 'IsDelivered'. + /// + public bool IsDelivered { get; set; } + + /// + /// Gets or sets the property value representing column 'Delivered'. + /// + /// + /// The property value representing column 'Delivered'. + /// + public DateTimeOffset? Delivered { get; set; } + + /// + /// Gets or sets the property value representing column 'Attempts'. + /// + /// + /// The property value representing column 'Attempts'. + /// + public int Attempts { get; set; } + + /// + /// Gets or sets the property value representing column 'LastAttempt'. + /// + /// + /// The property value representing column 'LastAttempt'. + /// + public DateTimeOffset? LastAttempt { get; set; } + + /// + /// Gets or sets the property value representing column 'NextAttempt'. + /// + /// + /// The property value representing column 'NextAttempt'. + /// + public DateTimeOffset? NextAttempt { get; set; } + + /// + /// Gets or sets the property value representing column 'SmtpLog'. + /// + /// + /// The property value representing column 'SmtpLog'. + /// + public string SmtpLog { get; set; } + + /// + /// Gets or sets the property value representing column 'Error'. + /// + /// + /// The property value representing column 'Error'. + /// + public string Error { get; set; } + + /// + /// Gets or sets the property value representing column 'From'. + /// + /// + /// The property value representing column 'From'. + /// + public string From { get; set; } + + /// + /// Gets or sets the property value representing column 'To'. + /// + /// + /// The property value representing column 'To'. + /// + public string To { get; set; } + + /// + /// Gets or sets the property value representing column 'Subject'. + /// + /// + /// The property value representing column 'Subject'. + /// + public string Subject { get; set; } + + /// + /// Gets or sets the property value representing column 'MimeMessage'. + /// + /// + /// The property value representing column 'MimeMessage'. + /// + public Byte[] MimeMessage { get; set; } + + /// + /// Gets or sets the property value representing column 'TenantId'. + /// + /// + /// The property value representing column 'TenantId'. + /// + public Guid? TenantId { get; set; } + + /// + /// Gets or sets the property value representing column 'Created'. + /// + /// + /// The property value representing column 'Created'. + /// + public DateTimeOffset Created { get; set; } + + /// + /// Gets or sets the property value representing column 'CreatedBy'. + /// + /// + /// The property value representing column 'CreatedBy'. + /// + public string CreatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'Updated'. + /// + /// + /// The property value representing column 'Updated'. + /// + public DateTimeOffset Updated { get; set; } + + /// + /// Gets or sets the property value representing column 'UpdatedBy'. + /// + /// + /// The property value representing column 'UpdatedBy'. + /// + public string UpdatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'RowVersion'. + /// + /// + /// The property value representing column 'RowVersion'. + /// + public Byte[] RowVersion { get; set; } + + #endregion + + #region Generated Relationships + /// + /// Gets or sets the navigation property for entity . + /// + /// + /// The the navigation property for entity . + /// + /// + public virtual Tenant Tenant { get; set; } + + #endregion - } } diff --git a/service/src/InstructorIQ.Core/Data/Entities/EmailTemplate.cs b/service/src/InstructorIQ.Core/Data/Entities/EmailTemplate.cs index d73e1789..d3c6d61e 100644 --- a/service/src/InstructorIQ.Core/Data/Entities/EmailTemplate.cs +++ b/service/src/InstructorIQ.Core/Data/Entities/EmailTemplate.cs @@ -1,158 +1,159 @@ using System; using System.Collections.Generic; + using InstructorIQ.Core.Services; + using MediatR.CommandQuery.Definitions; -namespace InstructorIQ.Core.Data.Entities +namespace InstructorIQ.Core.Data.Entities; + +/// +/// Entity class representing data for table 'EmailTemplate'. +/// +public class EmailTemplate : IHaveIdentifier, ITrackCreated, ITrackUpdated, IEmailTemplate { /// - /// Entity class representing data for table 'EmailTemplate'. + /// Initializes a new instance of the class. /// - public class EmailTemplate : IHaveIdentifier, ITrackCreated, ITrackUpdated, IEmailTemplate + public EmailTemplate() { - /// - /// Initializes a new instance of the class. - /// - public EmailTemplate() - { - #region Generated Constructor - #endregion - } - - #region Generated Properties - /// - /// Gets or sets the property value representing column 'Id'. - /// - /// - /// The property value representing column 'Id'. - /// - public Guid Id { get; set; } - - /// - /// Gets or sets the property value representing column 'Key'. - /// - /// - /// The property value representing column 'Key'. - /// - public string Key { get; set; } - - /// - /// Gets or sets the property value representing column 'FromAddress'. - /// - /// - /// The property value representing column 'FromAddress'. - /// - public string FromAddress { get; set; } - - /// - /// Gets or sets the property value representing column 'FromName'. - /// - /// - /// The property value representing column 'FromName'. - /// - public string FromName { get; set; } - - /// - /// Gets or sets the property value representing column 'ReplyToAddress'. - /// - /// - /// The property value representing column 'ReplyToAddress'. - /// - public string ReplyToAddress { get; set; } - - /// - /// Gets or sets the property value representing column 'ReplyToName'. - /// - /// - /// The property value representing column 'ReplyToName'. - /// - public string ReplyToName { get; set; } - - /// - /// Gets or sets the property value representing column 'Subject'. - /// - /// - /// The property value representing column 'Subject'. - /// - public string Subject { get; set; } - - /// - /// Gets or sets the property value representing column 'TextBody'. - /// - /// - /// The property value representing column 'TextBody'. - /// - public string TextBody { get; set; } - - /// - /// Gets or sets the property value representing column 'HtmlBody'. - /// - /// - /// The property value representing column 'HtmlBody'. - /// - public string HtmlBody { get; set; } - - /// - /// Gets or sets the property value representing column 'TenantId'. - /// - /// - /// The property value representing column 'TenantId'. - /// - public Guid? TenantId { get; set; } - - /// - /// Gets or sets the property value representing column 'Created'. - /// - /// - /// The property value representing column 'Created'. - /// - public DateTimeOffset Created { get; set; } - - /// - /// Gets or sets the property value representing column 'CreatedBy'. - /// - /// - /// The property value representing column 'CreatedBy'. - /// - public string CreatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'Updated'. - /// - /// - /// The property value representing column 'Updated'. - /// - public DateTimeOffset Updated { get; set; } - - /// - /// Gets or sets the property value representing column 'UpdatedBy'. - /// - /// - /// The property value representing column 'UpdatedBy'. - /// - public string UpdatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'RowVersion'. - /// - /// - /// The property value representing column 'RowVersion'. - /// - public Byte[] RowVersion { get; set; } - + #region Generated Constructor #endregion + } + + #region Generated Properties + /// + /// Gets or sets the property value representing column 'Id'. + /// + /// + /// The property value representing column 'Id'. + /// + public Guid Id { get; set; } - #region Generated Relationships - /// - /// Gets or sets the navigation property for entity . - /// - /// - /// The the navigation property for entity . - /// - /// - public virtual Tenant Tenant { get; set; } + /// + /// Gets or sets the property value representing column 'Key'. + /// + /// + /// The property value representing column 'Key'. + /// + public string Key { get; set; } - #endregion + /// + /// Gets or sets the property value representing column 'FromAddress'. + /// + /// + /// The property value representing column 'FromAddress'. + /// + public string FromAddress { get; set; } + + /// + /// Gets or sets the property value representing column 'FromName'. + /// + /// + /// The property value representing column 'FromName'. + /// + public string FromName { get; set; } + + /// + /// Gets or sets the property value representing column 'ReplyToAddress'. + /// + /// + /// The property value representing column 'ReplyToAddress'. + /// + public string ReplyToAddress { get; set; } + + /// + /// Gets or sets the property value representing column 'ReplyToName'. + /// + /// + /// The property value representing column 'ReplyToName'. + /// + public string ReplyToName { get; set; } + + /// + /// Gets or sets the property value representing column 'Subject'. + /// + /// + /// The property value representing column 'Subject'. + /// + public string Subject { get; set; } + + /// + /// Gets or sets the property value representing column 'TextBody'. + /// + /// + /// The property value representing column 'TextBody'. + /// + public string TextBody { get; set; } + + /// + /// Gets or sets the property value representing column 'HtmlBody'. + /// + /// + /// The property value representing column 'HtmlBody'. + /// + public string HtmlBody { get; set; } + + /// + /// Gets or sets the property value representing column 'TenantId'. + /// + /// + /// The property value representing column 'TenantId'. + /// + public Guid? TenantId { get; set; } + + /// + /// Gets or sets the property value representing column 'Created'. + /// + /// + /// The property value representing column 'Created'. + /// + public DateTimeOffset Created { get; set; } + + /// + /// Gets or sets the property value representing column 'CreatedBy'. + /// + /// + /// The property value representing column 'CreatedBy'. + /// + public string CreatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'Updated'. + /// + /// + /// The property value representing column 'Updated'. + /// + public DateTimeOffset Updated { get; set; } + + /// + /// Gets or sets the property value representing column 'UpdatedBy'. + /// + /// + /// The property value representing column 'UpdatedBy'. + /// + public string UpdatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'RowVersion'. + /// + /// + /// The property value representing column 'RowVersion'. + /// + public Byte[] RowVersion { get; set; } + + #endregion + + #region Generated Relationships + /// + /// Gets or sets the navigation property for entity . + /// + /// + /// The the navigation property for entity . + /// + /// + public virtual Tenant Tenant { get; set; } + + #endregion - } } diff --git a/service/src/InstructorIQ.Core/Data/Entities/Group.cs b/service/src/InstructorIQ.Core/Data/Entities/Group.cs index b58dd1b5..1ac32432 100644 --- a/service/src/InstructorIQ.Core/Data/Entities/Group.cs +++ b/service/src/InstructorIQ.Core/Data/Entities/Group.cs @@ -1,150 +1,150 @@ using System; using System.Collections.Generic; + using MediatR.CommandQuery.Definitions; -namespace InstructorIQ.Core.Data.Entities +namespace InstructorIQ.Core.Data.Entities; + +/// +/// Entity class representing data for table 'Group'. +/// +public class Group : IHaveIdentifier, ITrackCreated, ITrackUpdated, IHaveTenant { /// - /// Entity class representing data for table 'Group'. + /// Initializes a new instance of the class. /// - public class Group : IHaveIdentifier, ITrackCreated, ITrackUpdated, IHaveTenant + public Group() { - /// - /// Initializes a new instance of the class. - /// - public Group() - { - #region Generated Constructor - Sessions = new HashSet(); - #endregion - } - - #region Generated Properties - /// - /// Gets or sets the property value representing column 'Id'. - /// - /// - /// The property value representing column 'Id'. - /// - public Guid Id { get; set; } - - /// - /// Gets or sets the property value representing column 'Name'. - /// - /// - /// The property value representing column 'Name'. - /// - public string Name { get; set; } - - /// - /// Gets or sets the property value representing column 'Description'. - /// - /// - /// The property value representing column 'Description'. - /// - public string Description { get; set; } - - /// - /// Gets or sets the property value representing column 'Sequence'. - /// - /// - /// The property value representing column 'Sequence'. - /// - public int Sequence { get; set; } - - /// - /// Gets or sets the property value representing column 'DisplayOrder'. - /// - /// - /// The property value representing column 'DisplayOrder'. - /// - public int DisplayOrder { get; set; } - - /// - /// Gets or sets the property value representing column 'TenantId'. - /// - /// - /// The property value representing column 'TenantId'. - /// - public Guid TenantId { get; set; } - - /// - /// Gets or sets the property value representing column 'Created'. - /// - /// - /// The property value representing column 'Created'. - /// - public DateTimeOffset Created { get; set; } - - /// - /// Gets or sets the property value representing column 'CreatedBy'. - /// - /// - /// The property value representing column 'CreatedBy'. - /// - public string CreatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'Updated'. - /// - /// - /// The property value representing column 'Updated'. - /// - public DateTimeOffset Updated { get; set; } - - /// - /// Gets or sets the property value representing column 'UpdatedBy'. - /// - /// - /// The property value representing column 'UpdatedBy'. - /// - public string UpdatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'RowVersion'. - /// - /// - /// The property value representing column 'RowVersion'. - /// - public Byte[] RowVersion { get; set; } - - /// - /// Gets or sets the property value representing column 'PeriodStart'. - /// - /// - /// The property value representing column 'PeriodStart'. - /// - public DateTime PeriodStart { get; set; } - - /// - /// Gets or sets the property value representing column 'PeriodEnd'. - /// - /// - /// The property value representing column 'PeriodEnd'. - /// - public DateTime PeriodEnd { get; set; } - + #region Generated Constructor + Sessions = new HashSet(); #endregion + } - #region Generated Relationships - /// - /// Gets or sets the navigation collection for entity . - /// - /// - /// The the navigation collection for entity . - /// - public virtual ICollection Sessions { get; set; } - - /// - /// Gets or sets the navigation property for entity . - /// - /// - /// The the navigation property for entity . - /// - /// - public virtual Tenant Tenant { get; set; } + #region Generated Properties + /// + /// Gets or sets the property value representing column 'Id'. + /// + /// + /// The property value representing column 'Id'. + /// + public Guid Id { get; set; } - #endregion + /// + /// Gets or sets the property value representing column 'Name'. + /// + /// + /// The property value representing column 'Name'. + /// + public string Name { get; set; } + + /// + /// Gets or sets the property value representing column 'Description'. + /// + /// + /// The property value representing column 'Description'. + /// + public string Description { get; set; } + + /// + /// Gets or sets the property value representing column 'Sequence'. + /// + /// + /// The property value representing column 'Sequence'. + /// + public int Sequence { get; set; } + + /// + /// Gets or sets the property value representing column 'DisplayOrder'. + /// + /// + /// The property value representing column 'DisplayOrder'. + /// + public int DisplayOrder { get; set; } + + /// + /// Gets or sets the property value representing column 'TenantId'. + /// + /// + /// The property value representing column 'TenantId'. + /// + public Guid TenantId { get; set; } + + /// + /// Gets or sets the property value representing column 'Created'. + /// + /// + /// The property value representing column 'Created'. + /// + public DateTimeOffset Created { get; set; } + + /// + /// Gets or sets the property value representing column 'CreatedBy'. + /// + /// + /// The property value representing column 'CreatedBy'. + /// + public string CreatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'Updated'. + /// + /// + /// The property value representing column 'Updated'. + /// + public DateTimeOffset Updated { get; set; } + + /// + /// Gets or sets the property value representing column 'UpdatedBy'. + /// + /// + /// The property value representing column 'UpdatedBy'. + /// + public string UpdatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'RowVersion'. + /// + /// + /// The property value representing column 'RowVersion'. + /// + public Byte[] RowVersion { get; set; } + + /// + /// Gets or sets the property value representing column 'PeriodStart'. + /// + /// + /// The property value representing column 'PeriodStart'. + /// + public DateTime PeriodStart { get; set; } + + /// + /// Gets or sets the property value representing column 'PeriodEnd'. + /// + /// + /// The property value representing column 'PeriodEnd'. + /// + public DateTime PeriodEnd { get; set; } + + #endregion + + #region Generated Relationships + /// + /// Gets or sets the navigation collection for entity . + /// + /// + /// The the navigation collection for entity . + /// + public virtual ICollection Sessions { get; set; } + + /// + /// Gets or sets the navigation property for entity . + /// + /// + /// The the navigation property for entity . + /// + /// + public virtual Tenant Tenant { get; set; } + + #endregion - } } diff --git a/service/src/InstructorIQ.Core/Data/Entities/HistoryRecord.cs b/service/src/InstructorIQ.Core/Data/Entities/HistoryRecord.cs index 51ab8ab9..a54664d4 100644 --- a/service/src/InstructorIQ.Core/Data/Entities/HistoryRecord.cs +++ b/service/src/InstructorIQ.Core/Data/Entities/HistoryRecord.cs @@ -1,204 +1,204 @@ using System; using System.Collections.Generic; + using MediatR.CommandQuery.Definitions; -namespace InstructorIQ.Core.Data.Entities +namespace InstructorIQ.Core.Data.Entities; + +/// +/// Entity class representing data for table 'HistoryRecord'. +/// +public partial class HistoryRecord : IHaveIdentifier, ITrackCreated, ITrackUpdated { /// - /// Entity class representing data for table 'HistoryRecord'. + /// Initializes a new instance of the class. /// - public partial class HistoryRecord : IHaveIdentifier, ITrackCreated, ITrackUpdated + public HistoryRecord() { - /// - /// Initializes a new instance of the class. - /// - public HistoryRecord() - { - #region Generated Constructor - #endregion - } - - #region Generated Properties - /// - /// Gets or sets the property value representing column 'Id'. - /// - /// - /// The property value representing column 'Id'. - /// - public Guid Id { get; set; } - - /// - /// Gets or sets the property value representing column 'Key'. - /// - /// - /// The property value representing column 'Key'. - /// - public Guid Key { get; set; } - - /// - /// Gets or sets the property value representing column 'Entity'. - /// - /// - /// The property value representing column 'Entity'. - /// - public string Entity { get; set; } - - /// - /// Gets or sets the property value representing column 'ParentKey'. - /// - /// - /// The property value representing column 'ParentKey'. - /// - public Guid? ParentKey { get; set; } - - /// - /// Gets or sets the property value representing column 'ParentEntity'. - /// - /// - /// The property value representing column 'ParentEntity'. - /// - public string ParentEntity { get; set; } - - /// - /// Gets or sets the property value representing column 'Changed'. - /// - /// - /// The property value representing column 'Changed'. - /// - public DateTimeOffset Changed { get; set; } - - /// - /// Gets or sets the property value representing column 'ChangedBy'. - /// - /// - /// The property value representing column 'ChangedBy'. - /// - public string ChangedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'PropertyName'. - /// - /// - /// The property value representing column 'PropertyName'. - /// - public string PropertyName { get; set; } - - /// - /// Gets or sets the property value representing column 'DisplayName'. - /// - /// - /// The property value representing column 'DisplayName'. - /// - public string DisplayName { get; set; } - - /// - /// Gets or sets the property value representing column 'Path'. - /// - /// - /// The property value representing column 'Path'. - /// - public string Path { get; set; } - - /// - /// Gets or sets the property value representing column 'Operation'. - /// - /// - /// The property value representing column 'Operation'. - /// - public string Operation { get; set; } - - /// - /// Gets or sets the property value representing column 'OriginalValue'. - /// - /// - /// The property value representing column 'OriginalValue'. - /// - public string OriginalValue { get; set; } - - /// - /// Gets or sets the property value representing column 'OriginalFormatted'. - /// - /// - /// The property value representing column 'OriginalFormatted'. - /// - public string OriginalFormatted { get; set; } - - /// - /// Gets or sets the property value representing column 'OriginalType'. - /// - /// - /// The property value representing column 'OriginalType'. - /// - public string OriginalType { get; set; } - - /// - /// Gets or sets the property value representing column 'CurrentValue'. - /// - /// - /// The property value representing column 'CurrentValue'. - /// - public string CurrentValue { get; set; } - - /// - /// Gets or sets the property value representing column 'CurrentFormatted'. - /// - /// - /// The property value representing column 'CurrentFormatted'. - /// - public string CurrentFormatted { get; set; } - - /// - /// Gets or sets the property value representing column 'CurrentType'. - /// - /// - /// The property value representing column 'CurrentType'. - /// - public string CurrentType { get; set; } - - /// - /// Gets or sets the property value representing column 'Created'. - /// - /// - /// The property value representing column 'Created'. - /// - public DateTimeOffset Created { get; set; } - - /// - /// Gets or sets the property value representing column 'CreatedBy'. - /// - /// - /// The property value representing column 'CreatedBy'. - /// - public string CreatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'Updated'. - /// - /// - /// The property value representing column 'Updated'. - /// - public DateTimeOffset Updated { get; set; } - - /// - /// Gets or sets the property value representing column 'UpdatedBy'. - /// - /// - /// The property value representing column 'UpdatedBy'. - /// - public string UpdatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'RowVersion'. - /// - /// - /// The property value representing column 'RowVersion'. - /// - public Byte[] RowVersion { get; set; } - + #region Generated Constructor #endregion + } - #region Generated Relationships - #endregion + #region Generated Properties + /// + /// Gets or sets the property value representing column 'Id'. + /// + /// + /// The property value representing column 'Id'. + /// + public Guid Id { get; set; } + + /// + /// Gets or sets the property value representing column 'Key'. + /// + /// + /// The property value representing column 'Key'. + /// + public Guid Key { get; set; } + + /// + /// Gets or sets the property value representing column 'Entity'. + /// + /// + /// The property value representing column 'Entity'. + /// + public string Entity { get; set; } + + /// + /// Gets or sets the property value representing column 'ParentKey'. + /// + /// + /// The property value representing column 'ParentKey'. + /// + public Guid? ParentKey { get; set; } + + /// + /// Gets or sets the property value representing column 'ParentEntity'. + /// + /// + /// The property value representing column 'ParentEntity'. + /// + public string ParentEntity { get; set; } + + /// + /// Gets or sets the property value representing column 'Changed'. + /// + /// + /// The property value representing column 'Changed'. + /// + public DateTimeOffset Changed { get; set; } + + /// + /// Gets or sets the property value representing column 'ChangedBy'. + /// + /// + /// The property value representing column 'ChangedBy'. + /// + public string ChangedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'PropertyName'. + /// + /// + /// The property value representing column 'PropertyName'. + /// + public string PropertyName { get; set; } + + /// + /// Gets or sets the property value representing column 'DisplayName'. + /// + /// + /// The property value representing column 'DisplayName'. + /// + public string DisplayName { get; set; } + + /// + /// Gets or sets the property value representing column 'Path'. + /// + /// + /// The property value representing column 'Path'. + /// + public string Path { get; set; } + + /// + /// Gets or sets the property value representing column 'Operation'. + /// + /// + /// The property value representing column 'Operation'. + /// + public string Operation { get; set; } + + /// + /// Gets or sets the property value representing column 'OriginalValue'. + /// + /// + /// The property value representing column 'OriginalValue'. + /// + public string OriginalValue { get; set; } + + /// + /// Gets or sets the property value representing column 'OriginalFormatted'. + /// + /// + /// The property value representing column 'OriginalFormatted'. + /// + public string OriginalFormatted { get; set; } + + /// + /// Gets or sets the property value representing column 'OriginalType'. + /// + /// + /// The property value representing column 'OriginalType'. + /// + public string OriginalType { get; set; } + + /// + /// Gets or sets the property value representing column 'CurrentValue'. + /// + /// + /// The property value representing column 'CurrentValue'. + /// + public string CurrentValue { get; set; } + + /// + /// Gets or sets the property value representing column 'CurrentFormatted'. + /// + /// + /// The property value representing column 'CurrentFormatted'. + /// + public string CurrentFormatted { get; set; } + + /// + /// Gets or sets the property value representing column 'CurrentType'. + /// + /// + /// The property value representing column 'CurrentType'. + /// + public string CurrentType { get; set; } + + /// + /// Gets or sets the property value representing column 'Created'. + /// + /// + /// The property value representing column 'Created'. + /// + public DateTimeOffset Created { get; set; } + + /// + /// Gets or sets the property value representing column 'CreatedBy'. + /// + /// + /// The property value representing column 'CreatedBy'. + /// + public string CreatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'Updated'. + /// + /// + /// The property value representing column 'Updated'. + /// + public DateTimeOffset Updated { get; set; } + + /// + /// Gets or sets the property value representing column 'UpdatedBy'. + /// + /// + /// The property value representing column 'UpdatedBy'. + /// + public string UpdatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'RowVersion'. + /// + /// + /// The property value representing column 'RowVersion'. + /// + public Byte[] RowVersion { get; set; } + + #endregion + + #region Generated Relationships + #endregion - } } diff --git a/service/src/InstructorIQ.Core/Data/Entities/ImportJob.cs b/service/src/InstructorIQ.Core/Data/Entities/ImportJob.cs index 49823389..a797879f 100644 --- a/service/src/InstructorIQ.Core/Data/Entities/ImportJob.cs +++ b/service/src/InstructorIQ.Core/Data/Entities/ImportJob.cs @@ -1,116 +1,115 @@ using System; using System.Collections.Generic; -namespace InstructorIQ.Core.Data.Entities +namespace InstructorIQ.Core.Data.Entities; + +/// +/// Entity class representing data for table 'ImportJob'. +/// +public partial class ImportJob { /// - /// Entity class representing data for table 'ImportJob'. + /// Initializes a new instance of the class. /// - public partial class ImportJob + public ImportJob() { - /// - /// Initializes a new instance of the class. - /// - public ImportJob() - { - #region Generated Constructor - #endregion - } - - #region Generated Properties - /// - /// Gets or sets the property value representing column 'Id'. - /// - /// - /// The property value representing column 'Id'. - /// - public Guid Id { get; set; } - - /// - /// Gets or sets the property value representing column 'Type'. - /// - /// - /// The property value representing column 'Type'. - /// - public string Type { get; set; } - - /// - /// Gets or sets the property value representing column 'TenantId'. - /// - /// - /// The property value representing column 'TenantId'. - /// - public Guid TenantId { get; set; } - - /// - /// Gets or sets the property value representing column 'MappingJson'. - /// - /// - /// The property value representing column 'MappingJson'. - /// - public string MappingJson { get; set; } - - /// - /// Gets or sets the property value representing column 'StorageFile'. - /// - /// - /// The property value representing column 'StorageFile'. - /// - public string StorageFile { get; set; } - - /// - /// Gets or sets the property value representing column 'Created'. - /// - /// - /// The property value representing column 'Created'. - /// - public DateTimeOffset Created { get; set; } - - /// - /// Gets or sets the property value representing column 'CreatedBy'. - /// - /// - /// The property value representing column 'CreatedBy'. - /// - public string CreatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'Updated'. - /// - /// - /// The property value representing column 'Updated'. - /// - public DateTimeOffset Updated { get; set; } - - /// - /// Gets or sets the property value representing column 'UpdatedBy'. - /// - /// - /// The property value representing column 'UpdatedBy'. - /// - public string UpdatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'RowVersion'. - /// - /// - /// The property value representing column 'RowVersion'. - /// - public Byte[] RowVersion { get; set; } - + #region Generated Constructor #endregion + } - #region Generated Relationships - /// - /// Gets or sets the navigation property for entity . - /// - /// - /// The the navigation property for entity . - /// - /// - public virtual Tenant Tenant { get; set; } + #region Generated Properties + /// + /// Gets or sets the property value representing column 'Id'. + /// + /// + /// The property value representing column 'Id'. + /// + public Guid Id { get; set; } - #endregion + /// + /// Gets or sets the property value representing column 'Type'. + /// + /// + /// The property value representing column 'Type'. + /// + public string Type { get; set; } + + /// + /// Gets or sets the property value representing column 'TenantId'. + /// + /// + /// The property value representing column 'TenantId'. + /// + public Guid TenantId { get; set; } + + /// + /// Gets or sets the property value representing column 'MappingJson'. + /// + /// + /// The property value representing column 'MappingJson'. + /// + public string MappingJson { get; set; } + + /// + /// Gets or sets the property value representing column 'StorageFile'. + /// + /// + /// The property value representing column 'StorageFile'. + /// + public string StorageFile { get; set; } + + /// + /// Gets or sets the property value representing column 'Created'. + /// + /// + /// The property value representing column 'Created'. + /// + public DateTimeOffset Created { get; set; } + + /// + /// Gets or sets the property value representing column 'CreatedBy'. + /// + /// + /// The property value representing column 'CreatedBy'. + /// + public string CreatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'Updated'. + /// + /// + /// The property value representing column 'Updated'. + /// + public DateTimeOffset Updated { get; set; } + + /// + /// Gets or sets the property value representing column 'UpdatedBy'. + /// + /// + /// The property value representing column 'UpdatedBy'. + /// + public string UpdatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'RowVersion'. + /// + /// + /// The property value representing column 'RowVersion'. + /// + public Byte[] RowVersion { get; set; } + + #endregion + + #region Generated Relationships + /// + /// Gets or sets the navigation property for entity . + /// + /// + /// The the navigation property for entity . + /// + /// + public virtual Tenant Tenant { get; set; } + + #endregion - } } diff --git a/service/src/InstructorIQ.Core/Data/Entities/InstructorRole.cs b/service/src/InstructorIQ.Core/Data/Entities/InstructorRole.cs index 2691661e..bac1c3a6 100644 --- a/service/src/InstructorIQ.Core/Data/Entities/InstructorRole.cs +++ b/service/src/InstructorIQ.Core/Data/Entities/InstructorRole.cs @@ -1,127 +1,127 @@ using System; using System.Collections.Generic; + using MediatR.CommandQuery.Definitions; -namespace InstructorIQ.Core.Data.Entities +namespace InstructorIQ.Core.Data.Entities; + +/// +/// Entity class representing data for table 'InstructorRole'. +/// +public class InstructorRole : IHaveIdentifier, ITrackCreated, ITrackUpdated, IHaveTenant { /// - /// Entity class representing data for table 'InstructorRole'. + /// Initializes a new instance of the class. /// - public class InstructorRole : IHaveIdentifier, ITrackCreated, ITrackUpdated, IHaveTenant + public InstructorRole() { - /// - /// Initializes a new instance of the class. - /// - public InstructorRole() - { - #region Generated Constructor - SessionInstructors = new HashSet(); - TopicInstructors = new HashSet(); - #endregion - } - - #region Generated Properties - /// - /// Gets or sets the property value representing column 'Id'. - /// - /// - /// The property value representing column 'Id'. - /// - public Guid Id { get; set; } - - /// - /// Gets or sets the property value representing column 'Name'. - /// - /// - /// The property value representing column 'Name'. - /// - public string Name { get; set; } - - /// - /// Gets or sets the property value representing column 'Description'. - /// - /// - /// The property value representing column 'Description'. - /// - public string Description { get; set; } - - /// - /// Gets or sets the property value representing column 'TenantId'. - /// - /// - /// The property value representing column 'TenantId'. - /// - public Guid TenantId { get; set; } - - /// - /// Gets or sets the property value representing column 'Created'. - /// - /// - /// The property value representing column 'Created'. - /// - public DateTimeOffset Created { get; set; } - - /// - /// Gets or sets the property value representing column 'CreatedBy'. - /// - /// - /// The property value representing column 'CreatedBy'. - /// - public string CreatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'Updated'. - /// - /// - /// The property value representing column 'Updated'. - /// - public DateTimeOffset Updated { get; set; } - - /// - /// Gets or sets the property value representing column 'UpdatedBy'. - /// - /// - /// The property value representing column 'UpdatedBy'. - /// - public string UpdatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'RowVersion'. - /// - /// - /// The property value representing column 'RowVersion'. - /// - public Byte[] RowVersion { get; set; } - + #region Generated Constructor + SessionInstructors = new HashSet(); + TopicInstructors = new HashSet(); #endregion + } - #region Generated Relationships - /// - /// Gets or sets the navigation collection for entity . - /// - /// - /// The the navigation collection for entity . - /// - public virtual ICollection SessionInstructors { get; set; } - - /// - /// Gets or sets the navigation property for entity . - /// - /// - /// The the navigation property for entity . - /// - /// - public virtual Tenant Tenant { get; set; } - - /// - /// Gets or sets the navigation collection for entity . - /// - /// - /// The the navigation collection for entity . - /// - public virtual ICollection TopicInstructors { get; set; } + #region Generated Properties + /// + /// Gets or sets the property value representing column 'Id'. + /// + /// + /// The property value representing column 'Id'. + /// + public Guid Id { get; set; } - #endregion + /// + /// Gets or sets the property value representing column 'Name'. + /// + /// + /// The property value representing column 'Name'. + /// + public string Name { get; set; } + + /// + /// Gets or sets the property value representing column 'Description'. + /// + /// + /// The property value representing column 'Description'. + /// + public string Description { get; set; } + + /// + /// Gets or sets the property value representing column 'TenantId'. + /// + /// + /// The property value representing column 'TenantId'. + /// + public Guid TenantId { get; set; } + + /// + /// Gets or sets the property value representing column 'Created'. + /// + /// + /// The property value representing column 'Created'. + /// + public DateTimeOffset Created { get; set; } + + /// + /// Gets or sets the property value representing column 'CreatedBy'. + /// + /// + /// The property value representing column 'CreatedBy'. + /// + public string CreatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'Updated'. + /// + /// + /// The property value representing column 'Updated'. + /// + public DateTimeOffset Updated { get; set; } + + /// + /// Gets or sets the property value representing column 'UpdatedBy'. + /// + /// + /// The property value representing column 'UpdatedBy'. + /// + public string UpdatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'RowVersion'. + /// + /// + /// The property value representing column 'RowVersion'. + /// + public Byte[] RowVersion { get; set; } + + #endregion + + #region Generated Relationships + /// + /// Gets or sets the navigation collection for entity . + /// + /// + /// The the navigation collection for entity . + /// + public virtual ICollection SessionInstructors { get; set; } + + /// + /// Gets or sets the navigation property for entity . + /// + /// + /// The the navigation property for entity . + /// + /// + public virtual Tenant Tenant { get; set; } + + /// + /// Gets or sets the navigation collection for entity . + /// + /// + /// The the navigation collection for entity . + /// + public virtual ICollection TopicInstructors { get; set; } + + #endregion - } } diff --git a/service/src/InstructorIQ.Core/Data/Entities/LinkToken.cs b/service/src/InstructorIQ.Core/Data/Entities/LinkToken.cs index 7bdd04ef..a8834467 100644 --- a/service/src/InstructorIQ.Core/Data/Entities/LinkToken.cs +++ b/service/src/InstructorIQ.Core/Data/Entities/LinkToken.cs @@ -1,100 +1,99 @@ using System; using System.Collections.Generic; -namespace InstructorIQ.Core.Data.Entities +namespace InstructorIQ.Core.Data.Entities; + +/// +/// Entity class representing data for table 'LinkToken'. +/// +public partial class LinkToken { /// - /// Entity class representing data for table 'LinkToken'. + /// Initializes a new instance of the class. /// - public partial class LinkToken + public LinkToken() { - /// - /// Initializes a new instance of the class. - /// - public LinkToken() - { - #region Generated Constructor - #endregion - } + #region Generated Constructor + #endregion + } - #region Generated Properties - /// - /// Gets or sets the property value representing column 'Id'. - /// - /// - /// The property value representing column 'Id'. - /// - public Guid Id { get; set; } + #region Generated Properties + /// + /// Gets or sets the property value representing column 'Id'. + /// + /// + /// The property value representing column 'Id'. + /// + public Guid Id { get; set; } - /// - /// Gets or sets the property value representing column 'TokenHash'. - /// - /// - /// The property value representing column 'TokenHash'. - /// - public string TokenHash { get; set; } + /// + /// Gets or sets the property value representing column 'TokenHash'. + /// + /// + /// The property value representing column 'TokenHash'. + /// + public string TokenHash { get; set; } - /// - /// Gets or sets the property value representing column 'UserName'. - /// - /// - /// The property value representing column 'UserName'. - /// - public string UserName { get; set; } + /// + /// Gets or sets the property value representing column 'UserName'. + /// + /// + /// The property value representing column 'UserName'. + /// + public string UserName { get; set; } - /// - /// Gets or sets the property value representing column 'Url'. - /// - /// - /// The property value representing column 'Url'. - /// - public string Url { get; set; } + /// + /// Gets or sets the property value representing column 'Url'. + /// + /// + /// The property value representing column 'Url'. + /// + public string Url { get; set; } - /// - /// Gets or sets the property value representing column 'TenantId'. - /// - /// - /// The property value representing column 'TenantId'. - /// - public Guid? TenantId { get; set; } + /// + /// Gets or sets the property value representing column 'TenantId'. + /// + /// + /// The property value representing column 'TenantId'. + /// + public Guid? TenantId { get; set; } - /// - /// Gets or sets the property value representing column 'Issued'. - /// - /// - /// The property value representing column 'Issued'. - /// - public DateTimeOffset Issued { get; set; } + /// + /// Gets or sets the property value representing column 'Issued'. + /// + /// + /// The property value representing column 'Issued'. + /// + public DateTimeOffset Issued { get; set; } - /// - /// Gets or sets the property value representing column 'Used'. - /// - /// - /// The property value representing column 'Used'. - /// - public DateTimeOffset? Used { get; set; } + /// + /// Gets or sets the property value representing column 'Used'. + /// + /// + /// The property value representing column 'Used'. + /// + public DateTimeOffset? Used { get; set; } - /// - /// Gets or sets the property value representing column 'Expires'. - /// - /// - /// The property value representing column 'Expires'. - /// - public DateTimeOffset? Expires { get; set; } + /// + /// Gets or sets the property value representing column 'Expires'. + /// + /// + /// The property value representing column 'Expires'. + /// + public DateTimeOffset? Expires { get; set; } - #endregion + #endregion - #region Generated Relationships - /// - /// Gets or sets the navigation property for entity . - /// - /// - /// The the navigation property for entity . - /// - /// - public virtual Tenant Tenant { get; set; } + #region Generated Relationships + /// + /// Gets or sets the navigation property for entity . + /// + /// + /// The the navigation property for entity . + /// + /// + public virtual Tenant Tenant { get; set; } - #endregion + #endregion - } } diff --git a/service/src/InstructorIQ.Core/Data/Entities/Location.cs b/service/src/InstructorIQ.Core/Data/Entities/Location.cs index 3d944329..3d51c858 100644 --- a/service/src/InstructorIQ.Core/Data/Entities/Location.cs +++ b/service/src/InstructorIQ.Core/Data/Entities/Location.cs @@ -1,222 +1,222 @@ using System; using System.Collections.Generic; + using MediatR.CommandQuery.Definitions; -namespace InstructorIQ.Core.Data.Entities +namespace InstructorIQ.Core.Data.Entities; + +/// +/// Entity class representing data for table 'Location'. +/// +public class Location : IHaveIdentifier, ITrackCreated, ITrackUpdated, IHaveTenant { /// - /// Entity class representing data for table 'Location'. + /// Initializes a new instance of the class. /// - public class Location : IHaveIdentifier, ITrackCreated, ITrackUpdated, IHaveTenant + public Location() { - /// - /// Initializes a new instance of the class. - /// - public Location() - { - #region Generated Constructor - Sessions = new HashSet(); - #endregion - } - - #region Generated Properties - /// - /// Gets or sets the property value representing column 'Id'. - /// - /// - /// The property value representing column 'Id'. - /// - public Guid Id { get; set; } - - /// - /// Gets or sets the property value representing column 'Name'. - /// - /// - /// The property value representing column 'Name'. - /// - public string Name { get; set; } - - /// - /// Gets or sets the property value representing column 'Description'. - /// - /// - /// The property value representing column 'Description'. - /// - public string Description { get; set; } - - /// - /// Gets or sets the property value representing column 'AddressLine1'. - /// - /// - /// The property value representing column 'AddressLine1'. - /// - public string AddressLine1 { get; set; } - - /// - /// Gets or sets the property value representing column 'AddressLine2'. - /// - /// - /// The property value representing column 'AddressLine2'. - /// - public string AddressLine2 { get; set; } - - /// - /// Gets or sets the property value representing column 'AddressLine3'. - /// - /// - /// The property value representing column 'AddressLine3'. - /// - public string AddressLine3 { get; set; } - - /// - /// Gets or sets the property value representing column 'City'. - /// - /// - /// The property value representing column 'City'. - /// - public string City { get; set; } - - /// - /// Gets or sets the property value representing column 'StateProvince'. - /// - /// - /// The property value representing column 'StateProvince'. - /// - public string StateProvince { get; set; } - - /// - /// Gets or sets the property value representing column 'PostalCode'. - /// - /// - /// The property value representing column 'PostalCode'. - /// - public string PostalCode { get; set; } - - /// - /// Gets or sets the property value representing column 'ContactName'. - /// - /// - /// The property value representing column 'ContactName'. - /// - public string ContactName { get; set; } - - /// - /// Gets or sets the property value representing column 'ContactEmail'. - /// - /// - /// The property value representing column 'ContactEmail'. - /// - public string ContactEmail { get; set; } - - /// - /// Gets or sets the property value representing column 'ContactPhone'. - /// - /// - /// The property value representing column 'ContactPhone'. - /// - public string ContactPhone { get; set; } - - /// - /// Gets or sets the property value representing column 'Latitude'. - /// - /// - /// The property value representing column 'Latitude'. - /// - public decimal? Latitude { get; set; } - - /// - /// Gets or sets the property value representing column 'Longitude'. - /// - /// - /// The property value representing column 'Longitude'. - /// - public decimal? Longitude { get; set; } - - /// - /// Gets or sets the property value representing column 'TenantId'. - /// - /// - /// The property value representing column 'TenantId'. - /// - public Guid TenantId { get; set; } - - /// - /// Gets or sets the property value representing column 'Created'. - /// - /// - /// The property value representing column 'Created'. - /// - public DateTimeOffset Created { get; set; } - - /// - /// Gets or sets the property value representing column 'CreatedBy'. - /// - /// - /// The property value representing column 'CreatedBy'. - /// - public string CreatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'Updated'. - /// - /// - /// The property value representing column 'Updated'. - /// - public DateTimeOffset Updated { get; set; } - - /// - /// Gets or sets the property value representing column 'UpdatedBy'. - /// - /// - /// The property value representing column 'UpdatedBy'. - /// - public string UpdatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'RowVersion'. - /// - /// - /// The property value representing column 'RowVersion'. - /// - public Byte[] RowVersion { get; set; } - - /// - /// Gets or sets the property value representing column 'PeriodStart'. - /// - /// - /// The property value representing column 'PeriodStart'. - /// - public DateTime PeriodStart { get; set; } - - /// - /// Gets or sets the property value representing column 'PeriodEnd'. - /// - /// - /// The property value representing column 'PeriodEnd'. - /// - public DateTime PeriodEnd { get; set; } - + #region Generated Constructor + Sessions = new HashSet(); #endregion + } - #region Generated Relationships - /// - /// Gets or sets the navigation collection for entity . - /// - /// - /// The the navigation collection for entity . - /// - public virtual ICollection Sessions { get; set; } - - /// - /// Gets or sets the navigation property for entity . - /// - /// - /// The the navigation property for entity . - /// - /// - public virtual Tenant Tenant { get; set; } + #region Generated Properties + /// + /// Gets or sets the property value representing column 'Id'. + /// + /// + /// The property value representing column 'Id'. + /// + public Guid Id { get; set; } - #endregion + /// + /// Gets or sets the property value representing column 'Name'. + /// + /// + /// The property value representing column 'Name'. + /// + public string Name { get; set; } + + /// + /// Gets or sets the property value representing column 'Description'. + /// + /// + /// The property value representing column 'Description'. + /// + public string Description { get; set; } + + /// + /// Gets or sets the property value representing column 'AddressLine1'. + /// + /// + /// The property value representing column 'AddressLine1'. + /// + public string AddressLine1 { get; set; } + + /// + /// Gets or sets the property value representing column 'AddressLine2'. + /// + /// + /// The property value representing column 'AddressLine2'. + /// + public string AddressLine2 { get; set; } + + /// + /// Gets or sets the property value representing column 'AddressLine3'. + /// + /// + /// The property value representing column 'AddressLine3'. + /// + public string AddressLine3 { get; set; } + + /// + /// Gets or sets the property value representing column 'City'. + /// + /// + /// The property value representing column 'City'. + /// + public string City { get; set; } + + /// + /// Gets or sets the property value representing column 'StateProvince'. + /// + /// + /// The property value representing column 'StateProvince'. + /// + public string StateProvince { get; set; } + + /// + /// Gets or sets the property value representing column 'PostalCode'. + /// + /// + /// The property value representing column 'PostalCode'. + /// + public string PostalCode { get; set; } + + /// + /// Gets or sets the property value representing column 'ContactName'. + /// + /// + /// The property value representing column 'ContactName'. + /// + public string ContactName { get; set; } + + /// + /// Gets or sets the property value representing column 'ContactEmail'. + /// + /// + /// The property value representing column 'ContactEmail'. + /// + public string ContactEmail { get; set; } + + /// + /// Gets or sets the property value representing column 'ContactPhone'. + /// + /// + /// The property value representing column 'ContactPhone'. + /// + public string ContactPhone { get; set; } + + /// + /// Gets or sets the property value representing column 'Latitude'. + /// + /// + /// The property value representing column 'Latitude'. + /// + public decimal? Latitude { get; set; } + + /// + /// Gets or sets the property value representing column 'Longitude'. + /// + /// + /// The property value representing column 'Longitude'. + /// + public decimal? Longitude { get; set; } + + /// + /// Gets or sets the property value representing column 'TenantId'. + /// + /// + /// The property value representing column 'TenantId'. + /// + public Guid TenantId { get; set; } + + /// + /// Gets or sets the property value representing column 'Created'. + /// + /// + /// The property value representing column 'Created'. + /// + public DateTimeOffset Created { get; set; } + + /// + /// Gets or sets the property value representing column 'CreatedBy'. + /// + /// + /// The property value representing column 'CreatedBy'. + /// + public string CreatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'Updated'. + /// + /// + /// The property value representing column 'Updated'. + /// + public DateTimeOffset Updated { get; set; } + + /// + /// Gets or sets the property value representing column 'UpdatedBy'. + /// + /// + /// The property value representing column 'UpdatedBy'. + /// + public string UpdatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'RowVersion'. + /// + /// + /// The property value representing column 'RowVersion'. + /// + public Byte[] RowVersion { get; set; } + + /// + /// Gets or sets the property value representing column 'PeriodStart'. + /// + /// + /// The property value representing column 'PeriodStart'. + /// + public DateTime PeriodStart { get; set; } + + /// + /// Gets or sets the property value representing column 'PeriodEnd'. + /// + /// + /// The property value representing column 'PeriodEnd'. + /// + public DateTime PeriodEnd { get; set; } + + #endregion + + #region Generated Relationships + /// + /// Gets or sets the navigation collection for entity . + /// + /// + /// The the navigation collection for entity . + /// + public virtual ICollection Sessions { get; set; } + + /// + /// Gets or sets the navigation property for entity . + /// + /// + /// The the navigation property for entity . + /// + /// + public virtual Tenant Tenant { get; set; } + + #endregion - } } diff --git a/service/src/InstructorIQ.Core/Data/Entities/Notification.cs b/service/src/InstructorIQ.Core/Data/Entities/Notification.cs index 0a8dc05b..c7424235 100644 --- a/service/src/InstructorIQ.Core/Data/Entities/Notification.cs +++ b/service/src/InstructorIQ.Core/Data/Entities/Notification.cs @@ -1,125 +1,125 @@ using System; using System.Collections.Generic; + using MediatR.CommandQuery.Definitions; -namespace InstructorIQ.Core.Data.Entities +namespace InstructorIQ.Core.Data.Entities; + +/// +/// Entity class representing data for table 'Notification'. +/// +public partial class Notification : IHaveIdentifier, ITrackCreated, ITrackUpdated { /// - /// Entity class representing data for table 'Notification'. + /// Initializes a new instance of the class. /// - public partial class Notification : IHaveIdentifier, ITrackCreated, ITrackUpdated + public Notification() { - /// - /// Initializes a new instance of the class. - /// - public Notification() - { - #region Generated Constructor - #endregion - } - - #region Generated Properties - /// - /// Gets or sets the property value representing column 'Id'. - /// - /// - /// The property value representing column 'Id'. - /// - public Guid Id { get; set; } - - /// - /// Gets or sets the property value representing column 'Type'. - /// - /// - /// The property value representing column 'Type'. - /// - public string Type { get; set; } - - /// - /// Gets or sets the property value representing column 'Message'. - /// - /// - /// The property value representing column 'Message'. - /// - public string Message { get; set; } - - /// - /// Gets or sets the property value representing column 'UserName'. - /// - /// - /// The property value representing column 'UserName'. - /// - public string UserName { get; set; } - - /// - /// Gets or sets the property value representing column 'Read'. - /// - /// - /// The property value representing column 'Read'. - /// - public DateTimeOffset? Read { get; set; } - - /// - /// Gets or sets the property value representing column 'TenantId'. - /// - /// - /// The property value representing column 'TenantId'. - /// - public Guid TenantId { get; set; } - - /// - /// Gets or sets the property value representing column 'Created'. - /// - /// - /// The property value representing column 'Created'. - /// - public DateTimeOffset Created { get; set; } - - /// - /// Gets or sets the property value representing column 'CreatedBy'. - /// - /// - /// The property value representing column 'CreatedBy'. - /// - public string CreatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'Updated'. - /// - /// - /// The property value representing column 'Updated'. - /// - public DateTimeOffset Updated { get; set; } - - /// - /// Gets or sets the property value representing column 'UpdatedBy'. - /// - /// - /// The property value representing column 'UpdatedBy'. - /// - public string UpdatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'RowVersion'. - /// - /// - /// The property value representing column 'RowVersion'. - /// - public Byte[] RowVersion { get; set; } - + #region Generated Constructor #endregion + } - #region Generated Relationships - /// - /// Gets or sets the navigation property for entity . - /// - /// - /// The the navigation property for entity . - /// - /// - public virtual Tenant Tenant { get; set; } + #region Generated Properties + /// + /// Gets or sets the property value representing column 'Id'. + /// + /// + /// The property value representing column 'Id'. + /// + public Guid Id { get; set; } - #endregion + /// + /// Gets or sets the property value representing column 'Type'. + /// + /// + /// The property value representing column 'Type'. + /// + public string Type { get; set; } + + /// + /// Gets or sets the property value representing column 'Message'. + /// + /// + /// The property value representing column 'Message'. + /// + public string Message { get; set; } + + /// + /// Gets or sets the property value representing column 'UserName'. + /// + /// + /// The property value representing column 'UserName'. + /// + public string UserName { get; set; } + + /// + /// Gets or sets the property value representing column 'Read'. + /// + /// + /// The property value representing column 'Read'. + /// + public DateTimeOffset? Read { get; set; } + + /// + /// Gets or sets the property value representing column 'TenantId'. + /// + /// + /// The property value representing column 'TenantId'. + /// + public Guid TenantId { get; set; } + + /// + /// Gets or sets the property value representing column 'Created'. + /// + /// + /// The property value representing column 'Created'. + /// + public DateTimeOffset Created { get; set; } + + /// + /// Gets or sets the property value representing column 'CreatedBy'. + /// + /// + /// The property value representing column 'CreatedBy'. + /// + public string CreatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'Updated'. + /// + /// + /// The property value representing column 'Updated'. + /// + public DateTimeOffset Updated { get; set; } + + /// + /// Gets or sets the property value representing column 'UpdatedBy'. + /// + /// + /// The property value representing column 'UpdatedBy'. + /// + public string UpdatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'RowVersion'. + /// + /// + /// The property value representing column 'RowVersion'. + /// + public Byte[] RowVersion { get; set; } + + #endregion + + #region Generated Relationships + /// + /// Gets or sets the navigation property for entity . + /// + /// + /// The the navigation property for entity . + /// + /// + public virtual Tenant Tenant { get; set; } + + #endregion - } } diff --git a/service/src/InstructorIQ.Core/Data/Entities/RefreshToken.cs b/service/src/InstructorIQ.Core/Data/Entities/RefreshToken.cs index aba0dcc7..7b0cd38b 100644 --- a/service/src/InstructorIQ.Core/Data/Entities/RefreshToken.cs +++ b/service/src/InstructorIQ.Core/Data/Entities/RefreshToken.cs @@ -1,84 +1,84 @@ using System; using System.Collections.Generic; + using MediatR.CommandQuery.Definitions; -namespace InstructorIQ.Core.Data.Entities +namespace InstructorIQ.Core.Data.Entities; + +/// +/// Entity class representing data for table 'RefreshToken'. +/// +public partial class RefreshToken : IHaveIdentifier { /// - /// Entity class representing data for table 'RefreshToken'. + /// Initializes a new instance of the class. /// - public partial class RefreshToken : IHaveIdentifier + public RefreshToken() { - /// - /// Initializes a new instance of the class. - /// - public RefreshToken() - { - #region Generated Constructor - #endregion - } + #region Generated Constructor + #endregion + } - #region Generated Properties - /// - /// Gets or sets the property value representing column 'Id'. - /// - /// - /// The property value representing column 'Id'. - /// - public Guid Id { get; set; } + #region Generated Properties + /// + /// Gets or sets the property value representing column 'Id'. + /// + /// + /// The property value representing column 'Id'. + /// + public Guid Id { get; set; } - /// - /// Gets or sets the property value representing column 'TokenHash'. - /// - /// - /// The property value representing column 'TokenHash'. - /// - public string TokenHash { get; set; } + /// + /// Gets or sets the property value representing column 'TokenHash'. + /// + /// + /// The property value representing column 'TokenHash'. + /// + public string TokenHash { get; set; } - /// - /// Gets or sets the property value representing column 'UserName'. - /// - /// - /// The property value representing column 'UserName'. - /// - public string UserName { get; set; } + /// + /// Gets or sets the property value representing column 'UserName'. + /// + /// + /// The property value representing column 'UserName'. + /// + public string UserName { get; set; } - /// - /// Gets or sets the property value representing column 'ClientId'. - /// - /// - /// The property value representing column 'ClientId'. - /// - public string ClientId { get; set; } + /// + /// Gets or sets the property value representing column 'ClientId'. + /// + /// + /// The property value representing column 'ClientId'. + /// + public string ClientId { get; set; } - /// - /// Gets or sets the property value representing column 'ProtectedTicket'. - /// - /// - /// The property value representing column 'ProtectedTicket'. - /// - public string ProtectedTicket { get; set; } + /// + /// Gets or sets the property value representing column 'ProtectedTicket'. + /// + /// + /// The property value representing column 'ProtectedTicket'. + /// + public string ProtectedTicket { get; set; } - /// - /// Gets or sets the property value representing column 'Issued'. - /// - /// - /// The property value representing column 'Issued'. - /// - public DateTimeOffset Issued { get; set; } + /// + /// Gets or sets the property value representing column 'Issued'. + /// + /// + /// The property value representing column 'Issued'. + /// + public DateTimeOffset Issued { get; set; } - /// - /// Gets or sets the property value representing column 'Expires'. - /// - /// - /// The property value representing column 'Expires'. - /// - public DateTimeOffset? Expires { get; set; } + /// + /// Gets or sets the property value representing column 'Expires'. + /// + /// + /// The property value representing column 'Expires'. + /// + public DateTimeOffset? Expires { get; set; } - #endregion + #endregion - #region Generated Relationships - #endregion + #region Generated Relationships + #endregion - } } diff --git a/service/src/InstructorIQ.Core/Data/Entities/Role.cs b/service/src/InstructorIQ.Core/Data/Entities/Role.cs index 240fd31b..7c5307c0 100644 --- a/service/src/InstructorIQ.Core/Data/Entities/Role.cs +++ b/service/src/InstructorIQ.Core/Data/Entities/Role.cs @@ -1,26 +1,27 @@ -using MediatR.CommandQuery.Definitions; -using Microsoft.AspNetCore.Identity; using System; using System.Collections.Generic; -namespace InstructorIQ.Core.Data.Entities +using MediatR.CommandQuery.Definitions; + +using Microsoft.AspNetCore.Identity; + +namespace InstructorIQ.Core.Data.Entities; + +/// +/// Entity class representing data for table 'Role'. +/// +public class Role : IdentityRole, IHaveIdentifier { - /// - /// Entity class representing data for table 'Role'. - /// - public class Role : IdentityRole, IHaveIdentifier + public Role() : this(null) { - public Role() : this(null) - { - } + } - public Role(string roleName) : base(roleName) - { - TenantUserRoles = new HashSet(); - } + public Role(string roleName) : base(roleName) + { + TenantUserRoles = new HashSet(); + } - public string Description { get; set; } + public string Description { get; set; } - public virtual ICollection TenantUserRoles { get; set; } - } + public virtual ICollection TenantUserRoles { get; set; } } diff --git a/service/src/InstructorIQ.Core/Data/Entities/RoleClaim.cs b/service/src/InstructorIQ.Core/Data/Entities/RoleClaim.cs index d6b564ad..35099975 100644 --- a/service/src/InstructorIQ.Core/Data/Entities/RoleClaim.cs +++ b/service/src/InstructorIQ.Core/Data/Entities/RoleClaim.cs @@ -1,12 +1,12 @@ using System; + using Microsoft.AspNetCore.Identity; -namespace InstructorIQ.Core.Data.Entities +namespace InstructorIQ.Core.Data.Entities; + +/// +/// Entity class representing data for table 'RoleClaim'. +/// +public class RoleClaim : IdentityRoleClaim { - /// - /// Entity class representing data for table 'RoleClaim'. - /// - public class RoleClaim : IdentityRoleClaim - { - } -} \ No newline at end of file +} diff --git a/service/src/InstructorIQ.Core/Data/Entities/Session.cs b/service/src/InstructorIQ.Core/Data/Entities/Session.cs index f63d2ca7..167d5144 100644 --- a/service/src/InstructorIQ.Core/Data/Entities/Session.cs +++ b/service/src/InstructorIQ.Core/Data/Entities/Session.cs @@ -1,227 +1,227 @@ using System; using System.Collections.Generic; + using MediatR.CommandQuery.Definitions; -namespace InstructorIQ.Core.Data.Entities +namespace InstructorIQ.Core.Data.Entities; + +/// +/// Entity class representing data for table 'Session'. +/// +public class Session : IHaveIdentifier, ITrackCreated, ITrackUpdated, IHaveTenant { /// - /// Entity class representing data for table 'Session'. + /// Initializes a new instance of the class. /// - public class Session : IHaveIdentifier, ITrackCreated, ITrackUpdated, IHaveTenant + public Session() { - /// - /// Initializes a new instance of the class. - /// - public Session() - { - #region Generated Constructor - Attendances = new HashSet(); - SessionInstructors = new HashSet(); - #endregion - } - - #region Generated Properties - /// - /// Gets or sets the property value representing column 'Id'. - /// - /// - /// The property value representing column 'Id'. - /// - public Guid Id { get; set; } - - /// - /// Gets or sets the property value representing column 'Note'. - /// - /// - /// The property value representing column 'Note'. - /// - public string Note { get; set; } - - /// - /// Gets or sets the property value representing column 'StartDate'. - /// - /// - /// The property value representing column 'StartDate'. - /// - public DateTime? StartDate { get; set; } - - /// - /// Gets or sets the property value representing column 'StartTime'. - /// - /// - /// The property value representing column 'StartTime'. - /// - public TimeSpan? StartTime { get; set; } - - /// - /// Gets or sets the property value representing column 'EndDate'. - /// - /// - /// The property value representing column 'EndDate'. - /// - public DateTime? EndDate { get; set; } - - /// - /// Gets or sets the property value representing column 'EndTime'. - /// - /// - /// The property value representing column 'EndTime'. - /// - public TimeSpan? EndTime { get; set; } - - /// - /// Gets or sets the property value representing column 'TenantId'. - /// - /// - /// The property value representing column 'TenantId'. - /// - public Guid TenantId { get; set; } - - /// - /// Gets or sets the property value representing column 'TopicId'. - /// - /// - /// The property value representing column 'TopicId'. - /// - public Guid TopicId { get; set; } - - /// - /// Gets or sets the property value representing column 'LocationId'. - /// - /// - /// The property value representing column 'LocationId'. - /// - public Guid? LocationId { get; set; } - - /// - /// Gets or sets the property value representing column 'GroupId'. - /// - /// - /// The property value representing column 'GroupId'. - /// - public Guid? GroupId { get; set; } - - /// - /// Gets or sets the property value representing column 'LeadInstructorId'. - /// - /// - /// The property value representing column 'LeadInstructorId'. - /// - public Guid? LeadInstructorId { get; set; } - - /// - /// Gets or sets the property value representing column 'Created'. - /// - /// - /// The property value representing column 'Created'. - /// - public DateTimeOffset Created { get; set; } - - /// - /// Gets or sets the property value representing column 'CreatedBy'. - /// - /// - /// The property value representing column 'CreatedBy'. - /// - public string CreatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'Updated'. - /// - /// - /// The property value representing column 'Updated'. - /// - public DateTimeOffset Updated { get; set; } - - /// - /// Gets or sets the property value representing column 'UpdatedBy'. - /// - /// - /// The property value representing column 'UpdatedBy'. - /// - public string UpdatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'RowVersion'. - /// - /// - /// The property value representing column 'RowVersion'. - /// - public Byte[] RowVersion { get; set; } - - /// - /// Gets or sets the property value representing column 'PeriodStart'. - /// - /// - /// The property value representing column 'PeriodStart'. - /// - public DateTime PeriodStart { get; set; } - - /// - /// Gets or sets the property value representing column 'PeriodEnd'. - /// - /// - /// The property value representing column 'PeriodEnd'. - /// - public DateTime PeriodEnd { get; set; } - + #region Generated Constructor + Attendances = new HashSet(); + SessionInstructors = new HashSet(); #endregion + } - #region Generated Relationships - /// - /// Gets or sets the navigation collection for entity . - /// - /// - /// The the navigation collection for entity . - /// - public virtual ICollection Attendances { get; set; } - - /// - /// Gets or sets the navigation property for entity . - /// - /// - /// The the navigation property for entity . - /// - /// - public virtual Group Group { get; set; } - - /// - /// Gets or sets the navigation property for entity . - /// - /// - /// The the navigation property for entity . - /// - /// - public virtual Location Location { get; set; } - - /// - /// Gets or sets the navigation collection for entity . - /// - /// - /// The the navigation collection for entity . - /// - public virtual ICollection SessionInstructors { get; set; } - - /// - /// Gets or sets the navigation property for entity . - /// - /// - /// The the navigation property for entity . - /// - /// - public virtual Tenant Tenant { get; set; } - - /// - /// Gets or sets the navigation property for entity . - /// - /// - /// The the navigation property for entity . - /// - /// - public virtual Topic Topic { get; set; } + #region Generated Properties + /// + /// Gets or sets the property value representing column 'Id'. + /// + /// + /// The property value representing column 'Id'. + /// + public Guid Id { get; set; } - #endregion + /// + /// Gets or sets the property value representing column 'Note'. + /// + /// + /// The property value representing column 'Note'. + /// + public string Note { get; set; } - public virtual User LeadInstructor { get; set; } - } + /// + /// Gets or sets the property value representing column 'StartDate'. + /// + /// + /// The property value representing column 'StartDate'. + /// + public DateTime? StartDate { get; set; } + + /// + /// Gets or sets the property value representing column 'StartTime'. + /// + /// + /// The property value representing column 'StartTime'. + /// + public TimeSpan? StartTime { get; set; } + + /// + /// Gets or sets the property value representing column 'EndDate'. + /// + /// + /// The property value representing column 'EndDate'. + /// + public DateTime? EndDate { get; set; } + + /// + /// Gets or sets the property value representing column 'EndTime'. + /// + /// + /// The property value representing column 'EndTime'. + /// + public TimeSpan? EndTime { get; set; } + + /// + /// Gets or sets the property value representing column 'TenantId'. + /// + /// + /// The property value representing column 'TenantId'. + /// + public Guid TenantId { get; set; } + + /// + /// Gets or sets the property value representing column 'TopicId'. + /// + /// + /// The property value representing column 'TopicId'. + /// + public Guid TopicId { get; set; } + + /// + /// Gets or sets the property value representing column 'LocationId'. + /// + /// + /// The property value representing column 'LocationId'. + /// + public Guid? LocationId { get; set; } + + /// + /// Gets or sets the property value representing column 'GroupId'. + /// + /// + /// The property value representing column 'GroupId'. + /// + public Guid? GroupId { get; set; } + + /// + /// Gets or sets the property value representing column 'LeadInstructorId'. + /// + /// + /// The property value representing column 'LeadInstructorId'. + /// + public Guid? LeadInstructorId { get; set; } + + /// + /// Gets or sets the property value representing column 'Created'. + /// + /// + /// The property value representing column 'Created'. + /// + public DateTimeOffset Created { get; set; } + + /// + /// Gets or sets the property value representing column 'CreatedBy'. + /// + /// + /// The property value representing column 'CreatedBy'. + /// + public string CreatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'Updated'. + /// + /// + /// The property value representing column 'Updated'. + /// + public DateTimeOffset Updated { get; set; } + + /// + /// Gets or sets the property value representing column 'UpdatedBy'. + /// + /// + /// The property value representing column 'UpdatedBy'. + /// + public string UpdatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'RowVersion'. + /// + /// + /// The property value representing column 'RowVersion'. + /// + public Byte[] RowVersion { get; set; } + + /// + /// Gets or sets the property value representing column 'PeriodStart'. + /// + /// + /// The property value representing column 'PeriodStart'. + /// + public DateTime PeriodStart { get; set; } + + /// + /// Gets or sets the property value representing column 'PeriodEnd'. + /// + /// + /// The property value representing column 'PeriodEnd'. + /// + public DateTime PeriodEnd { get; set; } + + #endregion + + #region Generated Relationships + /// + /// Gets or sets the navigation collection for entity . + /// + /// + /// The the navigation collection for entity . + /// + public virtual ICollection Attendances { get; set; } + + /// + /// Gets or sets the navigation property for entity . + /// + /// + /// The the navigation property for entity . + /// + /// + public virtual Group Group { get; set; } + + /// + /// Gets or sets the navigation property for entity . + /// + /// + /// The the navigation property for entity . + /// + /// + public virtual Location Location { get; set; } + + /// + /// Gets or sets the navigation collection for entity . + /// + /// + /// The the navigation collection for entity . + /// + public virtual ICollection SessionInstructors { get; set; } + + /// + /// Gets or sets the navigation property for entity . + /// + /// + /// The the navigation property for entity . + /// + /// + public virtual Tenant Tenant { get; set; } + + /// + /// Gets or sets the navigation property for entity . + /// + /// + /// The the navigation property for entity . + /// + /// + public virtual Topic Topic { get; set; } + + #endregion + + public virtual User LeadInstructor { get; set; } } diff --git a/service/src/InstructorIQ.Core/Data/Entities/SessionInstructor.cs b/service/src/InstructorIQ.Core/Data/Entities/SessionInstructor.cs index 5636f6f8..90dd8752 100644 --- a/service/src/InstructorIQ.Core/Data/Entities/SessionInstructor.cs +++ b/service/src/InstructorIQ.Core/Data/Entities/SessionInstructor.cs @@ -1,135 +1,135 @@ using System; using System.Collections.Generic; + using MediatR.CommandQuery.Definitions; -namespace InstructorIQ.Core.Data.Entities +namespace InstructorIQ.Core.Data.Entities; + +/// +/// Entity class representing data for table 'SessionInstructor'. +/// +public class SessionInstructor : IHaveIdentifier { /// - /// Entity class representing data for table 'SessionInstructor'. + /// Initializes a new instance of the class. /// - public class SessionInstructor : IHaveIdentifier + public SessionInstructor() { - /// - /// Initializes a new instance of the class. - /// - public SessionInstructor() - { - #region Generated Constructor - #endregion - } - - #region Generated Properties - /// - /// Gets or sets the property value representing column 'Id'. - /// - /// - /// The property value representing column 'Id'. - /// - public Guid Id { get; set; } - - /// - /// Gets or sets the property value representing column 'SessionId'. - /// - /// - /// The property value representing column 'SessionId'. - /// - public Guid SessionId { get; set; } - - /// - /// Gets or sets the property value representing column 'InstructorId'. - /// - /// - /// The property value representing column 'InstructorId'. - /// - public Guid InstructorId { get; set; } - - /// - /// Gets or sets the property value representing column 'InstructorRoleId'. - /// - /// - /// The property value representing column 'InstructorRoleId'. - /// - public Guid? InstructorRoleId { get; set; } - - /// - /// Gets or sets the property value representing column 'Created'. - /// - /// - /// The property value representing column 'Created'. - /// - public DateTimeOffset Created { get; set; } - - /// - /// Gets or sets the property value representing column 'CreatedBy'. - /// - /// - /// The property value representing column 'CreatedBy'. - /// - public string CreatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'Updated'. - /// - /// - /// The property value representing column 'Updated'. - /// - public DateTimeOffset Updated { get; set; } - - /// - /// Gets or sets the property value representing column 'UpdatedBy'. - /// - /// - /// The property value representing column 'UpdatedBy'. - /// - public string UpdatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'RowVersion'. - /// - /// - /// The property value representing column 'RowVersion'. - /// - public Byte[] RowVersion { get; set; } - - /// - /// Gets or sets the property value representing column 'PeriodStart'. - /// - /// - /// The property value representing column 'PeriodStart'. - /// - public DateTime PeriodStart { get; set; } - - /// - /// Gets or sets the property value representing column 'PeriodEnd'. - /// - /// - /// The property value representing column 'PeriodEnd'. - /// - public DateTime PeriodEnd { get; set; } - + #region Generated Constructor #endregion + } - #region Generated Relationships - /// - /// Gets or sets the navigation property for entity . - /// - /// - /// The the navigation property for entity . - /// - /// - public virtual InstructorRole InstructorRole { get; set; } - - /// - /// Gets or sets the navigation property for entity . - /// - /// - /// The the navigation property for entity . - /// - /// - public virtual Session Session { get; set; } + #region Generated Properties + /// + /// Gets or sets the property value representing column 'Id'. + /// + /// + /// The property value representing column 'Id'. + /// + public Guid Id { get; set; } - #endregion + /// + /// Gets or sets the property value representing column 'SessionId'. + /// + /// + /// The property value representing column 'SessionId'. + /// + public Guid SessionId { get; set; } - public virtual User Instructor { get; set; } - } + /// + /// Gets or sets the property value representing column 'InstructorId'. + /// + /// + /// The property value representing column 'InstructorId'. + /// + public Guid InstructorId { get; set; } + + /// + /// Gets or sets the property value representing column 'InstructorRoleId'. + /// + /// + /// The property value representing column 'InstructorRoleId'. + /// + public Guid? InstructorRoleId { get; set; } + + /// + /// Gets or sets the property value representing column 'Created'. + /// + /// + /// The property value representing column 'Created'. + /// + public DateTimeOffset Created { get; set; } + + /// + /// Gets or sets the property value representing column 'CreatedBy'. + /// + /// + /// The property value representing column 'CreatedBy'. + /// + public string CreatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'Updated'. + /// + /// + /// The property value representing column 'Updated'. + /// + public DateTimeOffset Updated { get; set; } + + /// + /// Gets or sets the property value representing column 'UpdatedBy'. + /// + /// + /// The property value representing column 'UpdatedBy'. + /// + public string UpdatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'RowVersion'. + /// + /// + /// The property value representing column 'RowVersion'. + /// + public Byte[] RowVersion { get; set; } + + /// + /// Gets or sets the property value representing column 'PeriodStart'. + /// + /// + /// The property value representing column 'PeriodStart'. + /// + public DateTime PeriodStart { get; set; } + + /// + /// Gets or sets the property value representing column 'PeriodEnd'. + /// + /// + /// The property value representing column 'PeriodEnd'. + /// + public DateTime PeriodEnd { get; set; } + + #endregion + + #region Generated Relationships + /// + /// Gets or sets the navigation property for entity . + /// + /// + /// The the navigation property for entity . + /// + /// + public virtual InstructorRole InstructorRole { get; set; } + + /// + /// Gets or sets the navigation property for entity . + /// + /// + /// The the navigation property for entity . + /// + /// + public virtual Session Session { get; set; } + + #endregion + + public virtual User Instructor { get; set; } } diff --git a/service/src/InstructorIQ.Core/Data/Entities/SignUp.cs b/service/src/InstructorIQ.Core/Data/Entities/SignUp.cs index c6a1f2fb..b82f9ecf 100644 --- a/service/src/InstructorIQ.Core/Data/Entities/SignUp.cs +++ b/service/src/InstructorIQ.Core/Data/Entities/SignUp.cs @@ -1,118 +1,118 @@ using System; using System.Collections.Generic; + using MediatR.CommandQuery.Definitions; -namespace InstructorIQ.Core.Data.Entities +namespace InstructorIQ.Core.Data.Entities; + +/// +/// Entity class representing data for table 'InstructorSignUp'. +/// +public partial class SignUp : IHaveIdentifier, ITrackCreated, ITrackUpdated, IHaveTenant { /// - /// Entity class representing data for table 'InstructorSignUp'. + /// Initializes a new instance of the class. /// - public partial class SignUp : IHaveIdentifier, ITrackCreated, ITrackUpdated, IHaveTenant + public SignUp() { - /// - /// Initializes a new instance of the class. - /// - public SignUp() - { - #region Generated Constructor - SignUpTopics = new HashSet(); - #endregion - } - - #region Generated Properties - /// - /// Gets or sets the property value representing column 'Id'. - /// - /// - /// The property value representing column 'Id'. - /// - public Guid Id { get; set; } - - /// - /// Gets or sets the property value representing column 'Name'. - /// - /// - /// The property value representing column 'Name'. - /// - public string Name { get; set; } - - /// - /// Gets or sets the property value representing column 'Description'. - /// - /// - /// The property value representing column 'Description'. - /// - public string Description { get; set; } - - /// - /// Gets or sets the property value representing column 'TenantId'. - /// - /// - /// The property value representing column 'TenantId'. - /// - public Guid TenantId { get; set; } - - /// - /// Gets or sets the property value representing column 'Created'. - /// - /// - /// The property value representing column 'Created'. - /// - public DateTimeOffset Created { get; set; } - - /// - /// Gets or sets the property value representing column 'CreatedBy'. - /// - /// - /// The property value representing column 'CreatedBy'. - /// - public string CreatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'Updated'. - /// - /// - /// The property value representing column 'Updated'. - /// - public DateTimeOffset Updated { get; set; } - - /// - /// Gets or sets the property value representing column 'UpdatedBy'. - /// - /// - /// The property value representing column 'UpdatedBy'. - /// - public string UpdatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'RowVersion'. - /// - /// - /// The property value representing column 'RowVersion'. - /// - public Byte[] RowVersion { get; set; } - + #region Generated Constructor + SignUpTopics = new HashSet(); #endregion + } - #region Generated Relationships - /// - /// Gets or sets the navigation collection for entity . - /// - /// - /// The the navigation collection for entity . - /// - public virtual ICollection SignUpTopics { get; set; } - - /// - /// Gets or sets the navigation property for entity . - /// - /// - /// The the navigation property for entity . - /// - /// - public virtual Tenant Tenant { get; set; } + #region Generated Properties + /// + /// Gets or sets the property value representing column 'Id'. + /// + /// + /// The property value representing column 'Id'. + /// + public Guid Id { get; set; } - #endregion + /// + /// Gets or sets the property value representing column 'Name'. + /// + /// + /// The property value representing column 'Name'. + /// + public string Name { get; set; } + + /// + /// Gets or sets the property value representing column 'Description'. + /// + /// + /// The property value representing column 'Description'. + /// + public string Description { get; set; } + + /// + /// Gets or sets the property value representing column 'TenantId'. + /// + /// + /// The property value representing column 'TenantId'. + /// + public Guid TenantId { get; set; } + + /// + /// Gets or sets the property value representing column 'Created'. + /// + /// + /// The property value representing column 'Created'. + /// + public DateTimeOffset Created { get; set; } + + /// + /// Gets or sets the property value representing column 'CreatedBy'. + /// + /// + /// The property value representing column 'CreatedBy'. + /// + public string CreatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'Updated'. + /// + /// + /// The property value representing column 'Updated'. + /// + public DateTimeOffset Updated { get; set; } + + /// + /// Gets or sets the property value representing column 'UpdatedBy'. + /// + /// + /// The property value representing column 'UpdatedBy'. + /// + public string UpdatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'RowVersion'. + /// + /// + /// The property value representing column 'RowVersion'. + /// + public Byte[] RowVersion { get; set; } + + #endregion + + #region Generated Relationships + /// + /// Gets or sets the navigation collection for entity . + /// + /// + /// The the navigation collection for entity . + /// + public virtual ICollection SignUpTopics { get; set; } + + /// + /// Gets or sets the navigation property for entity . + /// + /// + /// The the navigation property for entity . + /// + /// + public virtual Tenant Tenant { get; set; } + + #endregion - } } diff --git a/service/src/InstructorIQ.Core/Data/Entities/SignUpTopic.cs b/service/src/InstructorIQ.Core/Data/Entities/SignUpTopic.cs index ca62bebd..7dcafe8c 100644 --- a/service/src/InstructorIQ.Core/Data/Entities/SignUpTopic.cs +++ b/service/src/InstructorIQ.Core/Data/Entities/SignUpTopic.cs @@ -1,110 +1,110 @@ using System; using System.Collections.Generic; + using MediatR.CommandQuery.Definitions; -namespace InstructorIQ.Core.Data.Entities +namespace InstructorIQ.Core.Data.Entities; + +/// +/// Entity class representing data for table 'InstructorSignUpTopic'. +/// +public partial class SignUpTopic : IHaveIdentifier, ITrackCreated, ITrackUpdated { /// - /// Entity class representing data for table 'InstructorSignUpTopic'. + /// Initializes a new instance of the class. /// - public partial class SignUpTopic : IHaveIdentifier, ITrackCreated, ITrackUpdated + public SignUpTopic() { - /// - /// Initializes a new instance of the class. - /// - public SignUpTopic() - { - #region Generated Constructor - #endregion - } - - #region Generated Properties - /// - /// Gets or sets the property value representing column 'Id'. - /// - /// - /// The property value representing column 'Id'. - /// - public Guid Id { get; set; } - - /// - /// Gets or sets the property value representing column 'SignUpId'. - /// - /// - /// The property value representing column 'SignUpId'. - /// - public Guid SignUpId { get; set; } - - /// - /// Gets or sets the property value representing column 'TopicId'. - /// - /// - /// The property value representing column 'TopicId'. - /// - public Guid TopicId { get; set; } - - /// - /// Gets or sets the property value representing column 'Created'. - /// - /// - /// The property value representing column 'Created'. - /// - public DateTimeOffset Created { get; set; } - - /// - /// Gets or sets the property value representing column 'CreatedBy'. - /// - /// - /// The property value representing column 'CreatedBy'. - /// - public string CreatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'Updated'. - /// - /// - /// The property value representing column 'Updated'. - /// - public DateTimeOffset Updated { get; set; } - - /// - /// Gets or sets the property value representing column 'UpdatedBy'. - /// - /// - /// The property value representing column 'UpdatedBy'. - /// - public string UpdatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'RowVersion'. - /// - /// - /// The property value representing column 'RowVersion'. - /// - public Byte[] RowVersion { get; set; } - + #region Generated Constructor #endregion + } - #region Generated Relationships - /// - /// Gets or sets the navigation property for entity . - /// - /// - /// The the navigation property for entity . - /// - /// - public virtual SignUp SignUp { get; set; } - - /// - /// Gets or sets the navigation property for entity . - /// - /// - /// The the navigation property for entity . - /// - /// - public virtual Topic Topic { get; set; } + #region Generated Properties + /// + /// Gets or sets the property value representing column 'Id'. + /// + /// + /// The property value representing column 'Id'. + /// + public Guid Id { get; set; } - #endregion + /// + /// Gets or sets the property value representing column 'SignUpId'. + /// + /// + /// The property value representing column 'SignUpId'. + /// + public Guid SignUpId { get; set; } + + /// + /// Gets or sets the property value representing column 'TopicId'. + /// + /// + /// The property value representing column 'TopicId'. + /// + public Guid TopicId { get; set; } + + /// + /// Gets or sets the property value representing column 'Created'. + /// + /// + /// The property value representing column 'Created'. + /// + public DateTimeOffset Created { get; set; } + + /// + /// Gets or sets the property value representing column 'CreatedBy'. + /// + /// + /// The property value representing column 'CreatedBy'. + /// + public string CreatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'Updated'. + /// + /// + /// The property value representing column 'Updated'. + /// + public DateTimeOffset Updated { get; set; } + + /// + /// Gets or sets the property value representing column 'UpdatedBy'. + /// + /// + /// The property value representing column 'UpdatedBy'. + /// + public string UpdatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'RowVersion'. + /// + /// + /// The property value representing column 'RowVersion'. + /// + public Byte[] RowVersion { get; set; } + + #endregion + + #region Generated Relationships + /// + /// Gets or sets the navigation property for entity . + /// + /// + /// The the navigation property for entity . + /// + /// + public virtual SignUp SignUp { get; set; } + + /// + /// Gets or sets the navigation property for entity . + /// + /// + /// The the navigation property for entity . + /// + /// + public virtual Topic Topic { get; set; } + + #endregion - } } diff --git a/service/src/InstructorIQ.Core/Data/Entities/Template.cs b/service/src/InstructorIQ.Core/Data/Entities/Template.cs index b4cd8edb..c437a1d7 100644 --- a/service/src/InstructorIQ.Core/Data/Entities/Template.cs +++ b/service/src/InstructorIQ.Core/Data/Entities/Template.cs @@ -1,141 +1,141 @@ using System; using System.Collections.Generic; + using MediatR.CommandQuery.Definitions; -namespace InstructorIQ.Core.Data.Entities +namespace InstructorIQ.Core.Data.Entities; + +/// +/// Entity class representing data for table 'Template'. +/// +public class Template : IHaveIdentifier, ITrackCreated, ITrackUpdated, IHaveTenant { /// - /// Entity class representing data for table 'Template'. + /// Initializes a new instance of the class. /// - public class Template : IHaveIdentifier, ITrackCreated, ITrackUpdated, IHaveTenant + public Template() { - /// - /// Initializes a new instance of the class. - /// - public Template() - { - #region Generated Constructor - #endregion - } - - #region Generated Properties - /// - /// Gets or sets the property value representing column 'Id'. - /// - /// - /// The property value representing column 'Id'. - /// - public Guid Id { get; set; } - - /// - /// Gets or sets the property value representing column 'Name'. - /// - /// - /// The property value representing column 'Name'. - /// - public string Name { get; set; } - - /// - /// Gets or sets the property value representing column 'Description'. - /// - /// - /// The property value representing column 'Description'. - /// - public string Description { get; set; } - - /// - /// Gets or sets the property value representing column 'TemplateBody'. - /// - /// - /// The property value representing column 'TemplateBody'. - /// - public string TemplateBody { get; set; } - - /// - /// Gets or sets the property value representing column 'TemplateType'. - /// - /// - /// The property value representing column 'TemplateType'. - /// - public string TemplateType { get; set; } - - /// - /// Gets or sets the property value representing column 'TenantId'. - /// - /// - /// The property value representing column 'TenantId'. - /// - public Guid TenantId { get; set; } - - /// - /// Gets or sets the property value representing column 'Created'. - /// - /// - /// The property value representing column 'Created'. - /// - public DateTimeOffset Created { get; set; } - - /// - /// Gets or sets the property value representing column 'CreatedBy'. - /// - /// - /// The property value representing column 'CreatedBy'. - /// - public string CreatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'Updated'. - /// - /// - /// The property value representing column 'Updated'. - /// - public DateTimeOffset Updated { get; set; } - - /// - /// Gets or sets the property value representing column 'UpdatedBy'. - /// - /// - /// The property value representing column 'UpdatedBy'. - /// - public string UpdatedBy { get; set; } - - /// - /// Gets or sets the property value representing column 'RowVersion'. - /// - /// - /// The property value representing column 'RowVersion'. - /// - public Byte[] RowVersion { get; set; } - - /// - /// Gets or sets the property value representing column 'PeriodStart'. - /// - /// - /// The property value representing column 'PeriodStart'. - /// - public DateTime PeriodStart { get; set; } - - /// - /// Gets or sets the property value representing column 'PeriodEnd'. - /// - /// - /// The property value representing column 'PeriodEnd'. - /// - public DateTime PeriodEnd { get; set; } - + #region Generated Constructor #endregion + } - #region Generated Relationships - /// - /// Gets or sets the navigation property for entity . - /// - /// - /// The the navigation property for entity . - /// - /// - public virtual Tenant Tenant { get; set; } + #region Generated Properties + /// + /// Gets or sets the property value representing column 'Id'. + /// + /// + /// The property value representing column 'Id'. + /// + public Guid Id { get; set; } - #endregion + /// + /// Gets or sets the property value representing column 'Name'. + /// + /// + /// The property value representing column 'Name'. + /// + public string Name { get; set; } + + /// + /// Gets or sets the property value representing column 'Description'. + /// + /// + /// The property value representing column 'Description'. + /// + public string Description { get; set; } + + /// + /// Gets or sets the property value representing column 'TemplateBody'. + /// + /// + /// The property value representing column 'TemplateBody'. + /// + public string TemplateBody { get; set; } + + /// + /// Gets or sets the property value representing column 'TemplateType'. + /// + /// + /// The property value representing column 'TemplateType'. + /// + public string TemplateType { get; set; } + + /// + /// Gets or sets the property value representing column 'TenantId'. + /// + /// + /// The property value representing column 'TenantId'. + /// + public Guid TenantId { get; set; } + + /// + /// Gets or sets the property value representing column 'Created'. + /// + /// + /// The property value representing column 'Created'. + /// + public DateTimeOffset Created { get; set; } + + /// + /// Gets or sets the property value representing column 'CreatedBy'. + /// + /// + /// The property value representing column 'CreatedBy'. + /// + public string CreatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'Updated'. + /// + /// + /// The property value representing column 'Updated'. + /// + public DateTimeOffset Updated { get; set; } + + /// + /// Gets or sets the property value representing column 'UpdatedBy'. + /// + /// + /// The property value representing column 'UpdatedBy'. + /// + public string UpdatedBy { get; set; } + + /// + /// Gets or sets the property value representing column 'RowVersion'. + /// + /// + /// The property value representing column 'RowVersion'. + /// + public Byte[] RowVersion { get; set; } + + /// + /// Gets or sets the property value representing column 'PeriodStart'. + /// + /// + /// The property value representing column 'PeriodStart'. + /// + public DateTime PeriodStart { get; set; } + + /// + /// Gets or sets the property value representing column 'PeriodEnd'. + /// + /// + /// The property value representing column 'PeriodEnd'. + /// + public DateTime PeriodEnd { get; set; } + + #endregion + + #region Generated Relationships + /// + /// Gets or sets the navigation property for entity . + /// + /// + /// The the navigation property for entity . + /// + /// + public virtual Tenant Tenant { get; set; } + + #endregion - } } diff --git a/service/src/InstructorIQ.Core/Data/Entities/Tenant.cs b/service/src/InstructorIQ.Core/Data/Entities/Tenant.cs index a1389590..55692496 100644 --- a/service/src/InstructorIQ.Core/Data/Entities/Tenant.cs +++ b/service/src/InstructorIQ.Core/Data/Entities/Tenant.cs @@ -1,291 +1,291 @@ using System; using System.Collections.Generic; + using MediatR.CommandQuery.Definitions; -namespace InstructorIQ.Core.Data.Entities +namespace InstructorIQ.Core.Data.Entities; + +/// +/// Entity class representing data for table 'Tenant'. +/// +public partial class Tenant : IHaveIdentifier { /// - /// Entity class representing data for table 'Tenant'. + /// Initializes a new instance of the class. /// - public partial class Tenant : IHaveIdentifier + public Tenant() { - /// - /// Initializes a new instance of the class. - /// - public Tenant() - { - #region Generated Constructor - Attendances = new HashSet(); - Discussions = new HashSet(); - EmailDeliveries = new HashSet(); - EmailTemplates = new HashSet(); - Groups = new HashSet(); - ImportJobs = new HashSet(); - InstructorRoles = new HashSet(); - LinkTokens = new HashSet(); - Locations = new HashSet(); - Notifications = new HashSet(); - Sessions = new HashSet(); - SignUps = new HashSet(); - Templates = new HashSet