Files
xContentService/Models/Entities/XContent.cs
T

43 lines
1.0 KiB
C#

using System;
using xModels.Base;
using System.ComponentModel.DataAnnotations;
namespace xContentService.Models.Entities
{
/// <summary>
/// Content Describe ...
/// </summary>
public class XContent : XBaseGuidIDEntity
{
/// <summary>
/// User Identifier ...
/// </summary>
/// <value></value>
[Required]
[StringLength(255)]
public string OwnerId { get; set; }
/// <summary>
/// Title of Content ...
/// </summary>
[Required]
[StringLength(255)]
public string Title { get; set; }
/// <summary>
/// Description of Content ...
/// </summary>
[StringLength(255)]
public string Description { get; set; }
/// <summary>
/// Created Time ...
/// </summary>
public DateTime CreatedOn { get; set; }
/// <summary>
/// Updated Time ...
/// </summary>
public DateTime UpdatedAt { get; set; }
}
}