commit 71fd4cea74fc997b9581aea69bffa7c066973daa Author: Hadi Khazaee Asl Date: Tue Aug 18 10:37:28 2026 +0330 Initial Commit of Workspace ... diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..49bc29c --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +bin/* +obj/* diff --git a/Constants/XContentServiceConstants.cs b/Constants/XContentServiceConstants.cs new file mode 100644 index 0000000..f0d5831 --- /dev/null +++ b/Constants/XContentServiceConstants.cs @@ -0,0 +1,23 @@ +namespace xContentService.Constants +{ + public struct XContentServiceConstants + { + // + // Service Extensions Log Tag ... + public const string XContentServiceDILogTag = "XContentService"; + + // + // Table Mapping Identifiers ... + public const string XContentTable = "Contents"; + + // + // GraphQL Collection Mappings ... + public const string XContentSingleName = "content"; + public const string XContentCollectionName = "contents"; + + // + // Hubs ... + public const string XContentDtoHub = "contentDto"; + public const string XContentEntityHub = "contentEntity"; + } +} \ No newline at end of file diff --git a/Models/Dtos/XContentDto.cs b/Models/Dtos/XContentDto.cs new file mode 100644 index 0000000..74fdc89 --- /dev/null +++ b/Models/Dtos/XContentDto.cs @@ -0,0 +1,7 @@ +namespace xContentService.Models.Dtos +{ + public class XContentDto + { + + } +} \ No newline at end of file diff --git a/Models/Entities/XContent.cs b/Models/Entities/XContent.cs new file mode 100644 index 0000000..c8a5640 --- /dev/null +++ b/Models/Entities/XContent.cs @@ -0,0 +1,41 @@ +using xModels.Base; + +namespace xContentService.Models.Entities +{ + /// + /// Content Describe ... + /// + public class XContent : XBaseGuidIDEntity + { + /// + /// User Identifier ... + /// + /// + [Required] + [StringLength(255)] + public string OwnerId { get; set; } + + /// + /// Title of Content ... + /// + [Required] + [StringLength(255)] + public string Title { get; set; } + + /// + /// Description of Content ... + /// + [StringLength(255)] + public string Description { get; set; } + + /// + /// Created Time ... + /// + public DateTime CreatedOn { get; set; } + + /// + /// Updated Time ... + /// + public DateTime UpdatedAt { get; set; } + } +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..1c59885 --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +# xContentService + +it is a Part of xDashboard on SaherElm IT Center which provides all Content Related Futures ... + +this module has following dependencies : + +- xTagService +- xFileService + +## Maintainer + +Hadi Khazaee asl + +[https://www.saherelm.ir](https://www.saherelm.ir) + +[hadi_khazaee_asl@yahoo.com](mailto:hadi_khazaee_asl@yahoo.com) diff --git a/nuget.config b/nuget.config new file mode 100644 index 0000000..15cb0f4 --- /dev/null +++ b/nuget.config @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/xContentService.csproj b/xContentService.csproj new file mode 100644 index 0000000..6cb5bce --- /dev/null +++ b/xContentService.csproj @@ -0,0 +1,43 @@ + + + + + 1.0.0 + 12.0 + Hadi Khazaee Asl + SaherElm IT Center + xDashboard.xContentService + netstandard2.0 + + + it is a Part of xDashboard on SaherElm IT Center which provides all Content Related Futures ... + + + + icon.png + + + + + + + + + + + + + + + + + + + + true + true + $(NoWarn);1591 + + + \ No newline at end of file