mirror of https://github.com/abpframework/eventhub
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
607 B
23 lines
607 B
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace EventHub.Events;
|
|
|
|
public class AddSessionDto
|
|
{
|
|
public Guid TrackId { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(SessionConsts.MaxTitleLength, MinimumLength = SessionConsts.MinTitleLength)]
|
|
public string Title { get; set; }
|
|
|
|
public DateTime StartTime { get; set; }
|
|
|
|
public DateTime EndTime { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(SessionConsts.MaxDescriptionLength, MinimumLength = SessionConsts.MinDescriptionLength)]
|
|
public string Description { get; set; }
|
|
|
|
public string Language { get; set; }
|
|
}
|
|
|