Class Content
- Namespace
- Biwen.QuickApi.Contents.Domain
- Assembly
- Biwen.QuickApi.Contents.dll
[Index("Slug", new string[] { "Status", "ContentType" })]
[Index("Slug", new string[] { }, IsUnique = true)]
public class Content
- Inheritance
-
Content
- Inherited Members
-
- Extension Methods
-
Constructors
Content()
Properties
ContentType
[Required]
[StringLength(1024)]
public string ContentType { get; set; }
Property Value
- string
CreatedAt
public DateTime CreatedAt { get; set; }
Property Value
- DateTime
Id
[Key]
public Guid Id { get; set; }
Property Value
- Guid
JsonContent
[Required]
public string JsonContent { get; set; }
Property Value
- string
PublishedAt
public DateTime? PublishedAt { get; set; }
Property Value
- DateTime?
Slug
[Required]
[StringLength(500)]
public string Slug { get; set; }
Property Value
- string
Status
public ContentStatus Status { get; set; }
Property Value
- ContentStatus
Title
[Required]
[StringLength(500)]
public string Title { get; set; }
Property Value
- string
UpdatedAt
public DateTime? UpdatedAt { get; set; }
Property Value
- DateTime?