diff --git a/api/src/Kurs.Platform.DbMigrator/Seeds/PlatformDataSeeder.cs b/api/src/Kurs.Platform.DbMigrator/Seeds/PlatformDataSeeder.cs index fda407a4..cafc9b76 100644 --- a/api/src/Kurs.Platform.DbMigrator/Seeds/PlatformDataSeeder.cs +++ b/api/src/Kurs.Platform.DbMigrator/Seeds/PlatformDataSeeder.cs @@ -67,7 +67,34 @@ public class PlatformDataSeeder : IDataSeedContributor, ITransientDependency private readonly IRepository _contactRepository; private readonly IRepository _classroomRepository; + private readonly IRepository _behaviorRepository; + private readonly IRepository _diseaseRepository; + private readonly IRepository _documentRepository; + private readonly IRepository _educationStatusRepository; + private readonly IRepository _vaccineRepository; + private readonly IRepository _workHourRepository; + private readonly IRepository _scheduleRepository; + private readonly IRepository _salesRejectionReasonRepository; + private readonly IRepository _noteTypeRepository; + private readonly IRepository _lessonPeriodRepository; + private readonly IRepository _informationRepository; + private readonly IRepository _meetingMethodRepository; + private readonly IRepository _meetingResultRepository; + private readonly IRepository _classCancellationReasonRepository; + private readonly IRepository _eventTypeRepository; + private readonly IRepository _eventCategoryRepository; + private readonly IRepository _eventRepository; + private readonly IRepository _sourceRepository; + private readonly IRepository _interestingRepository; + private readonly IRepository _programRepository; + private readonly IRepository _registrationTypeRepository; + private readonly IRepository _registrationMethodRepository; + private readonly IRepository _classTypeRepository; + private readonly IRepository _classRepository; + private readonly IRepository _levelRepository; + public PlatformDataSeeder( + IRepository aiBotRepository, IRepository languages, IRepository languageKey, IRepository languagesText, @@ -92,21 +119,46 @@ public class PlatformDataSeeder : IDataSeedContributor, ITransientDependency IRepository skillLevelRepository, IRepository contactTagRepository, IRepository contactTitleRepository, - IRepository blogCategoryRepository, - IRepository blogPostsRepository, IRepository forumCategoryRepository, - IRepository aiBotRepository, IRepository routeRepository, IRepository customEndpointRepository, + IRepository customComponentRepository, + IRepository reportCategoriesRepository, + IRepository aboutRepository, + IRepository servicesRepository, IRepository productRepository, IRepository paymentMethodRepository, IRepository installmentOptionRepository, - IRepository customComponentRepository, - IRepository reportCategoriesRepository, - IRepository servicesRepository, - IRepository aboutRepository, + IRepository blogCategoryRepository, + IRepository blogPostsRepository, IRepository contactRepository, - IRepository classroomRepository + IRepository classroomRepository, + + IRepository behaviorRepository, + IRepository diseaseRepository, + IRepository documentRepository, + IRepository educationStatusRepository, + IRepository vaccineRepository, + IRepository workHourRepository, + IRepository scheduleRepository, + IRepository salesRejectionReasonRepository, + IRepository noteTypeRepository, + IRepository lessonPeriodRepository, + IRepository informationRepository, + IRepository meetingMethodRepository, + IRepository meetingResultRepository, + IRepository classCancellationReasonRepository, + IRepository eventTypeRepository, + IRepository eventCategoryRepository, + IRepository eventRepository, + IRepository sourceRepository, + IRepository interestingRepository, + IRepository programRepository, + IRepository registrationTypeRepository, + IRepository registrationMethodRepository, + IRepository classTypeRepository, + IRepository classRepository, + IRepository levelRepository ) { _languages = languages; @@ -148,6 +200,32 @@ public class PlatformDataSeeder : IDataSeedContributor, ITransientDependency _aboutRepository = aboutRepository; _contactRepository = contactRepository; _classroomRepository = classroomRepository; + + _behaviorRepository = behaviorRepository; + _diseaseRepository = diseaseRepository; + _documentRepository = documentRepository; + _educationStatusRepository = educationStatusRepository; + _vaccineRepository = vaccineRepository; + _workHourRepository = workHourRepository; + _scheduleRepository = scheduleRepository; + _salesRejectionReasonRepository = salesRejectionReasonRepository; + _noteTypeRepository = noteTypeRepository; + _lessonPeriodRepository = lessonPeriodRepository; + _informationRepository = informationRepository; + _meetingMethodRepository = meetingMethodRepository; + _meetingResultRepository = meetingResultRepository; + _classCancellationReasonRepository = classCancellationReasonRepository; + _eventTypeRepository = eventTypeRepository; + _eventCategoryRepository = eventCategoryRepository; + _eventRepository = eventRepository; + _sourceRepository = sourceRepository; + _interestingRepository = interestingRepository; + _programRepository = programRepository; + _registrationTypeRepository = registrationTypeRepository; + _registrationMethodRepository = registrationMethodRepository; + _classTypeRepository = classTypeRepository; + _classRepository = classRepository; + _levelRepository = levelRepository; } private static IConfigurationRoot BuildConfiguration() @@ -462,7 +540,6 @@ public class PlatformDataSeeder : IDataSeedContributor, ITransientDependency TwoLetterISOLanguageName = new CultureInfo(item.CultureName).TwoLetterISOLanguageName, }); } - } foreach (var item in items.LanguageTexts) @@ -1007,5 +1084,365 @@ public class PlatformDataSeeder : IDataSeedContributor, ITransientDependency await SeedCitiesAsync(); await SeedDistrictsAsync(); + + foreach (var item in items.Behaviors) + { + var exists = await _behaviorRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _behaviorRepository.InsertAsync(new() + { + Name = item.Name, + }); + } + } + + foreach (var item in items.Documents) + { + var exists = await _documentRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _documentRepository.InsertAsync(new() + { + Name = item.Name, + }); + } + } + + foreach (var item in items.Diseases) + { + var exists = await _diseaseRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _diseaseRepository.InsertAsync(new() + { + Name = item.Name, + }); + } + } + + foreach (var item in items.EducationStatuses) + { + var exists = await _educationStatusRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _educationStatusRepository.InsertAsync(new() + { + Name = item.Name, + Order = item.Order + }); + } + } + + foreach (var item in items.Vaccines) + { + var exists = await _vaccineRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _vaccineRepository.InsertAsync(new() + { + Name = item.Name, + }); + } + } + + foreach (var item in items.WorkHours) + { + var exists = await _workHourRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _workHourRepository.InsertAsync(new() + { + Name = item.Name, + StartHour = item.StartHour, + EndHour = item.EndHour, + IsFixed = item.IsFixed, + Monday = item.Monday, + Tuesday = item.Tuesday, + Wednesday = item.Wednesday, + Thursday = item.Thursday, + Friday = item.Friday, + Saturday = item.Saturday, + Sunday = item.Sunday, + }); + } + } + + foreach (var item in items.Schedules) + { + var exists = await _scheduleRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _scheduleRepository.InsertAsync(new() + { + Name = item.Name, + Status = item.Status, + StartTime = item.StartTime, + EndTime = item.EndTime, + LessonMinute = item.LessonMinute, + LessonBreakMinute = item.LessonBreakMinute, + LessonCount = item.LessonCount, + LunchTime = item.LunchTime, + LunchMinute = item.LunchMinute, + IncludeLunch = item.IncludeLunch, + Monday = item.Monday, + Tuesday = item.Tuesday, + Wednesday = item.Wednesday, + Thursday = item.Thursday, + Friday = item.Friday, + Saturday = item.Saturday, + Sunday = item.Sunday, + }); + } + } + + foreach (var item in items.SalesRejectionReasons) + { + var exists = await _salesRejectionReasonRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _salesRejectionReasonRepository.InsertAsync(new() + { + Name = item.Name, + Status = item.Status + }); + } + } + + foreach (var item in items.NoteTypes) + { + var exists = await _noteTypeRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _noteTypeRepository.InsertAsync(new() + { + Name = item.Name, + }); + } + } + + foreach (var item in items.LessonPeriods) + { + var exists = await _lessonPeriodRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _lessonPeriodRepository.InsertAsync(new() + { + Name = item.Name, + Day = item.Day, + Lesson1 = item.Lesson1, + Lesson2 = item.Lesson2, + Lesson3 = item.Lesson3, + Lesson4 = item.Lesson4, + }); + } + } + + foreach (var item in items.Informations) + { + var exists = await _informationRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _informationRepository.InsertAsync(new() + { + Name = item.Name, + }); + } + } + + foreach (var item in items.MeetingMethods) + { + var exists = await _meetingMethodRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _meetingMethodRepository.InsertAsync(new() + { + Name = item.Name, + Type = item.Type + }); + } + } + + foreach (var item in items.MeetingResults) + { + var exists = await _meetingResultRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _meetingResultRepository.InsertAsync(new() + { + Name = item.Name, + Order = item.Order + }); + } + } + + foreach (var item in items.ClassCancellationReasons) + { + var exists = await _classCancellationReasonRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _classCancellationReasonRepository.InsertAsync(new() + { + Name = item.Name, + Status = item.Status + }); + } + } + + foreach (var item in items.EventTypes) + { + var exists = await _eventTypeRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _eventTypeRepository.InsertAsync(new EventType(item.Id, item.Name)); + } + } + + foreach (var item in items.EventCategories) + { + var exists = await _eventCategoryRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _eventCategoryRepository.InsertAsync(new EventCategory(item.Id, item.Name)); + } + } + + foreach (var item in items.Sources) + { + var exists = await _sourceRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _sourceRepository.InsertAsync(new Source + { + Name = item.Name, + Status = item.Status + }); + } + } + + foreach (var item in items.Interesting) + { + var exists = await _interestingRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _interestingRepository.InsertAsync(new Interesting + { + Name = item.Name, + Status = item.Status + }); + } + } + + foreach (var item in items.Programs) + { + var exists = await _programRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _programRepository.InsertAsync(new Program + { + Name = item.Name, + Status = item.Status + }); + } + } + + foreach (var item in items.RegistrationTypes) + { + var exists = await _registrationTypeRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _registrationTypeRepository.InsertAsync(new RegistrationType( + item.Id, + item.Name, + item.Status + )); + } + } + + foreach (var item in items.RegistrationMethods) + { + var exists = await _registrationMethodRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _registrationMethodRepository.InsertAsync(new RegistrationMethod + { + RegistrationTypeId = item.RegistrationTypeId, + Name = item.Name, + Status = item.Status + }); + } + } + + foreach (var item in items.ClassTypes) + { + var exists = await _classTypeRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _classTypeRepository.InsertAsync(new ClassType( + item.Id, + item.RegistrationTypeId, + item.Name, + item.MinStudentCount, + item.MaxStudentCount, + item.Status + )); + } + } + + foreach (var item in items.Classes) + { + var exists = await _classRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _classRepository.InsertAsync(new() + { + ClassTypeId = item.ClassTypeId, + Name = item.Name, + Status = item.Status, + }); + } + } + + foreach (var item in items.Levels) + { + var exists = await _levelRepository.AnyAsync(x => x.Name == item.Name); + + if (!exists) + { + await _levelRepository.InsertAsync(new Level + { + ClassTypeId = item.ClassTypeId, + Name = item.Name, + LevelType = item.LevelType, + LessonCount = item.LessonCount, + Status = item.Status, + LessonDuration = item.LessonDuration, + MonthlyPaymentRate = item.MonthlyPaymentRate + }); + } + } } } diff --git a/api/src/Kurs.Platform.DbMigrator/Seeds/SeederData.json b/api/src/Kurs.Platform.DbMigrator/Seeds/SeederData.json index 472d6446..e06ad69d 100644 --- a/api/src/Kurs.Platform.DbMigrator/Seeds/SeederData.json +++ b/api/src/Kurs.Platform.DbMigrator/Seeds/SeederData.json @@ -62,7 +62,6 @@ "IsEnabled": true, "MultiTenancySide": 3 }, - { "GroupName": "App.Saas", "Name": "AbpTenantManagement.Tenants", @@ -1015,7 +1014,6 @@ "IsEnabled": true, "MultiTenancySide": 2 }, - { "GroupName": "App.Saas", "Name": "App.BlogManagement.Category", @@ -1064,7 +1062,6 @@ "IsEnabled": true, "MultiTenancySide": 2 }, - { "GroupName": "App.Saas", "Name": "App.About", @@ -1113,7 +1110,6 @@ "IsEnabled": true, "MultiTenancySide": 2 }, - { "GroupName": "App.Saas", "Name": "App.Services", @@ -1162,7 +1158,6 @@ "IsEnabled": true, "MultiTenancySide": 2 }, - { "GroupName": "App.Saas", "Name": "App.Orders.Products", @@ -1211,7 +1206,6 @@ "IsEnabled": true, "MultiTenancySide": 2 }, - { "GroupName": "App.Saas", "Name": "App.Orders.PaymentMethods", @@ -1260,7 +1254,6 @@ "IsEnabled": true, "MultiTenancySide": 2 }, - { "GroupName": "App.Saas", "Name": "App.Orders.InstallmentOptions", @@ -1309,7 +1302,6 @@ "IsEnabled": true, "MultiTenancySide": 2 }, - { "GroupName": "App.Saas", "Name": "App.Orders.PurchaseOrders", @@ -1358,7 +1350,6 @@ "IsEnabled": true, "MultiTenancySide": 2 }, - { "GroupName": "App.Saas", "Name": "App.BlogManagement.Posts", @@ -1511,7 +1502,6 @@ "IsEnabled": true, "MultiTenancySide": 2 }, - { "GroupName": "App.Administration", "Name": "App.Setting", @@ -2808,7 +2798,6 @@ "IsEnabled": true, "MultiTenancySide": 3 }, - { "GroupName": "App.Coordinator", "Name": "App.Classroom", @@ -2849,7 +2838,6 @@ "IsEnabled": true, "MultiTenancySide": 2 }, - { "GroupName": "App.SupplyChain", "Name": "App.SupplyChain.MaterialTypes", @@ -3282,7 +3270,6 @@ "IsEnabled": true, "MultiTenancySide": 3 }, - { "GroupName": "App.Maintenance", "Name": "App.Maintenance.Workcenters", @@ -3571,7 +3558,6 @@ "IsEnabled": true, "MultiTenancySide": 3 }, - { "GroupName": "App.Warehouse", "Name": "App.Warehouse.Definitions", @@ -4004,7 +3990,6 @@ "IsEnabled": true, "MultiTenancySide": 3 }, - { "GroupName": "App.Projects", "Name": "App.Projects.List", @@ -4341,7 +4326,6 @@ "IsEnabled": true, "MultiTenancySide": 3 }, - { "GroupName": "App.HR", "Name": "App.HR.Employees", @@ -4918,7 +4902,6 @@ "IsEnabled": true, "MultiTenancySide": 3 }, - { "GroupName": "App.CRM", "Name": "App.CRM.Customers", @@ -5207,7 +5190,6 @@ "IsEnabled": true, "MultiTenancySide": 3 }, - { "GroupName": "App.MRP", "Name": "App.MRP.OperationTypes", @@ -5640,7 +5622,6 @@ "IsEnabled": true, "MultiTenancySide": 3 }, - { "GroupName": "App.Accounting", "Name": "App.Accounting.CurrentAccounts", @@ -6601,7 +6582,6 @@ "RequiredPermissionName": "App.Definitions.Bank", "IsDisabled": false }, - { "ParentCode": null, "Code": "App.Participant", @@ -6612,7 +6592,6 @@ "RequiredPermissionName": null, "IsDisabled": false }, - { "ParentCode": null, "Code": "App.Coordinator", @@ -6633,7 +6612,6 @@ "RequiredPermissionName": "App.Classroom.Dashboard", "IsDisabled": false }, - { "ParentCode": null, "Code": "App.SupplyChain", @@ -6734,7 +6712,6 @@ "RequiredPermissionName": "App.SupplyChain.Delivery", "IsDisabled": false }, - { "ParentCode": null, "Code": "App.Maintenance", @@ -6805,7 +6782,6 @@ "RequiredPermissionName": "App.Maintenance.Workorders", "IsDisabled": false }, - { "ParentCode": null, "Code": "App.Warehouse", @@ -6906,7 +6882,6 @@ "RequiredPermissionName": "App.Warehouse.Stocklevel", "IsDisabled": false }, - { "ParentCode": null, "Code": "App.Projects", @@ -6987,7 +6962,6 @@ "RequiredPermissionName": "App.Projects.DailyUpdates", "IsDisabled": false }, - { "ParentCode": null, "Code": "App.HR", @@ -7118,7 +7092,6 @@ "RequiredPermissionName": "App.HR.Evaluation", "IsDisabled": false }, - { "ParentCode": null, "Code": "App.CRM", @@ -7189,7 +7162,6 @@ "RequiredPermissionName": "App.CRM.SalesOrders", "IsDisabled": false }, - { "ParentCode": null, "Code": "App.MRP", @@ -7290,7 +7262,6 @@ "RequiredPermissionName": "App.MRP.PlanningGantt", "IsDisabled": false }, - { "ParentCode": null, "Code": "App.Accounting", @@ -7508,14 +7479,18 @@ "path": "/admin/menuManager", "componentPath": "@/views/menu/MenuManager", "routeType": "protected", - "authority": ["App.Menus.Manager"] + "authority": [ + "App.Menus.Manager" + ] }, { "key": "admin.listFormManagement.wizard", "path": "/admin/listform/wizard", "componentPath": "@/views/admin/listForm/Wizard", "routeType": "protected", - "authority": ["App.Listforms.Wizard"] + "authority": [ + "App.Listforms.Wizard" + ] }, { "key": "admin.listFormManagement.edit", @@ -7529,14 +7504,18 @@ "path": "/admin/forumManagement", "componentPath": "@/views/forum/Management", "routeType": "protected", - "authority": ["App.ForumManagement"] + "authority": [ + "App.ForumManagement" + ] }, { "key": "admin.ai", "path": "/admin/ai", "componentPath": "@/views/ai/Assistant", "routeType": "protected", - "authority": ["Abp.Identity.Ai"] + "authority": [ + "Abp.Identity.Ai" + ] }, { "key": "admin.profile.general", @@ -7578,28 +7557,36 @@ "path": "/admin/settings", "componentPath": "@/views/settings/Settings", "routeType": "protected", - "authority": ["App.Setting"] + "authority": [ + "App.Setting" + ] }, { "key": "admin.identity.user.detail", "path": "/admin/users/detail/:userId", "componentPath": "@/views/admin/user-management/Details", "routeType": "protected", - "authority": ["AbpIdentity.Users.Update"] + "authority": [ + "AbpIdentity.Users.Update" + ] }, { "key": "admin.identity.ous", "path": "/admin/ous", "componentPath": "@/views/admin/organization-unit/OrganizationUnits", "routeType": "protected", - "authority": ["Abp.Identity.OrganizationUnits"] + "authority": [ + "Abp.Identity.OrganizationUnits" + ] }, { "key": "admin.forum", "path": "/admin/forum", "componentPath": "@/views/forum/Forum", "routeType": "protected", - "authority": ["App.ForumManagement.Publish"] + "authority": [ + "App.ForumManagement.Publish" + ] }, { "key": "admin.list", @@ -7648,114 +7635,145 @@ "path": "/admin/developerkit", "componentPath": "@/views/developerKit/DashboardPage", "routeType": "protected", - "authority": ["App.DeveloperKit"] + "authority": [ + "App.DeveloperKit" + ] }, { "key": "admin.developerkit.entities", "path": "/admin/developerkit/entities", "componentPath": "@/views/developerKit/EntityPage", "routeType": "protected", - "authority": ["App.DeveloperKit.Entity"] + "authority": [ + "App.DeveloperKit.Entity" + ] }, { "key": "admin.developerkit.entities.new", "path": "/admin/developerkit/entities/new", "componentPath": "@/views/developerKit/EntityDetailPage", "routeType": "protected", - "authority": ["App.DeveloperKit.Entity"] + "authority": [ + "App.DeveloperKit.Entity" + ] }, { "key": "admin.developerkit.entities.edit", "path": "/admin/developerkit/entities/edit/:id", "componentPath": "@/views/developerKit/EntityDetailPage", "routeType": "protected", - "authority": ["App.DeveloperKit.Entity"] + "authority": [ + "App.DeveloperKit.Entity" + ] }, { "key": "admin.developerkit.migrations", "path": "/admin/developerkit/migrations", "componentPath": "@/views/developerKit/MigrationPage", "routeType": "protected", - "authority": ["App.DeveloperKit.Migrations"] + "authority": [ + "App.DeveloperKit.Migrations" + ] }, { "key": "admin.developerkit.endpoints", "path": "/admin/developerkit/endpoints", "componentPath": "@/views/developerKit/EndpointPage", "routeType": "protected", - "authority": ["App.DeveloperKit.Endpoints"] + "authority": [ + "App.DeveloperKit.Endpoints" + ] }, { "key": "admin.developerkit.components", "path": "/admin/developerkit/components", "componentPath": "@/views/developerKit/ComponentPage", "routeType": "protected", - "authority": ["App.DeveloperKit.Components"] + "authority": [ + "App.DeveloperKit.Components" + ] }, { "key": "admin.developerkit.components.new", "path": "/admin/developerkit/components/new", "componentPath": "@/views/developerKit/ComponentDetailPage", "routeType": "protected", - "authority": ["App.DeveloperKit.Components"] + "authority": [ + "App.DeveloperKit.Components" + ] }, { "key": "admin.developerkit.components.view", "path": "/admin/developerkit/components/view/:id", "componentPath": "@/views/developerKit/ComponentDetailPage", "routeType": "protected", - "authority": ["App.DeveloperKit.Components"] + "authority": [ + "App.DeveloperKit.Components" + ] }, { "key": "admin.developerkit.components.edit", "path": "/admin/developerkit/components/edit/:id", "componentPath": "@/views/developerKit/CodePage", "routeType": "protected", - "authority": ["App.DeveloperKit.Components"] + "authority": [ + "App.DeveloperKit.Components" + ] }, { "key": "admin.reportManagement", "path": "/admin/reports/management", "componentPath": "@/views/report/DashboardPage", "routeType": "protected", - "authority": ["App.Reports.Management"] + "authority": [ + "App.Reports.Management" + ] }, { "key": "admin.reports.view", "path": "/admin/reports/:id", "componentPath": "@/views/report/ReportViewerPage", "routeType": "protected", - "authority": ["App.Reports.Categories"] + "authority": [ + "App.Reports.Categories" + ] }, { "key": "admin.classroom.dashboard", "path": "/admin/classroom/dashboard", "componentPath": "@/views/classroom/Dashboard", "routeType": "protected", - "authority": ["App.Classroom.Dashboard"] + "authority": [ + "App.Classroom.Dashboard" + ] }, { "key": "admin.classroom.classes", "path": "/admin/classroom/classes", "componentPath": "@/views/classroom/ClassList", "routeType": "protected", - "authority": ["App.Classroom.List"] + "authority": [ + "App.Classroom.List" + ] }, { "key": "admin.classroom.classroom", "path": "/admin/classroom/room/:id", "componentPath": "@/views/classroom/RoomDetail", "routeType": "protected", - "authority": ["App.Classroom.RoomDetail"] + "authority": [ + "App.Classroom.RoomDetail" + ] }, { "key": "admin.classroom.planning", "path": "/admin/classroom/planning/:id", "componentPath": "@/views/classroom/PlanningPage", "routeType": "protected", - "authority": ["App.Classroom.Planning"] + "authority": [ + "App.Classroom.Planning" + ] }, - { "key": "admin.supplychain.materialTypes", "path": "/admin/supplychain/materials/types", @@ -7903,7 +7921,6 @@ "routeType": "protected", "authority": null }, - { "key": "admin.maintenance.equipment", "path": "/admin/maintenance/equipment", @@ -7988,7 +8005,6 @@ "routeType": "protected", "authority": null }, - { "key": "admin.warehouse.definitions", "path": "/admin/warehouse/definitions", @@ -8087,7 +8103,6 @@ "routeType": "protected", "authority": null }, - { "key": "admin.project.list", "path": "/admin/projects", @@ -19073,7 +19088,6 @@ "tr": "Sınıf Planlama", "en": "Classroom Planning" }, - { "resourceName": "Platform", "key": "App.SupplyChain.MaterialTypes", @@ -19466,7 +19480,10 @@ "descriptionKey": "Abp.Localization.DefaultLanguage.Description", "defaultValue": "en", "isVisibleToClients": false, - "providers": ["G", "D"], + "providers": [ + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.SiteManagement", @@ -19500,7 +19517,10 @@ "descriptionKey": "Abp.Localization.Timezone.Description", "defaultValue": "UTC", "isVisibleToClients": false, - "providers": ["G", "D"], + "providers": [ + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.SiteManagement", @@ -19656,7 +19676,11 @@ "descriptionKey": "App.SiteManagement.Theme.Style.Description", "defaultValue": "dx.light.compact", "isVisibleToClients": true, - "providers": ["U", "G", "D"], + "providers": [ + "U", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.SiteManagement", @@ -19704,7 +19728,10 @@ "descriptionKey": "App.SiteManagement.General.NewMemberNotificationEmails.Description", "defaultValue": "system@sozsoft.com", "isVisibleToClients": false, - "providers": ["G", "D"], + "providers": [ + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.SiteManagement", @@ -19720,7 +19747,10 @@ "descriptionKey": "App.SiteManagement.General.TimedLoginEmails.Description", "defaultValue": "system@sozsoft.com", "isVisibleToClients": false, - "providers": ["G", "D"], + "providers": [ + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.SiteManagement", @@ -19736,7 +19766,11 @@ "descriptionKey": "App.Sender.Sms.PostaGuvercini.Url.Description", "defaultValue": "https://www.postaguvercini.com/api_http", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.Sender", @@ -19752,7 +19786,11 @@ "descriptionKey": "App.Sender.Sms.PostaGuvercini.Username.Description", "defaultValue": "2AIlj4QlCrvlbDDBS/712A==", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": true, "mainGroupKey": "App.Sender", @@ -19768,7 +19806,11 @@ "descriptionKey": "App.Sender.Sms.PostaGuvercini.Password.Description", "defaultValue": "oTuwyZM9sxfJI+jDH5wJAw==", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": true, "mainGroupKey": "App.Sender", @@ -19784,7 +19826,11 @@ "descriptionKey": "App.Sender.WhatsApp.Url.Description", "defaultValue": "https://graph.facebook.com/v21.0", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.Sender", @@ -19800,7 +19846,11 @@ "descriptionKey": "App.Sender.WhatsApp.PhoneNumberId.Description", "defaultValue": "442035112335974", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.Sender", @@ -19816,7 +19866,11 @@ "descriptionKey": "App.Sender.WhatsApp.Token.Description", "defaultValue": "EAANoftqZAJ64BO5oPwXPqniUtNGF70u8TKvQVzGZBaYQh5UY8fYrgQkcXP9UbQUqT9PWRah1L7TzcBIiWQMacT8AkmZB33AP1begLoywIZCsQSdBSUz21GQaCowfVosYgBoXSyqH8irSBPQDLIjxxVxrC2n76SD9X6zPXeHgOqIPY92DqJXplstWrlhtZCAZDZD", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.Sender", @@ -19832,7 +19886,11 @@ "descriptionKey": "App.Sender.WhatsApp.TemplateName.Description", "defaultValue": "kurs_platform_notification", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.Sender", @@ -19848,7 +19906,10 @@ "descriptionKey": "App.Sender.Rocket.Url.Description", "defaultValue": "https://chat.sozsoft.com/api/v1", "isVisibleToClients": false, - "providers": ["G", "D"], + "providers": [ + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.Sender", @@ -19864,7 +19925,10 @@ "descriptionKey": "App.Sender.Rocket.UserId.Description", "defaultValue": "LfpzPjzag4QJXm84N", "isVisibleToClients": false, - "providers": ["G", "D"], + "providers": [ + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.Sender", @@ -19880,7 +19944,10 @@ "descriptionKey": "App.Sender.Rocket.Token.Description", "defaultValue": "jvqALawvXn0Q7c6FfHJV3h58DCHDfQLgFF5y7oIc7oc", "isVisibleToClients": false, - "providers": ["G", "D"], + "providers": [ + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "App.Sender", @@ -19896,7 +19963,11 @@ "descriptionKey": "Abp.Mailing.DefaultFromDisplayName.Description", "defaultValue": "Kurs", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Mailing", @@ -19912,7 +19983,11 @@ "descriptionKey": "Abp.Mailing.DefaultFromAddress.Description", "defaultValue": "system@sozsoft.com", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Mailing", @@ -19928,7 +20003,11 @@ "descriptionKey": "Abp.Mailing.Smtp.UserName.Description", "defaultValue": "system@sozsoft.com", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Mailing", @@ -19944,7 +20023,11 @@ "descriptionKey": "Abp.Mailing.Smtp.Password.Description", "defaultValue": "QT9L7BCl1CT/1Hq19HoSlQ==", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": true, "mainGroupKey": "Abp.Mailing", @@ -19960,7 +20043,11 @@ "descriptionKey": "Abp.Mailing.Smtp.Host.Description", "defaultValue": "127.0.0.1", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Mailing", @@ -19976,7 +20063,11 @@ "descriptionKey": "Abp.Mailing.Smtp.Port.Description", "defaultValue": "25", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Mailing", @@ -19992,7 +20083,11 @@ "descriptionKey": "Abp.Mailing.Smtp.Domain.Description", "defaultValue": "sozsoft.com", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Mailing", @@ -20008,7 +20103,11 @@ "descriptionKey": "Abp.Mailing.Smtp.EnableSsl.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Mailing", @@ -20024,7 +20123,11 @@ "descriptionKey": "Abp.Mailing.AWS.Profile.Description", "defaultValue": "mail-sdk-user", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Mailing", @@ -20040,7 +20143,11 @@ "descriptionKey": "Abp.Mailing.AWS.Region.Description", "defaultValue": "eu-central-1", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Mailing", @@ -20056,7 +20163,11 @@ "descriptionKey": "Abp.Mailing.AWS.AccessKey.Description", "defaultValue": "aXW8L21rP6dPO6Txj76Be2FCpWRBa25EMrSAVL76", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Mailing", @@ -20072,7 +20183,11 @@ "descriptionKey": "Abp.Mailing.AWS.AccessKeyId.Description", "defaultValue": "AKIATULUYBLX4IY3S2P1", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Mailing", @@ -20088,7 +20203,10 @@ "descriptionKey": "Abp.Account.IsSelfRegistrationEnabled.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": ["G", "D"], + "providers": [ + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Account", @@ -20104,7 +20222,10 @@ "descriptionKey": "Abp.Account.EnableLocalLogin.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": ["G", "D"], + "providers": [ + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Account", @@ -20120,7 +20241,11 @@ "descriptionKey": "Abp.Account.TwoFactor.Enabled.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Account", @@ -20136,7 +20261,10 @@ "descriptionKey": "Abp.Account.Captcha.MaxFailedAccessAttempts.Description", "defaultValue": "3", "isVisibleToClients": false, - "providers": ["G", "D"], + "providers": [ + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Account", @@ -20152,7 +20280,10 @@ "descriptionKey": "Abp.Account.Captcha.EndPoint.Description", "defaultValue": "https://challenges.cloudflare.com/turnstile/v0/siteverify", "isVisibleToClients": false, - "providers": ["G", "D"], + "providers": [ + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Account", @@ -20168,7 +20299,10 @@ "descriptionKey": "Abp.Account.Captcha.SiteKey.Description", "defaultValue": "0x4AAAAAAAGadwQME-GSYuJU", "isVisibleToClients": false, - "providers": ["G", "D"], + "providers": [ + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Account", @@ -20184,7 +20318,10 @@ "descriptionKey": "Abp.Account.Captcha.SecretKey.Description", "defaultValue": "0x4AAAAAAAGad_f_WP47IcNBs9FTu5DhNX8", "isVisibleToClients": false, - "providers": ["G", "D"], + "providers": [ + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Account", @@ -20200,7 +20337,11 @@ "descriptionKey": "Abp.Identity.Profile.General.RequireVerifiedAccount.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -20216,7 +20357,11 @@ "descriptionKey": "Abp.Identity.Profile.General.BlacklistedEmailProviders.Description", "defaultValue": "gmail.com\r\nyahoo.com\r\nhotmail.com", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -20232,7 +20377,11 @@ "descriptionKey": "Abp.Identity.Password.ForceUsersToPeriodicallyChangePassword.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -20248,7 +20397,11 @@ "descriptionKey": "Abp.Identity.Password.PasswordChangePeriodDays.Description", "defaultValue": "0", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -20264,7 +20417,11 @@ "descriptionKey": "Abp.Identity.Password.RequiredLength.Description", "defaultValue": "6", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -20280,7 +20437,11 @@ "descriptionKey": "Abp.Identity.Password.RequiredUniqueChars.Description", "defaultValue": "1", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -20296,7 +20457,11 @@ "descriptionKey": "Abp.Identity.Password.RequireNonAlphanumeric.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -20312,7 +20477,11 @@ "descriptionKey": "Abp.Identity.Password.RequireLowercase.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -20328,7 +20497,11 @@ "descriptionKey": "Abp.Identity.Password.RequireUppercase.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -20344,7 +20517,11 @@ "descriptionKey": "Abp.Identity.Password.RequireDigit.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -20360,7 +20537,11 @@ "descriptionKey": "Abp.Identity.Lockout.AllowedForNewUsers.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -20376,7 +20557,11 @@ "descriptionKey": "Abp.Identity.Lockout.LockoutDuration.Description", "defaultValue": "300", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -20392,7 +20577,11 @@ "descriptionKey": "Abp.Identity.Lockout.MaxFailedAccessAttempts.Description", "defaultValue": "5", "isVisibleToClients": false, - "providers": ["T", "G", "D"], + "providers": [ + "T", + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -20408,7 +20597,10 @@ "descriptionKey": "Abp.Identity.SignIn.RequireConfirmedEmail.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": ["G", "D"], + "providers": [ + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -20424,7 +20616,10 @@ "descriptionKey": "Abp.Identity.SignIn.RequireConfirmedPhoneNumber.Description", "defaultValue": "False", "isVisibleToClients": false, - "providers": ["G", "D"], + "providers": [ + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -20440,7 +20635,10 @@ "descriptionKey": "Abp.Identity.User.IsUserNameUpdateEnabled.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": ["G", "D"], + "providers": [ + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -20456,7 +20654,10 @@ "descriptionKey": "Abp.Identity.User.IsEmailUpdateEnabled.Description", "defaultValue": "True", "isVisibleToClients": false, - "providers": ["G", "D"], + "providers": [ + "G", + "D" + ], "isInherited": false, "isEncrypted": false, "mainGroupKey": "Abp.Identity", @@ -22677,7 +22878,9 @@ "props": null, "description": null, "isActive": true, - "dependencies": ["AxiosListComponent"] + "dependencies": [ + "AxiosListComponent" + ] } ], "ReportCategories": [ @@ -22951,5 +23154,1477 @@ "participantCount": 0, "settingsJson": "{\"AllowHandRaise\":true,\"AllowStudentChat\":true,\"AllowPrivateMessages\":true,\"AllowStudentScreenShare\":true,\"DefaultMicrophoneState\":\"muted\",\"DefaultCameraState\":\"off\",\"DefaultLayout\":\"grid\",\"AutoMuteNewParticipants\":true}" } + ], + "Behaviors": [ + { + "Name": "Altını Islatma" + }, + { + "Name": "Aşırı Hareketlilik" + }, + { + "Name": "Diğer" + }, + { + "Name": "Kekemelik" + }, + { + "Name": "Parmak Emme" + }, + { + "Name": "Saldırganlık" + }, + { + "Name": "Tırnak Yeme" + }, + { + "Name": "Tik" + } + ], + "Vaccines": [ + { + "Name": "Erişkin Tipi Difteri, Tetanoz Aşısı (Td)" + }, + { + "Name": "Hepatit B Aşısı" + }, + { + "Name": "Kızamık, Kızamıkçık, Kabakulak Aşısı (KKK)" + }, + { + "Name": "Konjüge Pnömokok Aşısı (KPA)" + }, + { + "Name": "Oral Polio Aşısı (OPA)" + }, + { + "Name": "Rapel Pekiştirme Tozu (R)" + }, + { + "Name": "Verem Aşısı (BCG)" + } + ], + "EducationStatuses": [ + { + "Name": "Tahsil Yok", + "Order": 0 + }, + { + "Name": "İlkokul Mezun", + "Order": 1 + }, + { + "Name": "İlkokul Terk", + "Order": 2 + }, + { + "Name": "İlköğretim Mezun", + "Order": 3 + }, + { + "Name": "İlköğretim Terk", + "Order": 4 + }, + { + "Name": "İlköğretim Öğrenci", + "Order": 5 + }, + { + "Name": "Lise Mezun", + "Order": 6 + }, + { + "Name": "Lise Terk", + "Order": 7 + }, + { + "Name": "Lise Öğrenci", + "Order": 8 + }, + { + "Name": "Ön Lisans", + "Order": 9 + }, + { + "Name": "Üniversite Mezun", + "Order": 10 + }, + { + "Name": "Üniversite Terk", + "Order": 11 + }, + { + "Name": "Üniversite Öğrenci", + "Order": 12 + }, + { + "Name": "Yüksek Lisans", + "Order": 13 + }, + { + "Name": "Doktora", + "Order": 14 + } + ], + "Diseases": [ + { + "Name": "Diğer" + }, + { + "Name": "Hepatit A" + }, + { + "Name": "Hepatit B" + }, + { + "Name": "Kabakulak" + }, + { + "Name": "Kızamık" + }, + { + "Name": "Menenjit" + }, + { + "Name": "Sarılık" + }, + { + "Name": "Suçiçeği" + }, + { + "Name": "Zatürre" + } + ], + "WorkHours": [ + { + "Name": "00:00-23:59", + "StartHour": "00:00:00", + "EndHour": "23:59:59", + "IsFixed": false, + "Monday": true, + "Tuesday": true, + "Wednesday": true, + "Thursday": true, + "Friday": true, + "Saturday": true, + "Sunday": true + } + ], + "Documents": [ + { + "Name": "Aşı Karnesi" + }, + { + "Name": "Başvuru Formu" + }, + { + "Name": "Havuz Raporu" + }, + { + "Name": "Kimlik Fotokopisi" + }, + { + "Name": "Sağlık Raporu" + }, + { + "Name": "Sözleşme" + }, + { + "Name": "Vesikalık Resim" + } + ], + "Schedules": [ + { + "Name": "HİA", + "Status": "Aktif", + "StartTime": "19:30", + "EndTime": "22:05", + "LessonMinute": 45, + "LessonBreakMinute": 10, + "LessonCount": 3, + "LunchTime": null, + "LunchMinute": 0, + "IncludeLunch": false, + "Monday": true, + "Tuesday": true, + "Wednesday": true, + "Thursday": true, + "Friday": false, + "Saturday": false, + "Sunday": false + }, + { + "Name": "HİÖ", + "Status": "Aktif", + "StartTime": "16:00", + "EndTime": "18:20", + "LessonMinute": 40, + "LessonBreakMinute": 10, + "LessonCount": 3, + "LunchTime": null, + "LunchMinute": 0, + "IncludeLunch": false, + "Monday": true, + "Tuesday": true, + "Wednesday": true, + "Thursday": true, + "Friday": true, + "Saturday": false, + "Sunday": false + }, + { + "Name": "HİS-2", + "Status": "Aktif", + "StartTime": "10:00", + "EndTime": "13:10", + "LessonMinute": 40, + "LessonBreakMinute": 10, + "LessonCount": 4, + "LunchTime": null, + "LunchMinute": 0, + "IncludeLunch": false, + "Monday": true, + "Tuesday": true, + "Wednesday": true, + "Thursday": true, + "Friday": false, + "Saturday": false, + "Sunday": false + }, + { + "Name": "HSA", + "Status": "Aktif", + "StartTime": "17:00", + "EndTime": "20:10", + "LessonMinute": 40, + "LessonBreakMinute": 10, + "LessonCount": 4, + "LunchTime": null, + "LunchMinute": 0, + "IncludeLunch": false, + "Monday": false, + "Tuesday": false, + "Wednesday": false, + "Thursday": false, + "Friday": false, + "Saturday": true, + "Sunday": true + }, + { + "Name": "HSS-CP", + "Status": "Aktif", + "StartTime": "09:00", + "EndTime": "12:10", + "LessonMinute": 40, + "LessonBreakMinute": 10, + "LessonCount": 4, + "LunchTime": null, + "LunchMinute": 0, + "IncludeLunch": false, + "Monday": false, + "Tuesday": false, + "Wednesday": false, + "Thursday": false, + "Friday": false, + "Saturday": true, + "Sunday": true + }, + { + "Name": "HSÖ", + "Status": "Aktif", + "StartTime": "13:00", + "EndTime": "16:10", + "LessonMinute": 40, + "LessonBreakMinute": 10, + "LessonCount": 4, + "LunchTime": null, + "LunchMinute": 0, + "IncludeLunch": false, + "Monday": false, + "Tuesday": false, + "Wednesday": false, + "Thursday": false, + "Friday": false, + "Saturday": true, + "Sunday": true + }, + { + "Name": "HİÖ-SP", + "Status": "Aktif", + "StartTime": "13:00", + "EndTime": "16:10", + "LessonMinute": 40, + "LessonBreakMinute": 10, + "LessonCount": 4, + "LunchTime": null, + "LunchMinute": 0, + "IncludeLunch": false, + "Monday": false, + "Tuesday": false, + "Wednesday": true, + "Thursday": false, + "Friday": true, + "Saturday": false, + "Sunday": false + }, + { + "Name": "HİÖ-PÇC", + "Status": "Aktif", + "StartTime": "14:30", + "EndTime": "17:25", + "LessonMinute": 40, + "LessonBreakMinute": 5, + "LessonCount": 4, + "LunchTime": null, + "LunchMinute": 0, + "IncludeLunch": false, + "Monday": true, + "Tuesday": true, + "Wednesday": true, + "Thursday": false, + "Friday": true, + "Saturday": false, + "Sunday": false + }, + { + "Name": "HiÖ-ÇC", + "Status": "Aktif", + "StartTime": "15:00", + "EndTime": "16:30", + "LessonMinute": 40, + "LessonBreakMinute": 10, + "LessonCount": 2, + "LunchTime": null, + "LunchMinute": 0, + "IncludeLunch": false, + "Monday": false, + "Tuesday": true, + "Wednesday": true, + "Thursday": false, + "Friday": true, + "Saturday": false, + "Sunday": false + }, + { + "Name": "HİA-PC", + "Status": "Aktif", + "StartTime": "16:00", + "EndTime": "19:10", + "LessonMinute": 40, + "LessonBreakMinute": 10, + "LessonCount": 4, + "LunchTime": null, + "LunchMinute": 0, + "IncludeLunch": false, + "Monday": true, + "Tuesday": false, + "Wednesday": false, + "Thursday": false, + "Friday": true, + "Saturday": false, + "Sunday": false + }, + { + "Name": "HİA-PS", + "Status": "Aktif", + "StartTime": "18:00", + "EndTime": "21:10", + "LessonMinute": 40, + "LessonBreakMinute": 10, + "LessonCount": 4, + "LunchTime": null, + "LunchMinute": 0, + "IncludeLunch": false, + "Monday": true, + "Tuesday": true, + "Wednesday": false, + "Thursday": false, + "Friday": false, + "Saturday": false, + "Sunday": false + } + ], + "SalesRejectionReasons": [ + { + "Name": "ARKADAŞI YOK", + "Status": "Aktif" + }, + { + "Name": "ARTIK DÜŞÜNMÜYOR", + "Status": "Aktif" + }, + { + "Name": "BAŞKA YERDE ÖĞRENCİ", + "Status": "Aktif" + }, + { + "Name": "CİDDİ DEĞİL", + "Status": "Aktif" + }, + { + "Name": "DERS SAATLERİ UYMUYOR", + "Status": "Aktif" + }, + { + "Name": "DÜŞÜNMEK İSTİYOR", + "Status": "Aktif" + }, + { + "Name": "EĞİTİM SİSTEMİNİ BEĞENMEDİ", + "Status": "Pasif" + }, + { + "Name": "EŞİNE SORACAK", + "Status": "Aktif" + }, + { + "Name": "KÜÇÜK ÇOCUK EĞİTİMİ İSTİYOR", + "Status": "Aktif" + }, + { + "Name": "REKABET", + "Status": "Aktif" + }, + { + "Name": "SOSYAL AKTİVİTE YOK", + "Status": "Aktif" + }, + { + "Name": "ŞİRKETİ BAŞKA KURUMLA ANLAŞMALI", + "Status": "Aktif" + }, + { + "Name": "TAKSİT AZ", + "Status": "Aktif" + }, + { + "Name": "ULAŞILAMIYOR", + "Status": "Aktif" + }, + { + "Name": "YERİ UZAK", + "Status": "Aktif" + }, + { + "Name": "ZAMANI YOK", + "Status": "Aktif" + }, + { + "Name": "AİLESİNE SORACAK", + "Status": "Aktif" + }, + { + "Name": "YANLIŞ GİRİŞ", + "Status": "Aktif" + }, + { + "Name": "FİYAT YÜKSEK", + "Status": "Aktif" + }, + { + "Name": "BS COK PAHALI", + "Status": "Pasif" + }, + { + "Name": "VEFAT", + "Status": "Aktif" + }, + { + "Name": "ARANMAK İSTEMİYOR", + "Status": "Aktif" + } + ], + "NoteTypes": [ + { + "Name": "Bilgi" + }, + { + "Name": "Memnuniyet" + }, + { + "Name": "Ölçüm" + }, + { + "Name": "Öneri" + }, + { + "Name": "Şikayet" + } + ], + "LessonPeriods": [ + { + "Name": "1. DİLİM", + "Day": "Pazartesi", + "Lesson1": "Ana", + "Lesson2": "Ana", + "Lesson3": "Ek", + "Lesson4": "Ek" + }, + { + "Name": "1. DİLİM", + "Day": "Salı", + "Lesson1": "Ana", + "Lesson2": "Ana", + "Lesson3": "Ek", + "Lesson4": "Ek" + }, + { + "Name": "1. DİLİM", + "Day": "Çarşamba", + "Lesson1": "Ana", + "Lesson2": "Ana", + "Lesson3": "Ek", + "Lesson4": "Ek" + }, + { + "Name": "1. DİLİM", + "Day": "Perşembe", + "Lesson1": "Ana", + "Lesson2": "Ana", + "Lesson3": "Ek", + "Lesson4": "Ek" + }, + { + "Name": "1. DİLİM", + "Day": "Cuma", + "Lesson1": "Ana", + "Lesson2": "Ana", + "Lesson3": "Ek", + "Lesson4": "Ek" + }, + { + "Name": "1. DİLİM", + "Day": "Cumartesi", + "Lesson1": "Ana", + "Lesson2": "Ana", + "Lesson3": "Ek", + "Lesson4": "Ek" + }, + { + "Name": "1. DİLİM", + "Day": "Pazar", + "Lesson1": "Ana", + "Lesson2": "Ana", + "Lesson3": "Ek", + "Lesson4": "Ek" + }, + { + "Name": "2. DİLİM", + "Day": "Pazartesi", + "Lesson1": "Ek", + "Lesson2": "Ek", + "Lesson3": "Ana", + "Lesson4": "Ana" + }, + { + "Name": "2. DİLİM", + "Day": "Salı", + "Lesson1": "Ek", + "Lesson2": "Ek", + "Lesson3": "Ana", + "Lesson4": "Ana" + }, + { + "Name": "2. DİLİM", + "Day": "Çarşamba", + "Lesson1": "Ek", + "Lesson2": "Ek", + "Lesson3": "Ana", + "Lesson4": "Ana" + }, + { + "Name": "2. DİLİM", + "Day": "Perşembe", + "Lesson1": "Ek", + "Lesson2": "Ek", + "Lesson3": "Ana", + "Lesson4": "Ana" + }, + { + "Name": "2. DİLİM", + "Day": "Cuma", + "Lesson1": "Ek", + "Lesson2": "Ek", + "Lesson3": "Ana", + "Lesson4": "Ana" + }, + { + "Name": "2. DİLİM", + "Day": "Cumartesi", + "Lesson1": "Ek", + "Lesson2": "Ek", + "Lesson3": "Ana", + "Lesson4": "Ana" + }, + { + "Name": "2. DİLİM", + "Day": "Pazar", + "Lesson1": "Ek", + "Lesson2": "Ek", + "Lesson3": "Ana", + "Lesson4": "Ana" + }, + { + "Name": "TÜMÜ", + "Day": "Pazartesi", + "Lesson1": "Ana", + "Lesson2": "Ana", + "Lesson3": "Ana", + "Lesson4": "Ana" + }, + { + "Name": "TÜMÜ", + "Day": "Salı", + "Lesson1": "Ana", + "Lesson2": "Ana", + "Lesson3": "Ana", + "Lesson4": "Ana" + }, + { + "Name": "TÜMÜ", + "Day": "Çarşamba", + "Lesson1": "Ana", + "Lesson2": "Ana", + "Lesson3": "Ana", + "Lesson4": "Ana" + }, + { + "Name": "TÜMÜ", + "Day": "Perşembe", + "Lesson1": "Ana", + "Lesson2": "Ana", + "Lesson3": "Ana", + "Lesson4": "Ana" + }, + { + "Name": "TÜMÜ", + "Day": "Cuma", + "Lesson1": "Ana", + "Lesson2": "Ana", + "Lesson3": "Ana", + "Lesson4": "Ana" + }, + { + "Name": "TÜMÜ", + "Day": "Cumartesi", + "Lesson1": "Ana", + "Lesson2": "Ana", + "Lesson3": "Ana", + "Lesson4": "Ana" + }, + { + "Name": "TÜMÜ", + "Day": "Pazar", + "Lesson1": "Ana", + "Lesson2": "Ana", + "Lesson3": "Ana", + "Lesson4": "Ana" + } + ], + "Informations": [ + { + "Name": "Bilgi" + }, + { + "Name": "İzin" + }, + { + "Name": "Öneri" + }, + { + "Name": "Şikayet" + } + ], + "MeetingMethods": [ + { + "Name": "EMAIL", + "Type": "SANAL" + }, + { + "Name": "GELEN ARAMA", + "Type": "TELEFON" + }, + { + "Name": "GİDEN ARAMA", + "Type": "TELEFON" + }, + { + "Name": "SHOW", + "Type": "YÜZYÜZE" + }, + { + "Name": "WEB", + "Type": "SANAL" + }, + { + "Name": "WI", + "Type": "YÜZYÜZE" + } + ], + "MeetingResults": [ + { + "Name": "ARANACAK", + "Order": 1 + }, + { + "Name": "RANDEVU", + "Order": 2 + }, + { + "Name": "ERTELEME", + "Order": 3 + }, + { + "Name": "ARAYACAK", + "Order": 4 + }, + { + "Name": "İPTAL", + "Order": 5 + } + ], + "ClassCancellationReasons": [ + { + "Name": "23 nisan tatili", + "Status": "Aktif" + }, + { + "Name": "Diğer", + "Status": "Aktif" + }, + { + "Name": "İş Gezisi", + "Status": "Aktif" + }, + { + "Name": "İş Yoğunluğu", + "Status": "Aktif" + }, + { + "Name": "Kar Yağışı", + "Status": "Aktif" + }, + { + "Name": "Kurban Bayramı", + "Status": "Aktif" + }, + { + "Name": "Öğrenci Geç Geldi", + "Status": "Aktif" + }, + { + "Name": "Öğrenci Hasta", + "Status": "Aktif" + }, + { + "Name": "Öğretmen Hasta", + "Status": "Aktif" + }, + { + "Name": "Öğretmen Yok", + "Status": "Aktif" + }, + { + "Name": "Şehir Dışında", + "Status": "Aktif" + }, + { + "Name": "Tadilat", + "Status": "Aktif" + }, + { + "Name": "Toplantısı var", + "Status": "Aktif" + }, + { + "Name": "Yangın Sebebiyle", + "Status": "Aktif" + }, + { + "Name": "Yılbaşı Tatili", + "Status": "Aktif" + } + ], + "EventTypes": [ + { + "Id": "81B52DE4-256C-46CF-8E03-40095A6A5617", + "Name": "Gezi" + }, + { + "Id": "882C3C8C-8307-452B-B8A7-122E73EFBD12", + "Name": "Sinema" + }, + { + "Id": "4689DA37-DE49-4A80-9192-6A1F770D36DE", + "Name": "Tiyatro" + } + ], + "EventCategories": [ + { + "Id": "A1F2B3C4-D5E6-47F8-9123-456789ABCDEF", + "Name": "Spor" + }, + { + "Id": "B2C3D4E5-F6A7-48B9-8234-56789ABCDEF1", + "Name": "Sanat" + }, + { + "Id": "C3D4E5F6-A7B8-49CA-9345-6789ABCDEF12", + "Name": "Müzik" + }, + { + "Id": "D4E5F6A7-B8C9-40DB-A456-789ABCDEF123", + "Name": "Eğitim" + }, + { + "Id": "E5F6A7B8-C9D0-41EC-B567-89ABCDEF1234", + "Name": "Kültür" + } + ], + "Sources": [ + { + "Name": "AFİŞ", + "Status": "Aktif" + }, + { + "Name": "AVM", + "Status": "Aktif" + }, + { + "Name": "ESKİ ÖĞRETMEN", + "Status": "Aktif" + }, + { + "Name": "İLAN", + "Status": "Pasif" + }, + { + "Name": "İNSERT", + "Status": "Aktif" + }, + { + "Name": "İNTERNET", + "Status": "Aktif" + }, + { + "Name": "KURUMSAL", + "Status": "Aktif" + }, + { + "Name": "MEKTUP", + "Status": "Aktif" + }, + { + "Name": "ONLİNE", + "Status": "Aktif" + }, + { + "Name": "REFERANS", + "Status": "Aktif" + }, + { + "Name": "SMS/MAİLİNG", + "Status": "Aktif" + }, + { + "Name": "ŞUBELERDEN", + "Status": "Aktif" + }, + { + "Name": "WI", + "Status": "Aktif" + }, + { + "Name": "WOM", + "Status": "Aktif" + }, + { + "Name": "REKLAM", + "Status": "Aktif" + }, + { + "Name": "ÖĞRENCİ", + "Status": "Aktif" + }, + { + "Name": "TAVSİYE", + "Status": "Aktif" + } + ], + "Programs": [ + { + "Name": "Genel İngilizce", + "Status": "Aktif" + }, + { + "Name": "Çince", + "Status": "Aktif" + }, + { + "Name": "Almanca", + "Status": "Aktif" + }, + { + "Name": "Fransızca", + "Status": "Aktif" + }, + { + "Name": "Sınav Eğitimi", + "Status": "Aktif" + } + ], + "Interesting": [ + { + "Name": "Ailem ve Çevremin Teşviki", + "Status": "Aktif" + }, + { + "Name": "Hazırlık Atlama", + "Status": "Aktif" + }, + { + "Name": "Hobi İçin", + "Status": "Aktif" + }, + { + "Name": "Kariyer / Meslek Amaçlı", + "Status": "Aktif" + }, + { + "Name": "Kişisel Gelişim", + "Status": "Aktif" + }, + { + "Name": "Lisan Tazminatı", + "Status": "Aktif" + }, + { + "Name": "Okula destek amaçlı", + "Status": "Pasif" + }, + { + "Name": "Sınava Yönelik", + "Status": "Aktif" + }, + { + "Name": "Yurt Dışına Gitmek", + "Status": "Aktif" + }, + { + "Name": "Yurt Dışı Eğitim", + "Status": "Aktif" + }, + { + "Name": "İşini Geliştirmeye Yönelik", + "Status": "Aktif" + }, + { + "Name": "Sosyal İletişim", + "Status": "Aktif" + } + ], + "RegistrationTypes": [ + { + "Id": "1A2B3C4D-1111-2222-3333-444455556666", + "Name": "GRUP", + "Status": "Aktif" + }, + { + "Id": "7E8F9A0B-7777-8888-9999-AAAABBBBCCCC", + "Name": "ÖZEL", + "Status": "Aktif" + } + ], + "RegistrationMethods": [ + { + "RegistrationTypeId": "1A2B3C4D-1111-2222-3333-444455556666", + "Name": "Erken Kayıt İnd.", + "Status": "Aktif" + }, + { + "RegistrationTypeId": "1A2B3C4D-1111-2222-3333-444455556666", + "Name": "Engelli İnd.", + "Status": "Aktif" + }, + { + "RegistrationTypeId": "1A2B3C4D-1111-2222-3333-444455556666", + "Name": "Peşin Ödeme İnd.", + "Status": "Aktif" + }, + { + "RegistrationTypeId": "1A2B3C4D-1111-2222-3333-444455556666", + "Name": "Normal Paket", + "Status": "Aktif" + }, + { + "RegistrationTypeId": "1A2B3C4D-1111-2222-3333-444455556666", + "Name": "MEB Personeli İnd.", + "Status": "Aktif" + }, + { + "RegistrationTypeId": "1A2B3C4D-1111-2222-3333-444455556666", + "Name": "Yaz Okulu", + "Status": "Aktif" + }, + { + "RegistrationTypeId": "1A2B3C4D-1111-2222-3333-444455556666", + "Name": "Personel İnd.", + "Status": "Aktif" + }, + { + "RegistrationTypeId": "1A2B3C4D-1111-2222-3333-444455556666", + "Name": "Referans Program", + "Status": "Aktif" + }, + { + "RegistrationTypeId": "1A2B3C4D-1111-2222-3333-444455556666", + "Name": "Üniversite Program", + "Status": "Aktif" + }, + { + "RegistrationTypeId": "1A2B3C4D-1111-2222-3333-444455556666", + "Name": "YÖS", + "Status": "Aktif" + }, + { + "RegistrationTypeId": "1A2B3C4D-1111-2222-3333-444455556666", + "Name": "Öğrenci İnd.(Üni)", + "Status": "Aktif" + }, + { + "RegistrationTypeId": "1A2B3C4D-1111-2222-3333-444455556666", + "Name": "Normal Kayıt", + "Status": "Aktif" + }, + { + "RegistrationTypeId": "1A2B3C4D-1111-2222-3333-444455556666", + "Name": "Kardeş İnd.", + "Status": "Aktif" + }, + { + "RegistrationTypeId": "7E8F9A0B-7777-8888-9999-AAAABBBBCCCC", + "Name": "ÖZEL", + "Status": "Aktif" + }, + { + "RegistrationTypeId": "7E8F9A0B-7777-8888-9999-AAAABBBBCCCC", + "Name": "Derece İndirimi", + "Status": "Aktif" + } + ], + "ClassTypes": [ + { + "Id": "11111111-AAAA-4444-BBBB-555555555555", + "RegistrationTypeId": "1A2B3C4D-1111-2222-3333-444455556666", + "Name": "3-6 Kişilik", + "MinStudentCount": 3, + "MaxStudentCount": 6, + "Status": "Aktif" + }, + { + "Id": "22222222-BBBB-4444-CCCC-666666666666", + "RegistrationTypeId": "1A2B3C4D-1111-2222-3333-444455556666", + "Name": "5-8 Kişilik", + "MinStudentCount": 5, + "MaxStudentCount": 8, + "Status": "Aktif" + }, + { + "Id": "33333333-CCCC-4444-DDDD-777777777777", + "RegistrationTypeId": "7E8F9A0B-7777-8888-9999-AAAABBBBCCCC", + "Name": "ÖZEL", + "MinStudentCount": 1, + "MaxStudentCount": 1, + "Status": "Aktif" + } + ], + "Classes": [ + { + "ClassTypeId": "11111111-AAAA-4444-BBBB-555555555555", + "Name": "201", + "Status": "Aktif" + }, + { + "ClassTypeId": "11111111-AAAA-4444-BBBB-555555555555", + "Name": "202", + "Status": "Aktif" + }, + { + "ClassTypeId": "11111111-AAAA-4444-BBBB-555555555555", + "Name": "203", + "Status": "Aktif" + }, + { + "ClassTypeId": "11111111-AAAA-4444-BBBB-555555555555", + "Name": "204", + "Status": "Aktif" + }, + { + "ClassTypeId": "11111111-AAAA-4444-BBBB-555555555555", + "Name": "406", + "Status": "Aktif" + }, + { + "ClassTypeId": "11111111-AAAA-4444-BBBB-555555555555", + "Name": "601", + "Status": "Aktif" + }, + { + "ClassTypeId": "11111111-AAAA-4444-BBBB-555555555555", + "Name": "802", + "Status": "Aktif" + }, + { + "ClassTypeId": "22222222-BBBB-4444-CCCC-666666666666", + "Name": "BODRUM", + "Status": "Aktif" + }, + { + "ClassTypeId": "22222222-BBBB-4444-CCCC-666666666666", + "Name": "FLORIDA", + "Status": "Aktif" + }, + { + "ClassTypeId": "22222222-BBBB-4444-CCCC-666666666666", + "Name": "MIAMI", + "Status": "Aktif" + }, + { + "ClassTypeId": "22222222-BBBB-4444-CCCC-666666666666", + "Name": "İSTANBUL", + "Status": "Aktif" + }, + { + "ClassTypeId": "22222222-BBBB-4444-CCCC-666666666666", + "Name": "CALIFORNIA", + "Status": "Aktif" + }, + { + "ClassTypeId": "22222222-BBBB-4444-CCCC-666666666666", + "Name": "NEW YORK", + "Status": "Aktif" + }, + { + "ClassTypeId": "33333333-CCCC-4444-DDDD-777777777777", + "Name": "ÖZEL", + "Status": "Aktif" + } + ], + "Levels": [ + { + "ClassTypeId": "22222222-BBBB-4444-CCCC-666666666666", + "Name": "Seviye", + "LevelType": "A1", + "LessonCount": 80, + "Status": "Aktif", + "LessonDuration": 2, + "MonthlyPaymentRate": 20.00 + }, + { + "ClassTypeId": "22222222-BBBB-4444-CCCC-666666666666", + "Name": "Seviye", + "LevelType": "A2", + "LessonCount": 90, + "Status": "Aktif", + "LessonDuration": 3, + "MonthlyPaymentRate": 30.00 + }, + { + "ClassTypeId": "22222222-BBBB-4444-CCCC-666666666666", + "Name": "Seviye", + "LevelType": "B1", + "LessonCount": 90, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "22222222-BBBB-4444-CCCC-666666666666", + "Name": "Seviye", + "LevelType": "B2", + "LessonCount": 80, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "22222222-BBBB-4444-CCCC-666666666666", + "Name": "Seviye", + "LevelType": "C1", + "LessonCount": 80, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "22222222-BBBB-4444-CCCC-666666666666", + "Name": "Seviye", + "LevelType": "C2", + "LessonCount": 80, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "22222222-BBBB-4444-CCCC-666666666666", + "Name": "Sınav Eğitimi", + "LevelType": "BULATS", + "LessonCount": 50, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "22222222-BBBB-4444-CCCC-666666666666", + "Name": "Sınav Eğitimi", + "LevelType": "GMAT", + "LessonCount": 50, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "22222222-BBBB-4444-CCCC-666666666666", + "Name": "Sınav Eğitimi", + "LevelType": "YDS", + "LessonCount": 50, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "22222222-BBBB-4444-CCCC-666666666666", + "Name": "Sınav Eğitimi", + "LevelType": "ÜDS", + "LessonCount": 50, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "11111111-AAAA-4444-BBBB-555555555555", + "Name": "Seviye", + "LevelType": "A1", + "LessonCount": 80, + "Status": "Aktif", + "LessonDuration": 3, + "MonthlyPaymentRate": 30.00 + }, + { + "ClassTypeId": "11111111-AAAA-4444-BBBB-555555555555", + "Name": "Seviye", + "LevelType": "A2", + "LessonCount": 80, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "11111111-AAAA-4444-BBBB-555555555555", + "Name": "Seviye", + "LevelType": "B1", + "LessonCount": 80, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "11111111-AAAA-4444-BBBB-555555555555", + "Name": "Seviye", + "LevelType": "B2", + "LessonCount": 80, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "11111111-AAAA-4444-BBBB-555555555555", + "Name": "Seviye", + "LevelType": "C1", + "LessonCount": 80, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "11111111-AAAA-4444-BBBB-555555555555", + "Name": "Seviye", + "LevelType": "C2", + "LessonCount": 80, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "11111111-AAAA-4444-BBBB-555555555555", + "Name": "Sınav Eğitimi", + "LevelType": "IELTS", + "LessonCount": 50, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "11111111-AAAA-4444-BBBB-555555555555", + "Name": "Sınav Eğitimi", + "LevelType": "TOEFL", + "LessonCount": 50, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "11111111-AAAA-4444-BBBB-555555555555", + "Name": "Sınav Eğitimi", + "LevelType": "BULATS", + "LessonCount": 50, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "11111111-AAAA-4444-BBBB-555555555555", + "Name": "Sınav Eğitimi", + "LevelType": "GMAT", + "LessonCount": 50, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "11111111-AAAA-4444-BBBB-555555555555", + "Name": "Sınav Eğitimi", + "LevelType": "YDS", + "LessonCount": 50, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "11111111-AAAA-4444-BBBB-555555555555", + "Name": "Sınav Eğitimi", + "LevelType": "PROFICIENCY", + "LessonCount": 50, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "11111111-AAAA-4444-BBBB-555555555555", + "Name": "Sınav Eğitimi", + "LevelType": "SAT", + "LessonCount": 50, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "11111111-AAAA-4444-BBBB-555555555555", + "Name": "Sınav Eğitimi", + "LevelType": "TOEIC", + "LessonCount": 50, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "11111111-AAAA-4444-BBBB-555555555555", + "Name": "Sınav Eğitimi", + "LevelType": "ÜDS", + "LessonCount": 50, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "11111111-AAAA-4444-BBBB-555555555555", + "Name": "Sınav Eğitimi", + "LevelType": "SAT2", + "LessonCount": 50, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "33333333-CCCC-4444-DDDD-777777777777", + "Name": "Seviye", + "LevelType": "A1", + "LessonCount": 60, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "33333333-CCCC-4444-DDDD-777777777777", + "Name": "Seviye", + "LevelType": "A2", + "LessonCount": 70, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "33333333-CCCC-4444-DDDD-777777777777", + "Name": "Seviye", + "LevelType": "B1", + "LessonCount": 80, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "33333333-CCCC-4444-DDDD-777777777777", + "Name": "Seviye", + "LevelType": "B2", + "LessonCount": 80, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "33333333-CCCC-4444-DDDD-777777777777", + "Name": "Seviye", + "LevelType": "C1", + "LessonCount": 90, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "33333333-CCCC-4444-DDDD-777777777777", + "Name": "Seviye", + "LevelType": "C2", + "LessonCount": 90, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "33333333-CCCC-4444-DDDD-777777777777", + "Name": "Sınav Eğitimi", + "LevelType": "BULATS", + "LessonCount": 80, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "33333333-CCCC-4444-DDDD-777777777777", + "Name": "Sınav Eğitimi", + "LevelType": "GMAT", + "LessonCount": 80, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + }, + { + "ClassTypeId": "33333333-CCCC-4444-DDDD-777777777777", + "Name": "Sınav Eğitimi", + "LevelType": "ÜDS", + "LessonCount": 80, + "Status": "Aktif", + "LessonDuration": null, + "MonthlyPaymentRate": null + } ] -} +} \ No newline at end of file diff --git a/api/src/Kurs.Platform.DbMigrator/Seeds/SeederDto.cs b/api/src/Kurs.Platform.DbMigrator/Seeds/SeederDto.cs index 95553cb8..c0052713 100644 --- a/api/src/Kurs.Platform.DbMigrator/Seeds/SeederDto.cs +++ b/api/src/Kurs.Platform.DbMigrator/Seeds/SeederDto.cs @@ -43,6 +43,32 @@ public class SeederDto public List Services { get; set; } public List Abouts { get; set; } public List Contacts { get; set; } + + public List Behaviors { get; set; } + public List Documents { get; set; } + public List Diseases { get; set; } + public List EducationStatuses { get; set; } + public List Vaccines { get; set; } + public List WorkHours { get; set; } + public List Schedules { get; set; } + public List SalesRejectionReasons { get; set; } + public List NoteTypes { get; set; } + public List LessonPeriods { get; set; } + public List Informations { get; set; } + public List MeetingMethods { get; set; } + public List MeetingResults { get; set; } + public List ClassCancellationReasons { get; set; } + public List EventTypes { get; set; } + public List EventCategories { get; set; } + public List Sources { get; set; } + public List Interesting { get; set; } + public List Programs { get; set; } + public List RegistrationTypes { get; set; } + public List RegistrationMethods { get; set; } + public List ClassTypes { get; set; } + public List Classes { get; set; } + public List Levels { get; set; } + public List Classrooms { get; set; } } @@ -250,7 +276,7 @@ public class ProductSeedDto public class PaymentMethodSeedDto { - public string Id { get; set; } // e.g. "credit-card", "bank-transfer" + public string Id { get; set; } public string Name { get; set; } public decimal Commission { get; set; } public string Logo { get; set; } @@ -323,4 +349,193 @@ public class ClassroomSeedDto public bool IsScheduled { get; set; } public int ParticipantCount { get; set; } public string SettingsJson { get; set; } -} \ No newline at end of file +} + +public class BehaviorSeedDto +{ + public string Name { get; set; } +} + +public class DocumentSeedDto +{ + public string Name { get; set; } +} + +public class DiseaseSeedDto +{ + public string Name { get; set; } +} + +public class EducationStatusSeedDto +{ + public string Name { get; set; } + public short Order { get; set; } +} + +public class VaccineSeedDto +{ + public string Name { get; set; } +} + +public class WorkHourSeedDto +{ + public string Name { get; set; } + public string StartHour { get; set; } + public string EndHour { get; set; } + public bool? IsFixed { get; set; } + public bool? Monday { get; set; } + public bool? Tuesday { get; set; } + public bool? Wednesday { get; set; } + public bool? Thursday { get; set; } + public bool? Friday { get; set; } + public bool? Saturday { get; set; } + public bool? Sunday { get; set; } +} + +public class ScheduleSeedDto +{ + public string Name { get; set; } + public string Status { get; set; } + public string StartTime { get; set; } + public string EndTime { get; set; } + public int LessonMinute { get; set; } + public int LessonBreakMinute { get; set; } + public int LessonCount { get; set; } + public string LunchTime { get; set; } + public int? LunchMinute { get; set; } + public bool? IncludeLunch { get; set; } + public bool? Monday { get; set; } + public bool? Tuesday { get; set; } + public bool? Wednesday { get; set; } + public bool? Thursday { get; set; } + public bool? Friday { get; set; } + public bool? Saturday { get; set; } + public bool? Sunday { get; set; } +} + +public class SalesRejectionReasonSeedDto +{ + public string Name { get; set; } + public string Status { get; set; } +} + +public class NoteTypeSeedDto +{ + public string Name { get; set; } +} + +public class LessonPeriodSeedDto +{ + public string Name { get; set; } + public string Day { get; set; } + + public string Lesson1 { get; set; } + public string Lesson2 { get; set; } + public string Lesson3 { get; set; } + public string Lesson4 { get; set; } +} + +public class InformationSeedDto +{ + public string Name { get; set; } +} + +public class MeetingMethodSeedDto +{ + public string Name { get; set; } + public string Type { get; set; } +} + +public class MeetingResultSeedDto +{ + public string Name { get; set; } + public short? Order { get; set; } +} + +public class ClassCancellationReasonSeedDto +{ + public string Name { get; set; } + public string Status { get; set; } +} + +public class EventTypeSeedDto +{ + public Guid Id { get; set; } + public string Name { get; set; } +} + +public class EventCategorySeedDto +{ + public Guid Id { get; set; } + public string Name { get; set; } +} + +public class EventSeedDto +{ + public Guid CategoryId { get; set; } + public Guid TypeId { get; set; } + public string Name { get; set; } + public string Place { get; set; } + public string Description { get; set; } + public string Status { get; set; } +} + +public class SourceSeedDto +{ + public string Name { get; set; } + public string Status { get; set; } +} + +public class InterestingSeedDto +{ + public string Name { get; set; } + public string Status { get; set; } +} + +public class ProgramSeedDto +{ + public string Name { get; set; } + public string Status { get; set; } +} + +public class RegistrationTypeSeedDto +{ + public Guid Id { get; set; } + public string Name { get; set; } + public string Status { get; set; } +} + +public class RegistrationMethodSeedDto +{ + public Guid RegistrationTypeId { get; set; } + public string Name { get; set; } + public string Status { get; set; } +} + +public class ClassTypeSeedDto +{ + public Guid Id { get; set; } + public Guid RegistrationTypeId { get; set; } + public string Name { get; set; } + public int? MinStudentCount { get; set; } + public int? MaxStudentCount { get; set; } + public string Status { get; set; } +} + +public class ClassSeedDto +{ + public Guid ClassTypeId { get; set; } + public string Name { get; set; } + public string Status { get; set; } +} + +public class LevelSeedDto +{ + public Guid ClassTypeId { get; set; } + public string Name { get; set; } + public string LevelType { get; set; } + public int LessonCount { get; set; } + public string Status { get; set; } + public int? LessonDuration { get; set; } + public decimal? MonthlyPaymentRate { get; set; } +} diff --git a/api/src/Kurs.Platform.Domain/Entities/Administration/Bank.cs b/api/src/Kurs.Platform.Domain/Entities/Administration/Bank.cs index 7bbe8944..e59bbdab 100644 --- a/api/src/Kurs.Platform.Domain/Entities/Administration/Bank.cs +++ b/api/src/Kurs.Platform.Domain/Entities/Administration/Bank.cs @@ -1,10 +1,14 @@ using System; using Volo.Abp.Domain.Entities.Auditing; +using Volo.Abp.MultiTenancy; namespace Kurs.Platform.Entities; -public class Bank : FullAuditedEntity +public class Bank : FullAuditedEntity, IMultiTenant { + public Guid? TenantId { get; set; } + public Guid? BranchId { get; set; } + public string Name { get; set; } public string IdentifierCode { get; set; } public string AddressLine1 { get; set; } @@ -15,4 +19,6 @@ public class Bank : FullAuditedEntity public string PostalCode { get; set; } public string Phone { get; set; } public string Email { get; set; } + + Guid? IMultiTenant.TenantId => TenantId; } diff --git a/api/src/Kurs.Platform.Domain/Entities/Administration/BankAccount.cs b/api/src/Kurs.Platform.Domain/Entities/Administration/BankAccount.cs index 75607fe5..315a4c62 100644 --- a/api/src/Kurs.Platform.Domain/Entities/Administration/BankAccount.cs +++ b/api/src/Kurs.Platform.Domain/Entities/Administration/BankAccount.cs @@ -1,10 +1,14 @@ using System; using Volo.Abp.Domain.Entities.Auditing; +using Volo.Abp.MultiTenancy; namespace Kurs.Platform.Entities; -public class BankAccount : FullAuditedEntity +public class BankAccount : FullAuditedEntity, IMultiTenant { + public Guid? TenantId { get; set; } + public Guid? BranchId { get; set; } + public string AccountNumber { get; set; } public Guid BankId { get; set; } public Bank Bank { get; set; } @@ -13,4 +17,6 @@ public class BankAccount : FullAuditedEntity public Currency Currency { get; set; } public bool CanTransferMoney { get; set; } public string Company { get; set; } + + Guid? IMultiTenant.TenantId => TenantId; } diff --git a/api/src/Kurs.Platform.Domain/Entities/Administration/Class.cs b/api/src/Kurs.Platform.Domain/Entities/Administration/Class.cs index b535133d..4d1dba63 100644 --- a/api/src/Kurs.Platform.Domain/Entities/Administration/Class.cs +++ b/api/src/Kurs.Platform.Domain/Entities/Administration/Class.cs @@ -10,8 +10,7 @@ public class Class : FullAuditedEntity, IMultiTenant public Guid? BranchId { get; set; } public Guid ClassTypeId { get; set; } - - public string ClassCode { get; set; } + public string Name { get; set; } public string Status { get; set; } // Navigation diff --git a/api/src/Kurs.Platform.Domain/Entities/Administration/ClassCancellationReason.cs b/api/src/Kurs.Platform.Domain/Entities/Administration/ClassCancellationReason.cs index 416c2b3a..87326e9f 100644 --- a/api/src/Kurs.Platform.Domain/Entities/Administration/ClassCancellationReason.cs +++ b/api/src/Kurs.Platform.Domain/Entities/Administration/ClassCancellationReason.cs @@ -8,7 +8,7 @@ public class ClassCancellationReason : FullAuditedEntity, IMultiTenant { public Guid? TenantId { get; set; } - public string Reason { get; set; } // SinifTatilEtmeSebebi + public string Name { get; set; } // SinifTatilEtmeSebebi public string Status { get; set; } // Durum Guid? IMultiTenant.TenantId => TenantId; diff --git a/api/src/Kurs.Platform.Domain/Entities/Administration/ClassType.cs b/api/src/Kurs.Platform.Domain/Entities/Administration/ClassType.cs index d8284e09..d54ae624 100644 --- a/api/src/Kurs.Platform.Domain/Entities/Administration/ClassType.cs +++ b/api/src/Kurs.Platform.Domain/Entities/Administration/ClassType.cs @@ -10,7 +10,7 @@ public class ClassType : FullAuditedEntity, IMultiTenant public Guid? TenantId { get; set; } public Guid? BranchId { get; set; } - public Guid RegistrationTypeId { get; set; } // KayitTipiId + public Guid RegistrationTypeId { get; set; } public string Name { get; set; } public int? MinStudentCount { get; set; } @@ -21,9 +21,21 @@ public class ClassType : FullAuditedEntity, IMultiTenant // Navigation public RegistrationType RegistrationType { get; set; } - public ICollection Classes { get; set; } - public ICollection Levels { get; set; } + public ClassType() + { + + } + + public ClassType(Guid id, Guid registrationTypeId, string name, int? minStudentCount, int? maxStudentCount, string status) + { + Id = id; + RegistrationTypeId = registrationTypeId; + Name = name; + MinStudentCount = minStudentCount; + MaxStudentCount = maxStudentCount; + Status = status; + } } diff --git a/api/src/Kurs.Platform.Domain/Entities/Administration/EducationStatus.cs b/api/src/Kurs.Platform.Domain/Entities/Administration/EducationStatus.cs index bf72de67..03eadea4 100644 --- a/api/src/Kurs.Platform.Domain/Entities/Administration/EducationStatus.cs +++ b/api/src/Kurs.Platform.Domain/Entities/Administration/EducationStatus.cs @@ -9,7 +9,7 @@ public class EducationStatus : Entity, IMultiTenant public Guid? TenantId { get; set; } public string Name { get; set; } // OgrenimDurumu - public short? OrderNo { get; set; } // SiraNo + public short? Order { get; set; } // SiraNo Guid? IMultiTenant.TenantId => TenantId; } diff --git a/api/src/Kurs.Platform.Domain/Entities/Administration/EventCategory.cs b/api/src/Kurs.Platform.Domain/Entities/Administration/EventCategory.cs index a4262532..39606647 100644 --- a/api/src/Kurs.Platform.Domain/Entities/Administration/EventCategory.cs +++ b/api/src/Kurs.Platform.Domain/Entities/Administration/EventCategory.cs @@ -15,4 +15,15 @@ public class EventCategory : FullAuditedEntity, IMultiTenant public ICollection Events { get; set; } Guid? IMultiTenant.TenantId => TenantId; + + public EventCategory() + { + + } + + public EventCategory(Guid id, string name) + { + Id = id; + Name = name; + } } diff --git a/api/src/Kurs.Platform.Domain/Entities/Administration/EventType.cs b/api/src/Kurs.Platform.Domain/Entities/Administration/EventType.cs index 1c116f7e..b1111c04 100644 --- a/api/src/Kurs.Platform.Domain/Entities/Administration/EventType.cs +++ b/api/src/Kurs.Platform.Domain/Entities/Administration/EventType.cs @@ -15,4 +15,15 @@ public class EventType : FullAuditedEntity, IMultiTenant public ICollection Events { get; set; } Guid? IMultiTenant.TenantId => TenantId; + + public EventType() + { + + } + + public EventType(Guid id, string name) + { + Id = id; + Name = name; + } } diff --git a/api/src/Kurs.Platform.Domain/Entities/Administration/Information.cs b/api/src/Kurs.Platform.Domain/Entities/Administration/Information.cs index c2f327ff..e1580abc 100644 --- a/api/src/Kurs.Platform.Domain/Entities/Administration/Information.cs +++ b/api/src/Kurs.Platform.Domain/Entities/Administration/Information.cs @@ -8,7 +8,7 @@ public class Information : FullAuditedEntity, IMultiTenant { public Guid? TenantId { get; set; } - public string Type { get; set; } + public string Name { get; set; } Guid? IMultiTenant.TenantId => TenantId; } diff --git a/api/src/Kurs.Platform.Domain/Entities/Administration/Level.cs b/api/src/Kurs.Platform.Domain/Entities/Administration/Level.cs index 8d1a1ae4..23ed7919 100644 --- a/api/src/Kurs.Platform.Domain/Entities/Administration/Level.cs +++ b/api/src/Kurs.Platform.Domain/Entities/Administration/Level.cs @@ -7,10 +7,11 @@ namespace Kurs.Platform.Entities; public class Level : FullAuditedEntity, IMultiTenant { public Guid? TenantId { get; set; } + public Guid? BranchId { get; set; } public Guid ClassTypeId { get; set; } // SinifTipiID (FK) + public string Name { get; set; } // SeviyeKodu public string LevelType { get; set; } // SeviyeTipi - public string LevelCode { get; set; } // SeviyeKodu public int LessonCount { get; set; } // DersSayisi public string Status { get; set; } // Durum public int? LessonDuration { get; set; } // DersSuresi diff --git a/api/src/Kurs.Platform.Domain/Entities/Administration/MeetingMethod.cs b/api/src/Kurs.Platform.Domain/Entities/Administration/MeetingMethod.cs index 2d82cb5a..e74f3013 100644 --- a/api/src/Kurs.Platform.Domain/Entities/Administration/MeetingMethod.cs +++ b/api/src/Kurs.Platform.Domain/Entities/Administration/MeetingMethod.cs @@ -7,9 +7,9 @@ namespace Kurs.Platform.Entities; public class MeetingMethod : FullAuditedEntity, IMultiTenant { public Guid? TenantId { get; set; } + public string Name { get; set; } // GorusmeSekli public string Type { get; set; } // GorusmeTuru - public bool? Flag { get; set; } Guid? IMultiTenant.TenantId => TenantId; } diff --git a/api/src/Kurs.Platform.Domain/Entities/Administration/MeetingResult.cs b/api/src/Kurs.Platform.Domain/Entities/Administration/MeetingResult.cs index 28f719ae..b20179bb 100644 --- a/api/src/Kurs.Platform.Domain/Entities/Administration/MeetingResult.cs +++ b/api/src/Kurs.Platform.Domain/Entities/Administration/MeetingResult.cs @@ -9,7 +9,7 @@ public class MeetingResult : FullAuditedEntity, IMultiTenant public Guid? TenantId { get; set; } public string Name { get; set; } // GorusmeSonuc - public short? OrderNo { get; set; } // SiraNo + public short? Order { get; set; } // SiraNo Guid? IMultiTenant.TenantId => TenantId; } diff --git a/api/src/Kurs.Platform.Domain/Entities/Administration/RegistrationType.cs b/api/src/Kurs.Platform.Domain/Entities/Administration/RegistrationType.cs index 20fdc095..70e96d6d 100644 --- a/api/src/Kurs.Platform.Domain/Entities/Administration/RegistrationType.cs +++ b/api/src/Kurs.Platform.Domain/Entities/Administration/RegistrationType.cs @@ -18,4 +18,11 @@ public class RegistrationType : FullAuditedEntity, IMultiTenant // Navigation public ICollection Methods { get; set; } public ICollection ClassTypes { get; set; } + + public RegistrationType(Guid id, string name, string status) + { + Id = id; + Name = name; + Status = status; + } } diff --git a/api/src/Kurs.Platform.Domain/Entities/Administration/SalesRejectionReason.cs b/api/src/Kurs.Platform.Domain/Entities/Administration/SalesRejectionReason.cs index 7b65e5c6..8f9b2d65 100644 --- a/api/src/Kurs.Platform.Domain/Entities/Administration/SalesRejectionReason.cs +++ b/api/src/Kurs.Platform.Domain/Entities/Administration/SalesRejectionReason.cs @@ -8,7 +8,7 @@ public class SalesRejectionReason : FullAuditedEntity, IMultiTenant { public Guid? TenantId { get; set; } - public string Reason { get; set; } // SatisOlmamaSebebi + public string Name { get; set; } // SatisOlmamaSebebi public string Status { get; set; } // Durum Guid? IMultiTenant.TenantId => TenantId; diff --git a/api/src/Kurs.Platform.Domain/Entities/Administration/Schedule.cs b/api/src/Kurs.Platform.Domain/Entities/Administration/Schedule.cs index 1b0929c9..7710e061 100644 --- a/api/src/Kurs.Platform.Domain/Entities/Administration/Schedule.cs +++ b/api/src/Kurs.Platform.Domain/Entities/Administration/Schedule.cs @@ -9,6 +9,7 @@ public class Schedule : FullAuditedEntity, IMultiTenant { public Guid? TenantId { get; set; } public Guid? BranchId { get; set; } + public string Name { get; set; } public string Status { get; set; } diff --git a/api/src/Kurs.Platform.Domain/Entities/Administration/ScheduleLesson.cs b/api/src/Kurs.Platform.Domain/Entities/Administration/ScheduleLesson.cs index d0b56a7c..575fc99e 100644 --- a/api/src/Kurs.Platform.Domain/Entities/Administration/ScheduleLesson.cs +++ b/api/src/Kurs.Platform.Domain/Entities/Administration/ScheduleLesson.cs @@ -8,6 +8,7 @@ public class ScheduleLesson : FullAuditedEntity, IMultiTenant { public Guid? TenantId { get; set; } public Guid? BranchId { get; set; } + public Guid ScheduleId { get; set; } public string Day { get; set; } public int? LessonNo { get; set; } diff --git a/api/src/Kurs.Platform.Domain/Entities/Administration/TransactionReason.cs b/api/src/Kurs.Platform.Domain/Entities/Administration/TransactionReason.cs deleted file mode 100644 index ce72cafa..00000000 --- a/api/src/Kurs.Platform.Domain/Entities/Administration/TransactionReason.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using Volo.Abp.Domain.Entities; -using Volo.Abp.MultiTenancy; - -namespace Kurs.Platform.Entities; - -public class TransactionReason : Entity, IMultiTenant -{ - public Guid? TenantId { get; set; } - - public string Name { get; set; } // HareketSebebi - public string Type { get; set; } // HareketTuru - public string Status { get; set; } - - Guid? IMultiTenant.TenantId => TenantId; -} diff --git a/api/src/Kurs.Platform.EntityFrameworkCore/EntityFrameworkCore/PlatformDbContext.cs b/api/src/Kurs.Platform.EntityFrameworkCore/EntityFrameworkCore/PlatformDbContext.cs index 85fc24c6..ff85d908 100644 --- a/api/src/Kurs.Platform.EntityFrameworkCore/EntityFrameworkCore/PlatformDbContext.cs +++ b/api/src/Kurs.Platform.EntityFrameworkCore/EntityFrameworkCore/PlatformDbContext.cs @@ -108,7 +108,6 @@ public class PlatformDbContext : public DbSet SalesRejectionReasons { get; set; } public DbSet Levels { get; set; } public DbSet ClassCancellationReasons { get; set; } - public DbSet TransactionReasons { get; set; } public DbSet MeetingMethods { get; set; } public DbSet MeetingResults { get; set; } public DbSet Vaccines { get; set; } @@ -1060,7 +1059,7 @@ public class PlatformDbContext : b.ToTable(Prefix.DbTableDefinition + nameof(Class), Prefix.DbSchema); b.ConfigureByConvention(); - b.Property(x => x.ClassCode).IsRequired().HasMaxLength(64); + b.Property(x => x.Name).IsRequired().HasMaxLength(64); b.Property(x => x.Status).HasMaxLength(20); }); @@ -1070,7 +1069,7 @@ public class PlatformDbContext : b.ConfigureByConvention(); b.Property(x => x.LevelType).HasMaxLength(15); - b.Property(x => x.LevelCode).HasMaxLength(50).IsRequired(); + b.Property(x => x.Name).HasMaxLength(50).IsRequired(); b.Property(x => x.Status).HasMaxLength(10); b.Property(x => x.MonthlyPaymentRate).HasPrecision(18, 4); }); @@ -1161,7 +1160,7 @@ public class PlatformDbContext : b.ToTable(Prefix.DbTableDefinition + nameof(SalesRejectionReason), Prefix.DbSchema); b.ConfigureByConvention(); - b.Property(x => x.Reason).HasMaxLength(50).IsRequired(); + b.Property(x => x.Name).HasMaxLength(50).IsRequired(); b.Property(x => x.Status).HasMaxLength(10); }); @@ -1170,17 +1169,7 @@ public class PlatformDbContext : b.ToTable(Prefix.DbTableDefinition + nameof(ClassCancellationReason), Prefix.DbSchema); b.ConfigureByConvention(); - b.Property(x => x.Reason).HasMaxLength(50).IsRequired(); - b.Property(x => x.Status).HasMaxLength(10); - }); - - builder.Entity(b => - { - b.ToTable(Prefix.DbTableDefinition + nameof(TransactionReason), Prefix.DbSchema); - b.ConfigureByConvention(); - b.Property(x => x.Name).HasMaxLength(50).IsRequired(); - b.Property(x => x.Type).HasMaxLength(10).IsRequired(); b.Property(x => x.Status).HasMaxLength(10); }); @@ -1189,7 +1178,7 @@ public class PlatformDbContext : b.ToTable(Prefix.DbTableDefinition + nameof(Information), Prefix.DbSchema); b.ConfigureByConvention(); - b.Property(x => x.Type).HasMaxLength(50).IsRequired(); + b.Property(x => x.Name).HasMaxLength(50).IsRequired(); }); builder.Entity(b => @@ -1221,7 +1210,7 @@ public class PlatformDbContext : b.ConfigureByConvention(); b.Property(x => x.Name).HasMaxLength(50).IsRequired(); - b.Property(x => x.OrderNo); + b.Property(x => x.Order); }); builder.Entity(b => diff --git a/api/src/Kurs.Platform.EntityFrameworkCore/Migrations/20251003180537_Initial.Designer.cs b/api/src/Kurs.Platform.EntityFrameworkCore/Migrations/20251003212541_Initial.Designer.cs similarity index 99% rename from api/src/Kurs.Platform.EntityFrameworkCore/Migrations/20251003180537_Initial.Designer.cs rename to api/src/Kurs.Platform.EntityFrameworkCore/Migrations/20251003212541_Initial.Designer.cs index 78abfc9d..390fa626 100644 --- a/api/src/Kurs.Platform.EntityFrameworkCore/Migrations/20251003180537_Initial.Designer.cs +++ b/api/src/Kurs.Platform.EntityFrameworkCore/Migrations/20251003212541_Initial.Designer.cs @@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore; namespace Kurs.Platform.Migrations { [DbContext(typeof(PlatformDbContext))] - [Migration("20251003180537_Initial")] + [Migration("20251003212541_Initial")] partial class Initial { /// @@ -863,6 +863,9 @@ namespace Kurs.Platform.Migrations .HasMaxLength(256) .HasColumnType("nvarchar(256)"); + b.Property("BranchId") + .HasColumnType("uniqueidentifier"); + b.Property("City") .HasMaxLength(128) .HasColumnType("nvarchar(128)"); @@ -926,6 +929,10 @@ namespace Kurs.Platform.Migrations .HasMaxLength(16) .HasColumnType("nvarchar(16)"); + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + b.HasKey("Id"); b.ToTable("DBank", (string)null); @@ -949,6 +956,9 @@ namespace Kurs.Platform.Migrations b.Property("BankId") .HasColumnType("uniqueidentifier"); + b.Property("BranchId") + .HasColumnType("uniqueidentifier"); + b.Property("CanTransferMoney") .HasColumnType("bit"); @@ -989,6 +999,10 @@ namespace Kurs.Platform.Migrations .HasColumnType("uniqueidentifier") .HasColumnName("LastModifierId"); + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + b.HasKey("Id"); b.HasIndex("BankId"); @@ -1434,11 +1448,6 @@ namespace Kurs.Platform.Migrations b.Property("BranchId") .HasColumnType("uniqueidentifier"); - b.Property("ClassCode") - .IsRequired() - .HasMaxLength(64) - .HasColumnType("nvarchar(64)"); - b.Property("ClassTypeId") .HasColumnType("uniqueidentifier"); @@ -1472,6 +1481,11 @@ namespace Kurs.Platform.Migrations .HasColumnType("uniqueidentifier") .HasColumnName("LastModifierId"); + b.Property("Name") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + b.Property("Status") .HasMaxLength(20) .HasColumnType("nvarchar(20)"); @@ -1522,7 +1536,7 @@ namespace Kurs.Platform.Migrations .HasColumnType("uniqueidentifier") .HasColumnName("LastModifierId"); - b.Property("Reason") + b.Property("Name") .IsRequired() .HasMaxLength(50) .HasColumnType("nvarchar(50)"); @@ -2906,7 +2920,7 @@ namespace Kurs.Platform.Migrations .HasMaxLength(50) .HasColumnType("nvarchar(50)"); - b.Property("OrderNo") + b.Property("Order") .HasColumnType("smallint"); b.Property("TenantId") @@ -3160,15 +3174,15 @@ namespace Kurs.Platform.Migrations .HasColumnType("uniqueidentifier") .HasColumnName("LastModifierId"); - b.Property("TenantId") - .HasColumnType("uniqueidentifier") - .HasColumnName("TenantId"); - - b.Property("Type") + b.Property("Name") .IsRequired() .HasMaxLength(50) .HasColumnType("nvarchar(50)"); + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + b.HasKey("Id"); b.ToTable("DInformation", (string)null); @@ -3485,6 +3499,9 @@ namespace Kurs.Platform.Migrations b.Property("Id") .HasColumnType("uniqueidentifier"); + b.Property("BranchId") + .HasColumnType("uniqueidentifier"); + b.Property("ClassTypeId") .HasColumnType("uniqueidentifier"); @@ -3524,17 +3541,18 @@ namespace Kurs.Platform.Migrations b.Property("LessonDuration") .HasColumnType("int"); - b.Property("LevelCode") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)"); - b.Property("LevelType") .HasMaxLength(15) .HasColumnType("nvarchar(15)"); b.Property("MonthlyPaymentRate") - .HasColumnType("decimal(18,2)"); + .HasPrecision(18, 4) + .HasColumnType("decimal(18,4)"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); b.Property("Status") .HasMaxLength(10) @@ -4282,9 +4300,6 @@ namespace Kurs.Platform.Migrations .HasColumnType("datetime2") .HasColumnName("DeletionTime"); - b.Property("Flag") - .HasColumnType("bit"); - b.Property("IsDeleted") .ValueGeneratedOnAdd() .HasColumnType("bit") @@ -4358,7 +4373,7 @@ namespace Kurs.Platform.Migrations .HasMaxLength(50) .HasColumnType("nvarchar(50)"); - b.Property("OrderNo") + b.Property("Order") .HasColumnType("smallint"); b.Property("TenantId") @@ -5359,7 +5374,7 @@ namespace Kurs.Platform.Migrations .HasColumnType("uniqueidentifier") .HasColumnName("LastModifierId"); - b.Property("Reason") + b.Property("Name") .IsRequired() .HasMaxLength(50) .HasColumnType("nvarchar(50)"); @@ -5877,34 +5892,6 @@ namespace Kurs.Platform.Migrations b.ToTable("DSource", (string)null); }); - modelBuilder.Entity("Kurs.Platform.Entities.TransactionReason", b => - { - b.Property("Id") - .HasColumnType("uniqueidentifier"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)"); - - b.Property("Status") - .HasMaxLength(10) - .HasColumnType("nvarchar(10)"); - - b.Property("TenantId") - .HasColumnType("uniqueidentifier") - .HasColumnName("TenantId"); - - b.Property("Type") - .IsRequired() - .HasMaxLength(10) - .HasColumnType("nvarchar(10)"); - - b.HasKey("Id"); - - b.ToTable("DTransactionReason", (string)null); - }); - modelBuilder.Entity("Kurs.Platform.Entities.Uom", b => { b.Property("Id") diff --git a/api/src/Kurs.Platform.EntityFrameworkCore/Migrations/20251003180537_Initial.cs b/api/src/Kurs.Platform.EntityFrameworkCore/Migrations/20251003212541_Initial.cs similarity index 99% rename from api/src/Kurs.Platform.EntityFrameworkCore/Migrations/20251003180537_Initial.cs rename to api/src/Kurs.Platform.EntityFrameworkCore/Migrations/20251003212541_Initial.cs index 1e490526..a8096148 100644 --- a/api/src/Kurs.Platform.EntityFrameworkCore/Migrations/20251003180537_Initial.cs +++ b/api/src/Kurs.Platform.EntityFrameworkCore/Migrations/20251003212541_Initial.cs @@ -437,6 +437,8 @@ namespace Kurs.Platform.Migrations columns: table => new { Id = table.Column(type: "uniqueidentifier", nullable: false), + TenantId = table.Column(type: "uniqueidentifier", nullable: true), + BranchId = table.Column(type: "uniqueidentifier", nullable: true), Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false), IdentifierCode = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true), AddressLine1 = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: true), @@ -486,7 +488,7 @@ namespace Kurs.Platform.Migrations { Id = table.Column(type: "uniqueidentifier", nullable: false), TenantId = table.Column(type: "uniqueidentifier", nullable: true), - Reason = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), + Name = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), Status = table.Column(type: "nvarchar(10)", maxLength: 10, nullable: true), CreationTime = table.Column(type: "datetime2", nullable: false), CreatorId = table.Column(type: "uniqueidentifier", nullable: true), @@ -632,7 +634,7 @@ namespace Kurs.Platform.Migrations Id = table.Column(type: "uniqueidentifier", nullable: false), TenantId = table.Column(type: "uniqueidentifier", nullable: true), Name = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), - OrderNo = table.Column(type: "smallint", nullable: true) + Order = table.Column(type: "smallint", nullable: true) }, constraints: table => { @@ -685,7 +687,7 @@ namespace Kurs.Platform.Migrations { Id = table.Column(type: "uniqueidentifier", nullable: false), TenantId = table.Column(type: "uniqueidentifier", nullable: true), - Type = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), + Name = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), CreationTime = table.Column(type: "datetime2", nullable: false), CreatorId = table.Column(type: "uniqueidentifier", nullable: true), LastModificationTime = table.Column(type: "datetime2", nullable: true), @@ -811,7 +813,6 @@ namespace Kurs.Platform.Migrations TenantId = table.Column(type: "uniqueidentifier", nullable: true), Name = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), Type = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), - Flag = table.Column(type: "bit", nullable: true), CreationTime = table.Column(type: "datetime2", nullable: false), CreatorId = table.Column(type: "uniqueidentifier", nullable: true), LastModificationTime = table.Column(type: "datetime2", nullable: true), @@ -832,7 +833,7 @@ namespace Kurs.Platform.Migrations Id = table.Column(type: "uniqueidentifier", nullable: false), TenantId = table.Column(type: "uniqueidentifier", nullable: true), Name = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), - OrderNo = table.Column(type: "smallint", nullable: true), + Order = table.Column(type: "smallint", nullable: true), CreationTime = table.Column(type: "datetime2", nullable: false), CreatorId = table.Column(type: "uniqueidentifier", nullable: true), LastModificationTime = table.Column(type: "datetime2", nullable: true), @@ -933,7 +934,7 @@ namespace Kurs.Platform.Migrations { Id = table.Column(type: "uniqueidentifier", nullable: false), TenantId = table.Column(type: "uniqueidentifier", nullable: true), - Reason = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), + Name = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), Status = table.Column(type: "nvarchar(10)", maxLength: 10, nullable: true), CreationTime = table.Column(type: "datetime2", nullable: false), CreatorId = table.Column(type: "uniqueidentifier", nullable: true), @@ -1045,21 +1046,6 @@ namespace Kurs.Platform.Migrations table.PrimaryKey("PK_DSource", x => x.Id); }); - migrationBuilder.CreateTable( - name: "DTransactionReason", - columns: table => new - { - Id = table.Column(type: "uniqueidentifier", nullable: false), - TenantId = table.Column(type: "uniqueidentifier", nullable: true), - Name = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), - Type = table.Column(type: "nvarchar(10)", maxLength: 10, nullable: false), - Status = table.Column(type: "nvarchar(10)", maxLength: 10, nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_DTransactionReason", x => x.Id); - }); - migrationBuilder.CreateTable( name: "DUomCategory", columns: table => new @@ -2292,6 +2278,8 @@ namespace Kurs.Platform.Migrations columns: table => new { Id = table.Column(type: "uniqueidentifier", nullable: false), + TenantId = table.Column(type: "uniqueidentifier", nullable: true), + BranchId = table.Column(type: "uniqueidentifier", nullable: true), AccountNumber = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), BankId = table.Column(type: "uniqueidentifier", nullable: false), AccountOwner = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: false), @@ -3189,7 +3177,7 @@ namespace Kurs.Platform.Migrations TenantId = table.Column(type: "uniqueidentifier", nullable: true), BranchId = table.Column(type: "uniqueidentifier", nullable: true), ClassTypeId = table.Column(type: "uniqueidentifier", nullable: false), - ClassCode = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), + Name = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), Status = table.Column(type: "nvarchar(20)", maxLength: 20, nullable: true), CreationTime = table.Column(type: "datetime2", nullable: false), CreatorId = table.Column(type: "uniqueidentifier", nullable: true), @@ -3216,13 +3204,14 @@ namespace Kurs.Platform.Migrations { Id = table.Column(type: "uniqueidentifier", nullable: false), TenantId = table.Column(type: "uniqueidentifier", nullable: true), + BranchId = table.Column(type: "uniqueidentifier", nullable: true), ClassTypeId = table.Column(type: "uniqueidentifier", nullable: false), + Name = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), LevelType = table.Column(type: "nvarchar(15)", maxLength: 15, nullable: true), - LevelCode = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: false), LessonCount = table.Column(type: "int", nullable: false), Status = table.Column(type: "nvarchar(10)", maxLength: 10, nullable: true), LessonDuration = table.Column(type: "int", nullable: true), - MonthlyPaymentRate = table.Column(type: "decimal(18,2)", nullable: true), + MonthlyPaymentRate = table.Column(type: "decimal(18,4)", precision: 18, scale: 4, nullable: true), CreationTime = table.Column(type: "datetime2", nullable: false), CreatorId = table.Column(type: "uniqueidentifier", nullable: true), LastModificationTime = table.Column(type: "datetime2", nullable: true), @@ -4210,9 +4199,6 @@ namespace Kurs.Platform.Migrations migrationBuilder.DropTable( name: "DSource"); - migrationBuilder.DropTable( - name: "DTransactionReason"); - migrationBuilder.DropTable( name: "DUom"); diff --git a/api/src/Kurs.Platform.EntityFrameworkCore/Migrations/PlatformDbContextModelSnapshot.cs b/api/src/Kurs.Platform.EntityFrameworkCore/Migrations/PlatformDbContextModelSnapshot.cs index 2c60d9d4..a367d0f5 100644 --- a/api/src/Kurs.Platform.EntityFrameworkCore/Migrations/PlatformDbContextModelSnapshot.cs +++ b/api/src/Kurs.Platform.EntityFrameworkCore/Migrations/PlatformDbContextModelSnapshot.cs @@ -860,6 +860,9 @@ namespace Kurs.Platform.Migrations .HasMaxLength(256) .HasColumnType("nvarchar(256)"); + b.Property("BranchId") + .HasColumnType("uniqueidentifier"); + b.Property("City") .HasMaxLength(128) .HasColumnType("nvarchar(128)"); @@ -923,6 +926,10 @@ namespace Kurs.Platform.Migrations .HasMaxLength(16) .HasColumnType("nvarchar(16)"); + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + b.HasKey("Id"); b.ToTable("DBank", (string)null); @@ -946,6 +953,9 @@ namespace Kurs.Platform.Migrations b.Property("BankId") .HasColumnType("uniqueidentifier"); + b.Property("BranchId") + .HasColumnType("uniqueidentifier"); + b.Property("CanTransferMoney") .HasColumnType("bit"); @@ -986,6 +996,10 @@ namespace Kurs.Platform.Migrations .HasColumnType("uniqueidentifier") .HasColumnName("LastModifierId"); + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + b.HasKey("Id"); b.HasIndex("BankId"); @@ -1431,11 +1445,6 @@ namespace Kurs.Platform.Migrations b.Property("BranchId") .HasColumnType("uniqueidentifier"); - b.Property("ClassCode") - .IsRequired() - .HasMaxLength(64) - .HasColumnType("nvarchar(64)"); - b.Property("ClassTypeId") .HasColumnType("uniqueidentifier"); @@ -1469,6 +1478,11 @@ namespace Kurs.Platform.Migrations .HasColumnType("uniqueidentifier") .HasColumnName("LastModifierId"); + b.Property("Name") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("nvarchar(64)"); + b.Property("Status") .HasMaxLength(20) .HasColumnType("nvarchar(20)"); @@ -1519,7 +1533,7 @@ namespace Kurs.Platform.Migrations .HasColumnType("uniqueidentifier") .HasColumnName("LastModifierId"); - b.Property("Reason") + b.Property("Name") .IsRequired() .HasMaxLength(50) .HasColumnType("nvarchar(50)"); @@ -2903,7 +2917,7 @@ namespace Kurs.Platform.Migrations .HasMaxLength(50) .HasColumnType("nvarchar(50)"); - b.Property("OrderNo") + b.Property("Order") .HasColumnType("smallint"); b.Property("TenantId") @@ -3157,15 +3171,15 @@ namespace Kurs.Platform.Migrations .HasColumnType("uniqueidentifier") .HasColumnName("LastModifierId"); - b.Property("TenantId") - .HasColumnType("uniqueidentifier") - .HasColumnName("TenantId"); - - b.Property("Type") + b.Property("Name") .IsRequired() .HasMaxLength(50) .HasColumnType("nvarchar(50)"); + b.Property("TenantId") + .HasColumnType("uniqueidentifier") + .HasColumnName("TenantId"); + b.HasKey("Id"); b.ToTable("DInformation", (string)null); @@ -3482,6 +3496,9 @@ namespace Kurs.Platform.Migrations b.Property("Id") .HasColumnType("uniqueidentifier"); + b.Property("BranchId") + .HasColumnType("uniqueidentifier"); + b.Property("ClassTypeId") .HasColumnType("uniqueidentifier"); @@ -3521,17 +3538,18 @@ namespace Kurs.Platform.Migrations b.Property("LessonDuration") .HasColumnType("int"); - b.Property("LevelCode") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)"); - b.Property("LevelType") .HasMaxLength(15) .HasColumnType("nvarchar(15)"); b.Property("MonthlyPaymentRate") - .HasColumnType("decimal(18,2)"); + .HasPrecision(18, 4) + .HasColumnType("decimal(18,4)"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("nvarchar(50)"); b.Property("Status") .HasMaxLength(10) @@ -4279,9 +4297,6 @@ namespace Kurs.Platform.Migrations .HasColumnType("datetime2") .HasColumnName("DeletionTime"); - b.Property("Flag") - .HasColumnType("bit"); - b.Property("IsDeleted") .ValueGeneratedOnAdd() .HasColumnType("bit") @@ -4355,7 +4370,7 @@ namespace Kurs.Platform.Migrations .HasMaxLength(50) .HasColumnType("nvarchar(50)"); - b.Property("OrderNo") + b.Property("Order") .HasColumnType("smallint"); b.Property("TenantId") @@ -5356,7 +5371,7 @@ namespace Kurs.Platform.Migrations .HasColumnType("uniqueidentifier") .HasColumnName("LastModifierId"); - b.Property("Reason") + b.Property("Name") .IsRequired() .HasMaxLength(50) .HasColumnType("nvarchar(50)"); @@ -5874,34 +5889,6 @@ namespace Kurs.Platform.Migrations b.ToTable("DSource", (string)null); }); - modelBuilder.Entity("Kurs.Platform.Entities.TransactionReason", b => - { - b.Property("Id") - .HasColumnType("uniqueidentifier"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)"); - - b.Property("Status") - .HasMaxLength(10) - .HasColumnType("nvarchar(10)"); - - b.Property("TenantId") - .HasColumnType("uniqueidentifier") - .HasColumnName("TenantId"); - - b.Property("Type") - .IsRequired() - .HasMaxLength(10) - .HasColumnType("nvarchar(10)"); - - b.HasKey("Id"); - - b.ToTable("DTransactionReason", (string)null); - }); - modelBuilder.Entity("Kurs.Platform.Entities.Uom", b => { b.Property("Id")