implement Webinar and WebinarSubscriber Entity and Dto (s) and Data Requirements ...
This commit is contained in:
@@ -5,24 +5,14 @@ using xWebinarService.Constants;
|
||||
|
||||
namespace xWebinarService.Models.Dtos
|
||||
{
|
||||
public class XWebinarDto : XBaseDto
|
||||
public class XWebinarDto : XBaseGuidIDEntityDto
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public XResourceDto Title { get; set; }
|
||||
public XResourceDto Description { get; set; }
|
||||
public bool Enabled { get; set; }
|
||||
public string OwnerId { get; set; }
|
||||
public XPersonDto Owner { get; set; }
|
||||
public XWebinarType Type { get; set; }
|
||||
public XResourceDto Title { get; set; }
|
||||
public DateTime CreatedOn { get; set; }
|
||||
public bool Enabled { get; set; }
|
||||
}
|
||||
|
||||
public class XWebinarSubscriberDto : XBaseDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public Guid WebinarId { get; set; }
|
||||
public string SubscriberId { get; set; }
|
||||
public XPersonDto Subscriber { get; set; }
|
||||
public DateTime SubscribedOn { get; set; }
|
||||
public XResourceDto Description { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using xModels.Base;
|
||||
using xModels.Dtos;
|
||||
|
||||
namespace xWebinarService.Models.Dtos
|
||||
{
|
||||
public class XWebinarSubscriberDto : XBaseIntIDEntityDto
|
||||
{
|
||||
public Guid WebinarId { get; set; }
|
||||
public string SubscriberId { get; set; }
|
||||
public XPersonDto Subscriber { get; set; }
|
||||
public DateTime SubscribedOn { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user