diff --git a/DataHelper/Events/XWebinarEvents.cs b/DataHelper/Events/XWebinarEvents.cs new file mode 100644 index 0000000..9a855c2 --- /dev/null +++ b/DataHelper/Events/XWebinarEvents.cs @@ -0,0 +1,9 @@ +using xDataService.Events; +using xWebinarService.Interfaces.Entities; +using xWebinarService.Models.Entities; + +namespace xWebinarService.DataHelper.Events +{ + public class XWebinarEvents : XBaseRepositoryEvents, IXWebinarEvents + { } +} \ No newline at end of file diff --git a/DataHelper/Events/XWebinarSubscriberEvents.cs b/DataHelper/Events/XWebinarSubscriberEvents.cs new file mode 100644 index 0000000..79814fe --- /dev/null +++ b/DataHelper/Events/XWebinarSubscriberEvents.cs @@ -0,0 +1,9 @@ +using xDataService.Events; +using xWebinarService.Interfaces.Entities; +using xWebinarService.Models.Entities; + +namespace xWebinarService.DataHelper.Events +{ + public class XWebinarSubscriberEvents : XBaseRepositoryEvents, IXWebinarSubscriberEvents + { } +} \ No newline at end of file diff --git a/DataHelper/GraphQL/XWebinarGraphQLTypeHelper.cs b/DataHelper/GraphQL/XWebinarGraphQLTypeHelper.cs new file mode 100644 index 0000000..16d16b3 --- /dev/null +++ b/DataHelper/GraphQL/XWebinarGraphQLTypeHelper.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace xWebinarService.DataHelper.GraphQL +{ + public class XWebinarGraphQLTypeHelper + { + + } +} \ No newline at end of file diff --git a/DataHelper/GraphQL/XWebinarGraphQuery.cs b/DataHelper/GraphQL/XWebinarGraphQuery.cs new file mode 100644 index 0000000..c5e1359 --- /dev/null +++ b/DataHelper/GraphQL/XWebinarGraphQuery.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace xWebinarService.DataHelper.GraphQL +{ + public class XWebinarGraphQuery + { + + } +} \ No newline at end of file diff --git a/DataHelper/GraphQL/XWebinarGraphSchema.cs b/DataHelper/GraphQL/XWebinarGraphSchema.cs new file mode 100644 index 0000000..780264a --- /dev/null +++ b/DataHelper/GraphQL/XWebinarGraphSchema.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace xWebinarService.DataHelper.GraphQL +{ + public class XWebinarGraphSchema + { + + } +} \ No newline at end of file diff --git a/DataHelper/GraphQL/XWebinarGraphType.cs b/DataHelper/GraphQL/XWebinarGraphType.cs new file mode 100644 index 0000000..cbbe6d9 --- /dev/null +++ b/DataHelper/GraphQL/XWebinarGraphType.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace xWebinarService.DataHelper.GraphQL +{ + public class XWebinarGraphType + { + + } +} \ No newline at end of file diff --git a/DataHelper/GraphQL/XWebinarSubscriberGraphQLTypeHelper.cs b/DataHelper/GraphQL/XWebinarSubscriberGraphQLTypeHelper.cs new file mode 100644 index 0000000..0769a61 --- /dev/null +++ b/DataHelper/GraphQL/XWebinarSubscriberGraphQLTypeHelper.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace xWebinarService.DataHelper.GraphQL +{ + public class XWebinarSubscriberGraphQLTypeHelper + { + + } +} \ No newline at end of file diff --git a/DataHelper/GraphQL/XWebinarSubscriberGraphQuery.cs b/DataHelper/GraphQL/XWebinarSubscriberGraphQuery.cs new file mode 100644 index 0000000..92f067f --- /dev/null +++ b/DataHelper/GraphQL/XWebinarSubscriberGraphQuery.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace xWebinarService.DataHelper.GraphQL +{ + public class XWebinarSubscriberGraphQuery + { + + } +} \ No newline at end of file diff --git a/DataHelper/GraphQL/XWebinarSubscriberGraphSchema.cs b/DataHelper/GraphQL/XWebinarSubscriberGraphSchema.cs new file mode 100644 index 0000000..123e4f6 --- /dev/null +++ b/DataHelper/GraphQL/XWebinarSubscriberGraphSchema.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace xWebinarService.DataHelper.GraphQL +{ + public class XWebinarSubscriberGraphSchema + { + + } +} \ No newline at end of file diff --git a/DataHelper/GraphQL/XWebinarSubscriberGraphType.cs b/DataHelper/GraphQL/XWebinarSubscriberGraphType.cs new file mode 100644 index 0000000..beb261c --- /dev/null +++ b/DataHelper/GraphQL/XWebinarSubscriberGraphType.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace xWebinarService.DataHelper.GraphQL +{ + public class XWebinarSubscriberGraphType + { + + } +} \ No newline at end of file diff --git a/DataHelper/Repository/EF/XWebinarEFRepository.cs b/DataHelper/Repository/EF/XWebinarEFRepository.cs new file mode 100644 index 0000000..9c79863 --- /dev/null +++ b/DataHelper/Repository/EF/XWebinarEFRepository.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace xWebinarService.DataHelper.Repository.EF +{ + public class XWebinarEFRepository + { + + } +} \ No newline at end of file diff --git a/DataHelper/Repository/EF/XWebinarSubscriberEFRepository.cs b/DataHelper/Repository/EF/XWebinarSubscriberEFRepository.cs new file mode 100644 index 0000000..09f0aa2 --- /dev/null +++ b/DataHelper/Repository/EF/XWebinarSubscriberEFRepository.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace xWebinarService.DataHelper.Repository.EF +{ + public class XWebinarSubscriberEFRepository + { + + } +} \ No newline at end of file diff --git a/DataHelper/Repository/Mongo/XWebinarMongoRepository.cs b/DataHelper/Repository/Mongo/XWebinarMongoRepository.cs new file mode 100644 index 0000000..37ac3fe --- /dev/null +++ b/DataHelper/Repository/Mongo/XWebinarMongoRepository.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace xWebinarService.DataHelper.Repository.Mongo +{ + public class XWebinarMongoRepository + { + + } +} \ No newline at end of file diff --git a/DataHelper/Repository/Mongo/XWebinarSubscriberMongoRepository.cs b/DataHelper/Repository/Mongo/XWebinarSubscriberMongoRepository.cs new file mode 100644 index 0000000..775ab35 --- /dev/null +++ b/DataHelper/Repository/Mongo/XWebinarSubscriberMongoRepository.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace xWebinarService.DataHelper.Repository.Mongo +{ + public class XWebinarSubscriberMongoRepository + { + + } +} \ No newline at end of file diff --git a/Interfaces/Entities/IXWebinarEvents.cs b/Interfaces/Entities/IXWebinarEvents.cs new file mode 100644 index 0000000..708e4a5 --- /dev/null +++ b/Interfaces/Entities/IXWebinarEvents.cs @@ -0,0 +1,8 @@ +using xDataService.Interfaces; +using xWebinarService.Models.Entities; + +namespace xWebinarService.Interfaces.Entities +{ + public interface IXWebinarEvents : IXBaseRepositoryEvents + { } +} \ No newline at end of file diff --git a/Interfaces/Entities/IXWebinarGraphQLTypeHelper.cs b/Interfaces/Entities/IXWebinarGraphQLTypeHelper.cs new file mode 100644 index 0000000..e89e79a --- /dev/null +++ b/Interfaces/Entities/IXWebinarGraphQLTypeHelper.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace xWebinarService.Interfaces.Entities +{ + public interface IXWebinarGraphQLTypeHelper + { + + } +} \ No newline at end of file diff --git a/Interfaces/Entities/IXWebinarRepository.cs b/Interfaces/Entities/IXWebinarRepository.cs new file mode 100644 index 0000000..60b04b8 --- /dev/null +++ b/Interfaces/Entities/IXWebinarRepository.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace xWebinarService.Interfaces.Entities +{ + public interface IXWebinarRepository + { + + } +} \ No newline at end of file diff --git a/Interfaces/Entities/IXWebinarSubscriberEvents.cs b/Interfaces/Entities/IXWebinarSubscriberEvents.cs new file mode 100644 index 0000000..abcc45c --- /dev/null +++ b/Interfaces/Entities/IXWebinarSubscriberEvents.cs @@ -0,0 +1,8 @@ +using xDataService.Interfaces; +using xWebinarService.Models.Entities; + +namespace xWebinarService.Interfaces.Entities +{ + public interface IXWebinarSubscriberEvents : IXBaseRepositoryEvents + { } +} \ No newline at end of file diff --git a/Interfaces/Entities/IXWebinarSubscriberGraphQLTypeHelper.cs b/Interfaces/Entities/IXWebinarSubscriberGraphQLTypeHelper.cs new file mode 100644 index 0000000..dc41f4b --- /dev/null +++ b/Interfaces/Entities/IXWebinarSubscriberGraphQLTypeHelper.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace xWebinarService.Interfaces.Entities +{ + public interface IXWebinarSubscriberGraphQLTypeHelper + { + + } +} \ No newline at end of file diff --git a/Interfaces/Entities/IXWebinarSubscriberRepository.cs b/Interfaces/Entities/IXWebinarSubscriberRepository.cs new file mode 100644 index 0000000..8fc9cd0 --- /dev/null +++ b/Interfaces/Entities/IXWebinarSubscriberRepository.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace xWebinarService.Interfaces.Entities +{ + public interface IXWebinarSubscriberRepository + { + + } +} \ No newline at end of file diff --git a/Models/Dtos/XWebinarDto.cs b/Models/Dtos/XWebinarDto.cs index ba8ef8f..a93fda7 100644 --- a/Models/Dtos/XWebinarDto.cs +++ b/Models/Dtos/XWebinarDto.cs @@ -4,9 +4,6 @@ using xModels.Dtos; namespace xWebinarService.Models.Dtos { - /// - /// Webinar DTO (Response) Model ... - /// public class XWebinarDto : XBaseDto { public Guid Id { get; set; } @@ -16,7 +13,15 @@ namespace xWebinarService.Models.Dtos public string OwnerId { get; set; } public XPersonDto Owner { get; set; } - - public DateTime? CreatedOn { get; set; } + + public DateTime CreatedOn { get; set; } + } + + public class XWebinarSubscriberDto : XBaseDto + { + public int Id { get; set; } + public string SubscriberId { get; set; } + public XPersonDto Subscriber { get; set; } + public DateTime SubscribedOn { get; set; } } } \ No newline at end of file diff --git a/Models/Entities/XWebinar.cs b/Models/Entities/XWebinar.cs index 6662f5d..cedfa60 100644 --- a/Models/Entities/XWebinar.cs +++ b/Models/Entities/XWebinar.cs @@ -23,7 +23,7 @@ namespace xWebinarService.Models.Entities /// [Required] [StringLength(255)] - public string Description { get; set; } + public string Description { get; set; } /// /// User Identifier ... @@ -39,4 +39,16 @@ namespace xWebinarService.Models.Entities [Required] public DateTime CreatedOn { get; set; } } + + /// + /// Webinar Subscriber ... + /// + public class XWebinarSubscriber : XBaseIntIDEntity + { + [Required] + public string SubscriberId { get; set; } + [Required] + public Guid WebinarId { get; set; } + public DateTime SubscribedOn { get; set; } + } } \ No newline at end of file