Class ContentItemDto
- Namespace
- Raytha.Application.ContentItems
- Assembly
- Raytha.Application.dll
public record ContentItemDto : BaseEntityDto, IBaseEntityDto, IEquatable<BaseEntityDto>, IEquatable<ContentItemDto>
- Inheritance
-
ContentItemDto
- Implements
- Inherited Members
Properties
ContentType
[JsonIgnore]
public ContentTypeDto? ContentType { get; init; }
Property Value
ContentTypeId
public ShortGuid ContentTypeId { get; init; }
Property Value
- ShortGuid
CreationTime
public DateTime CreationTime { get; init; }
Property Value
CreatorUser
public AuditableUserDto? CreatorUser { get; init; }
Property Value
DraftContent
public dynamic DraftContent { get; init; }
Property Value
- dynamic
IsDraft
public bool IsDraft { get; init; }
Property Value
IsPublished
public bool IsPublished { get; init; }
Property Value
LastModificationTime
public DateTime? LastModificationTime { get; init; }
Property Value
LastModifierUser
public AuditableUserDto? LastModifierUser { get; init; }
Property Value
PrimaryField
public string PrimaryField { get; init; }
Property Value
PublishedContent
public dynamic PublishedContent { get; init; }
Property Value
- dynamic
RouteId
[JsonIgnore]
public ShortGuid RouteId { get; init; }
Property Value
- ShortGuid
RoutePath
public string RoutePath { get; init; }
Property Value
Methods
GetProjection()
public static Expression<Func<ContentItem, ContentItemDto>> GetProjection()
Returns
- Expression<Func<ContentItem, ContentItemDto>>
GetProjection(ContentItem)
public static ContentItemDto GetProjection(ContentItem entity)
Parameters
entity
ContentItem
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.