авторизация
All checks were successful
Create and publish a Docker image / Publish image (push) Successful in 1m18s
Create and publish a Docker image / Deploy image (push) Successful in 38s

This commit is contained in:
2023-12-24 04:16:18 +03:00
parent d2d2685672
commit b5477d529f
31 changed files with 973 additions and 967 deletions

View File

@ -0,0 +1,31 @@
public class PostMeetingDto
{
public DateTime Time { get; set; }
public string Title { get; set; } = null!;
public string Theme { get; set; } = null!;
public string SpeakerName { get; set; } = null!;
public IEnumerable<IFormFile> SpeackerImage { get; set; } = null!;
public IEnumerable<IFormFile> PlaceImages { get; set; } = null!;
public string Splecializations { get; set; } = null!;
public string Type { get; set; } = "онлайн/офлайн";
public string SpeakerTelephone { get; set; } = null!;
public string SpeakerEmail { get; set; } = null!;
public string Tags { get; set; } = null!;
public string Urls { get; set; } = null!;
public string PlaceAdress { get; set; } = null!;
public string Duration { get; set; } = null!;
}

View File

@ -0,0 +1,33 @@
public class PutMeetingDto
{
public String Id { get; set; } = null!;
public DateTime Time { get; set; }
public string Title { get; set; } = null!;
public string Theme { get; set; } = null!;
public string SpeakerName { get; set; } = null!;
public IEnumerable<IFormFile> SpeackerImage { get; set; } = null!;
public IEnumerable<IFormFile> PlaceImages { get; set; } = null!;
public string Splecializations { get; set; } = null!;
public string Type { get; set; } = "онлайн/офлайн";
public string SpeakerTelephone { get; set; } = null!;
public string SpeakerEmail { get; set; } = null!;
public string Tags { get; set; } = null!;
public string Urls { get; set; } = null!;
public string PlaceAdress { get; set; } = null!;
public string Duration { get; set; } = null!;
}

View File

@ -0,0 +1,8 @@
public class PostQuestionDto
{
public string Text { get; set; } = null!;
public string MeetingId { get; set; } = null!;
public string UserId { get; set; } = null!;
}

View File

@ -0,0 +1,6 @@
public class PutQuestionDto
{
public string Id { get; set; } = null!;
public string Text { get; set; } = null!;
}

View File

@ -0,0 +1,9 @@
public class PostReactionDto
{
public string QuestionId { get; set; } = null!;
public string UserId { get; set; } = null!;
public bool IsLike { get; set; } = true;
}

View File

@ -0,0 +1,14 @@
public class PostReviewDto
{
public String MeetingId { get; set; } = null!;
public String UserId { get; set; } = null!;
public string Text { get; set; } = null!;
public int Score { get; set; } = 0;
DateTime _date;
public DateTime Date { get => _date; set => _date = value.ToUniversalTime(); }
}

View File

@ -0,0 +1,12 @@
public class PutReviewDto
{
public string Id { get; set; } = null!;
public string Text { get; set; } = null!;
public int Score { get; set; } = 0;
DateTime _date;
public DateTime Date { get => _date; set => _date = value.ToUniversalTime(); }
}

View File

@ -0,0 +1,6 @@
public class PostUserWriteToMetingDto
{
public String UserId { get; set; } = null!;
public String MeetingId { get; set; } = null!;
}

View File

@ -0,0 +1,17 @@
public class StatsData
{
public double Hours{ get; set; }
public int Count { get; set; }
public List<TagStats> StatsByTag { get; set; } = new List<TagStats>();
public class TagStats
{
public string Tag { get; set; } = null!;
public int Count { get; set; }
public double Hours { get; set; }
}
}

View File

@ -0,0 +1,12 @@
public class UserPost
{
public IFormFile Avatar { get; set; } = null!;
public string Fio { get; set; } = null!;
public string Username { get; set; } = null!;
public string Specialities { get; set; } = null!;
public string TelegramBotUrl { get; set; } = null!;
}

View File

@ -0,0 +1,14 @@
public class UserPut
{
public string Id { get; set; } = null!;
public IFormFile Avatar { get; set; } = null!;
public string Fio { get; set; } = null!;
public string Username { get; set; } = null!;
public string Specialities { get; set; } = null!;
public string TelegramBotUrl { get; set; } = null!;
}