Skip to content

Commit

Permalink
Upd mvc cms
Browse files Browse the repository at this point in the history
  • Loading branch information
nhathoang989 committed Jan 1, 2018
1 parent e0646eb commit 36b4800
Show file tree
Hide file tree
Showing 228 changed files with 3,048 additions and 7,115 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Expand Up @@ -252,3 +252,10 @@ ModelManifest.xml
/src/Swastika.IO.Core/wwwroot/sw-spa/dist
/src/.vs
/src/Swastika.Cms.Mvc/wwwroot/lib
/src/Swastika.Cms.Web.Mvc/Content
/src/Swastika.Cms.Web.Mvc/wwwroot/Content
/src/Swastika.Cms.Web.Mvc/Views/Shared/Templates
/src/Swastika.Chat.Web
/src/Swastika.Chat.Lib
/src/Swastika.Cms.Lib/Migrations
/src/Swastika.Cms.Web.Mvc/wwwroot/Uploads
6 changes: 3 additions & 3 deletions src/Swastika.Cms.Lib/Models/SiocArticle.cs
Expand Up @@ -18,7 +18,7 @@ public SiocArticle()
public string CreatedBy { get; set; }
public DateTime CreatedDateTime { get; set; }
public string Excerpt { get; set; }
public string Icon { get; set; }
public string Icon { get; set; }
public string Image { get; set; }
public bool IsDeleted { get; set; }
public bool IsVisible { get; set; }
Expand All @@ -32,8 +32,8 @@ public SiocArticle()
public string Thumbnail { get; set; }
public string Title { get; set; }
public int Type { get; set; }
public string UpdatedBy { get; set; }
public DateTime? UpdatedDateTime { get; set; }
public string ModifiedBy { get; set; }
public DateTime? LastModified { get; set; }
public int? Views { get; set; }

public SiocCulture SpecificultureNavigation { get; set; }
Expand Down
5 changes: 3 additions & 2 deletions src/Swastika.Cms.Lib/Models/SiocCategory.cs
Expand Up @@ -21,6 +21,7 @@ public SiocCategory()
public DateTime CreatedDateTime { get; set; }
public string Excerpt { get; set; }
public string Icon { get; set; }
public string CssClass { get; set; }
public string Image { get; set; }
public bool IsDeleted { get; set; }
public bool? IsVisible { get; set; }
Expand All @@ -35,8 +36,8 @@ public SiocCategory()
public string Template { get; set; }
public string Title { get; set; }
public int Type { get; set; }
public string UpdatedBy { get; set; }
public DateTime? UpdatedDateTime { get; set; }
public string ModifiedBy { get; set; }
public DateTime? LastModified { get; set; }
public int? Views { get; set; }

public SiocCulture SpecificultureNavigation { get; set; }
Expand Down
Expand Up @@ -3,21 +3,21 @@

namespace Swastika.Cms.Lib.Models
{
public partial class SiocTemplateFile
public partial class SiocFile
{
public int Id { get; set; }
public int TemplateId { get; set; }
public string TemplateName { get; set; }
public string FolderType { get; set; }
public string FileFolder { get; set; }
public string FileName { get; set; }
public string Extension { get; set; }
public string Content { get; set; }
public DateTime CreatedDateTime { get; set; }
public string Extension { get; set; }
public string FileFolder { get; set; }
public string FileName { get; set; }
public string FolderType { get; set; }
public DateTime? LastModified { get; set; }
public string ModifiedBy { get; set; }
public int Priority { get; set; }
public int? ThemeId { get; set; }
public string ThemeName { get; set; }

public SiocTemplate Template { get; set; }
public SiocTheme Theme { get; set; }
}
}
2 changes: 2 additions & 0 deletions src/Swastika.Cms.Lib/Models/SiocModule.cs
Expand Up @@ -22,6 +22,8 @@ public SiocModule()
public string Template { get; set; }
public string Title { get; set; }
public int Type { get; set; }
public string ModifiedBy { get; set; }
public DateTime? LastModified { get; set; }

public SiocCulture SpecificultureNavigation { get; set; }
public ICollection<SiocArticleModule> SiocArticleModule { get; set; }
Expand Down
18 changes: 10 additions & 8 deletions src/Swastika.Cms.Lib/Models/SiocTemplate.cs
Expand Up @@ -5,17 +5,19 @@ namespace Swastika.Cms.Lib.Models
{
public partial class SiocTemplate
{
public SiocTemplate()
{
SiocTemplateFile = new HashSet<SiocTemplateFile>();
}

public int Id { get; set; }
public string Name { get; set; }
public string CreatedBy { get; set; }
public string Content { get; set; }
public DateTime CreatedDateTime { get; set; }
public string Extension { get; set; }
public string FileFolder { get; set; }
public string FileName { get; set; }
public string FolderType { get; set; }
public DateTime? LastModified { get; set; }
public string ModifiedBy { get; set; }
public int Priority { get; set; }
public int TemplateId { get; set; }
public string TemplateName { get; set; }

public ICollection<SiocTemplateFile> SiocTemplateFile { get; set; }
public SiocTheme Template { get; set; }
}
}
23 changes: 23 additions & 0 deletions src/Swastika.Cms.Lib/Models/SiocTheme.cs
@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;

namespace Swastika.Cms.Lib.Models
{
public partial class SiocTheme
{
public SiocTheme()
{
SiocFile = new HashSet<SiocFile>();
SiocTemplate = new HashSet<SiocTemplate>();
}

public int Id { get; set; }
public string CreatedBy { get; set; }
public DateTime CreatedDateTime { get; set; }
public string Name { get; set; }
public int Priority { get; set; }

public ICollection<SiocFile> SiocFile { get; set; }
public ICollection<SiocTemplate> SiocTemplate { get; set; }
}
}

0 comments on commit 36b4800

Please sign in to comment.