last ...
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using xModels.Base;
|
||||
using xModels.Dtos;
|
||||
|
||||
namespace xWebinarService.Models.Dtos
|
||||
{
|
||||
/// <summary>
|
||||
/// Webinar DTO (Response) Model ...
|
||||
/// </summary>
|
||||
public class XWebinarDto : XBaseDto
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public XResourceDto Title { get; set; }
|
||||
public XResourceDto Description { get; set; }
|
||||
|
||||
public string OwnerId { get; set; }
|
||||
public XPersonDto Owner { get; set; }
|
||||
|
||||
public DateTime? CreatedOn { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using xModels.Base;
|
||||
|
||||
namespace xWebinarService.Models.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// Webinar Entity ...
|
||||
/// </summary>
|
||||
public class XWebinar : XBaseGuidIDEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// Title (Resource ID) ...
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
[Required]
|
||||
[StringLength(255)]
|
||||
public string Title { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Description (Resource ID) ...
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
[Required]
|
||||
[StringLength(255)]
|
||||
public string Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// User Identifier ...
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
[Required]
|
||||
public string OwnerId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Creation Time ...
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
[Required]
|
||||
public DateTime CreatedOn { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user