mirror of https://github.com/abpframework/abp.git
5 changed files with 100 additions and 0 deletions
@ -0,0 +1,40 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
|
|||
namespace Volo.Docs.Documents |
|||
{ |
|||
public class DocumentEto |
|||
{ |
|||
public Guid Id { get; set; } |
|||
|
|||
public Guid ProjectId { get; set; } |
|||
|
|||
public string Name { get; set; } |
|||
|
|||
public string Version { get; set; } |
|||
|
|||
public string LanguageCode { get; set; } |
|||
|
|||
public string FileName { get; set; } |
|||
|
|||
public string Content { get; set; } |
|||
|
|||
public string Format { get; set; } |
|||
|
|||
public string EditLink { get; set; } |
|||
|
|||
public string RootUrl { get; set; } |
|||
|
|||
public string RawRootUrl { get; set; } |
|||
|
|||
public string LocalDirectory { get; set; } |
|||
|
|||
public DateTime CreationTime { get; set; } |
|||
|
|||
public DateTime LastUpdatedTime { get; set; } |
|||
|
|||
public DateTime? LastSignificantUpdateTime { get; set; } |
|||
|
|||
public DateTime LastCachedTime { get; set; } |
|||
} |
|||
} |
|||
@ -0,0 +1,29 @@ |
|||
using System; |
|||
|
|||
namespace Volo.Docs.Projects |
|||
{ |
|||
public class ProjectEto |
|||
{ |
|||
public Guid Id { get; set; } |
|||
|
|||
public string Name { get; set; } |
|||
|
|||
public string ShortName { get; set; } |
|||
|
|||
public string Format { get; set; } |
|||
|
|||
public string DefaultDocumentName { get; set; } |
|||
|
|||
public string NavigationDocumentName { get; set; } |
|||
|
|||
public string ParametersDocumentName { get; set; } |
|||
|
|||
public string MinimumVersion { get; set; } |
|||
|
|||
public string DocumentStoreType { get; set; } |
|||
|
|||
public string MainWebsiteUrl { get; set; } |
|||
|
|||
public string LatestVersionBranchName { get; set; } |
|||
} |
|||
} |
|||
@ -0,0 +1,15 @@ |
|||
using AutoMapper; |
|||
using Volo.Docs.Documents; |
|||
using Volo.Docs.Projects; |
|||
|
|||
namespace Volo.Docs |
|||
{ |
|||
public class DocsDomainMappingProfile : Profile |
|||
{ |
|||
public DocsDomainMappingProfile() |
|||
{ |
|||
CreateMap<Document, DocumentEto>(); |
|||
CreateMap<Project, ProjectEto>(); |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue