Add Temparory Webinar Entity and Data Helper Materials ...
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
using xDataService.Events;
|
||||
using xWebinarService.Interfaces.Entities;
|
||||
using xWebinarService.Models.Entities;
|
||||
|
||||
namespace xWebinarService.DataHelper.Events
|
||||
{
|
||||
public class XWebinarEvents : XBaseRepositoryEvents<XWebinar>, IXWebinarEvents
|
||||
{ }
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
using xDataService.Events;
|
||||
using xWebinarService.Interfaces.Entities;
|
||||
using xWebinarService.Models.Entities;
|
||||
|
||||
namespace xWebinarService.DataHelper.Events
|
||||
{
|
||||
public class XWebinarSubscriberEvents : XBaseRepositoryEvents<XWebinarSubscriber>, IXWebinarSubscriberEvents
|
||||
{ }
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace xWebinarService.DataHelper.GraphQL
|
||||
{
|
||||
public class XWebinarGraphQLTypeHelper
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace xWebinarService.DataHelper.GraphQL
|
||||
{
|
||||
public class XWebinarGraphQuery
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace xWebinarService.DataHelper.GraphQL
|
||||
{
|
||||
public class XWebinarGraphSchema
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace xWebinarService.DataHelper.GraphQL
|
||||
{
|
||||
public class XWebinarGraphType
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace xWebinarService.DataHelper.GraphQL
|
||||
{
|
||||
public class XWebinarSubscriberGraphQLTypeHelper
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace xWebinarService.DataHelper.GraphQL
|
||||
{
|
||||
public class XWebinarSubscriberGraphQuery
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace xWebinarService.DataHelper.GraphQL
|
||||
{
|
||||
public class XWebinarSubscriberGraphSchema
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace xWebinarService.DataHelper.GraphQL
|
||||
{
|
||||
public class XWebinarSubscriberGraphType
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using xDataService.Interfaces;
|
||||
using xWebinarService.Models.Entities;
|
||||
|
||||
namespace xWebinarService.Interfaces.Entities
|
||||
{
|
||||
public interface IXWebinarEvents : IXBaseRepositoryEvents<XWebinar>
|
||||
{ }
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace xWebinarService.Interfaces.Entities
|
||||
{
|
||||
public interface IXWebinarGraphQLTypeHelper
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace xWebinarService.Interfaces.Entities
|
||||
{
|
||||
public interface IXWebinarRepository
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using xDataService.Interfaces;
|
||||
using xWebinarService.Models.Entities;
|
||||
|
||||
namespace xWebinarService.Interfaces.Entities
|
||||
{
|
||||
public interface IXWebinarSubscriberEvents : IXBaseRepositoryEvents<XWebinarSubscriber>
|
||||
{ }
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace xWebinarService.Interfaces.Entities
|
||||
{
|
||||
public interface IXWebinarSubscriberGraphQLTypeHelper
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace xWebinarService.Interfaces.Entities
|
||||
{
|
||||
public interface IXWebinarSubscriberRepository
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -4,9 +4,6 @@ using xModels.Dtos;
|
||||
|
||||
namespace xWebinarService.Models.Dtos
|
||||
{
|
||||
/// <summary>
|
||||
/// Webinar DTO (Response) Model ...
|
||||
/// </summary>
|
||||
public class XWebinarDto : XBaseDto
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
@@ -17,6 +14,14 @@ 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; }
|
||||
}
|
||||
}
|
||||
@@ -39,4 +39,16 @@ namespace xWebinarService.Models.Entities
|
||||
[Required]
|
||||
public DateTime CreatedOn { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Webinar Subscriber ...
|
||||
/// </summary>
|
||||
public class XWebinarSubscriber : XBaseIntIDEntity
|
||||
{
|
||||
[Required]
|
||||
public string SubscriberId { get; set; }
|
||||
[Required]
|
||||
public Guid WebinarId { get; set; }
|
||||
public DateTime SubscribedOn { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user