diff --git a/Models/Dtos/XWebinarDto.cs b/Models/Dtos/XWebinarDto.cs new file mode 100644 index 0000000..ba8ef8f --- /dev/null +++ b/Models/Dtos/XWebinarDto.cs @@ -0,0 +1,22 @@ +using System; +using xModels.Base; +using xModels.Dtos; + +namespace xWebinarService.Models.Dtos +{ + /// + /// Webinar DTO (Response) Model ... + /// + public class XWebinarDto : XBaseDto + { + public Guid Id { get; set; } + + public XResourceDto Title { get; set; } + public XResourceDto Description { get; set; } + + public string OwnerId { get; set; } + public XPersonDto Owner { get; set; } + + public DateTime? CreatedOn { get; set; } + } +} \ No newline at end of file diff --git a/Models/Entities/XWebinar.cs b/Models/Entities/XWebinar.cs new file mode 100644 index 0000000..6662f5d --- /dev/null +++ b/Models/Entities/XWebinar.cs @@ -0,0 +1,42 @@ +using System; +using System.ComponentModel.DataAnnotations; +using xModels.Base; + +namespace xWebinarService.Models.Entities +{ + /// + /// Webinar Entity ... + /// + public class XWebinar : XBaseGuidIDEntity + { + /// + /// Title (Resource ID) ... + /// + /// + [Required] + [StringLength(255)] + public string Title { get; set; } + + /// + /// Description (Resource ID) ... + /// + /// + [Required] + [StringLength(255)] + public string Description { get; set; } + + /// + /// User Identifier ... + /// + /// + [Required] + public string OwnerId { get; set; } + + /// + /// Creation Time ... + /// + /// + [Required] + public DateTime CreatedOn { get; set; } + } +} \ No newline at end of file diff --git a/README.md b/README.md index f56e26a..12e5022 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # xWebinarService -it is a Part of xDashboard on SaherElm IT Center which provides: +it is a Part of xDashboard on SaherElm IT Center which provides all Wbinar Related Futures ... ## Maintainer Hadi Khazaee asl - +[https://www.saherelm.ir](https://www.saherelm.ir) -hadi_khazaee_asl@yahoo.com +[hadi_khazaee_asl@yahoo.com](mailto:hadi_khazaee_asl@yahoo.com) diff --git a/xWebinarService.csproj b/xWebinarService.csproj index 1ca30d7..4dc7862 100644 --- a/xWebinarService.csproj +++ b/xWebinarService.csproj @@ -8,13 +8,22 @@ Hadi Khazaee Asl SaherElm IT Center - it is a Part of xDashboard on SaherElm IT Center which provides: + it is a Part of xDashboard on SaherElm IT Center which provides all Wbinar Related Futures ... + + + icon.png - + - + + + + + + +