Skip to content

Commit 73a64fc

Browse files
authored
rbiyovskiy/739 workshop control of the available places (#749)
* Model, DTO and mapping * Changes in the services * Tests' changes * Migration * Deleted migration * Restore using OutOfSchool.Common.Enums * Migration * fixed test
1 parent da36a7f commit 73a64fc

File tree

11 files changed

+2734
-180
lines changed

11 files changed

+2734
-180
lines changed

OutOfSchool/OutOfSchool.DataAccess/Models/Workshop.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ public class Workshop : IKeyedEntity<Guid>, IImageDependentEntity<Workshop>
101101

102102
public WorkshopStatus Status { get; set; }
103103

104+
public uint AvailableSeats { get; set; } = uint.MaxValue;
105+
104106
public virtual Provider Provider { get; set; }
105107

106108
public virtual InstitutionHierarchy InstitutionHierarchy { get; set; }

0 commit comments

Comments
 (0)