Entity eksik sütunları ve seeder düzenlemesi

This commit is contained in:
Sedat ÖZTÜRK 2025-10-10 10:11:32 +03:00
parent ca358bc4f9
commit 7bbd078637
15 changed files with 502 additions and 184 deletions

View file

@ -21404,7 +21404,8 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc
new() { Order=1,ColCount=1,ColSpan=2,ItemType="group", Items= new() { Order=1,ColCount=1,ColSpan=2,ItemType="group", Items=
[ [
new EditingFormItemDto { Order = 1, DataField = "Name", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 1, DataField = "Name", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 2, DataField = "Type", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 2, DataField = "Type", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxSelectBox },
new EditingFormItemDto { Order = 3, DataField = "Status", ColSpan = 1, EditorType2 = EditorTypes.dxSelectBox },
] ]
} }
}), }),
@ -21425,6 +21426,13 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc
Value = "false", Value = "false",
CustomValueType = FieldCustomValueTypeEnum.Value } CustomValueType = FieldCustomValueTypeEnum.Value }
}), }),
FormFieldsDefaultValueJson = JsonSerializer.Serialize(new FieldsDefaultValue[] {
new() {
FieldName = "Status",
FieldDbType = DbType.String,
Value = "Aktif",
CustomValueType = FieldCustomValueTypeEnum.Value },
}),
} }
); );
@ -21515,6 +21523,17 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc
ValidationRuleJson = JsonSerializer.Serialize(new ValidationRuleDto[] { ValidationRuleJson = JsonSerializer.Serialize(new ValidationRuleDto[] {
new ValidationRuleDto() { Type = Enum.GetName(UiColumnValidationRuleTypeEnum.required) } new ValidationRuleDto() { Type = Enum.GetName(UiColumnValidationRuleTypeEnum.required) }
}), }),
LookupJson = JsonSerializer.Serialize(new LookupDto {
DataSourceType = UiLookupDataSourceTypeEnum.StaticData,
DisplayExpr = "name",
ValueExpr = "key",
LookupQuery = JsonSerializer.Serialize(new LookupDataDto[] {
new () { Key="Dijital",Name="Dijital" },
new () { Key="Telefon",Name="Telefon" },
new () { Key="Fiziksel",Name="Fiziksel" },
new () { Key="Hibrit",Name="Hibrit" },
}),
}),
ColumnCustomizationJson = JsonSerializer.Serialize(new ColumnCustomizationDto ColumnCustomizationJson = JsonSerializer.Serialize(new ColumnCustomizationDto
{ {
AllowReordering = true, AllowReordering = true,
@ -21532,6 +21551,45 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc
{ {
IsPivot = true IsPivot = true
}) })
},
// Status
new()
{
ListFormCode = listFormMeetingMethod.ListFormCode,
CultureName = LanguageCodes.En,
SourceDbType = DbType.String,
FieldName = "Status",
Width = 120,
ListOrderNo = 4,
Visible = true,
IsActive = true,
IsDeleted = false,
ValidationRuleJson = JsonSerializer.Serialize(new ValidationRuleDto[] {
new ValidationRuleDto() { Type = Enum.GetName(UiColumnValidationRuleTypeEnum.required) }
}),
LookupJson = JsonSerializer.Serialize(new LookupDto {
DataSourceType = UiLookupDataSourceTypeEnum.StaticData,
DisplayExpr = "name",
ValueExpr = "key",
LookupQuery = JsonSerializer.Serialize(new LookupDataDto[] {
new () { Key="Aktif",Name="Aktif" },
new () { Key="Pasif",Name="Pasif" },
}),
}),
ColumnCustomizationJson = JsonSerializer.Serialize(new ColumnCustomizationDto
{
AllowReordering = true,
}),
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
{
C = AppCodes.Definitions.MeetingMethod + ".Create",
R = AppCodes.Definitions.MeetingMethod,
U = AppCodes.Definitions.MeetingMethod + ".Update",
E = true,
I = true,
Deny = false
}),
PivotSettingsJson = JsonSerializer.Serialize(new ListFormFieldPivotSettingsDto { IsPivot = true })
} }
}); });
#endregion #endregion
@ -21641,6 +21699,7 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc
[ [
new EditingFormItemDto { Order = 1, DataField = "Name", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 1, DataField = "Name", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 2, DataField = "Order", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 2, DataField = "Order", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxNumberBox },
new EditingFormItemDto { Order = 3, DataField = "Status", ColSpan = 1, EditorType2 = EditorTypes.dxSelectBox },
] ]
} }
}), }),
@ -21661,6 +21720,13 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc
Value = "false", Value = "false",
CustomValueType = FieldCustomValueTypeEnum.Value } CustomValueType = FieldCustomValueTypeEnum.Value }
}), }),
FormFieldsDefaultValueJson = JsonSerializer.Serialize(new FieldsDefaultValue[] {
new() {
FieldName = "Status",
FieldDbType = DbType.String,
Value = "Aktif",
CustomValueType = FieldCustomValueTypeEnum.Value },
}),
} }
); );
@ -21711,8 +21777,6 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
SortIndex = 1,
SortDirection = GridColumnOptions.SortOrderAsc,
AllowSearch = true, AllowSearch = true,
ValidationRuleJson = JsonSerializer.Serialize(new ValidationRuleDto[] { ValidationRuleJson = JsonSerializer.Serialize(new ValidationRuleDto[] {
new ValidationRuleDto() { Type = Enum.GetName(UiColumnValidationRuleTypeEnum.required) } new ValidationRuleDto() { Type = Enum.GetName(UiColumnValidationRuleTypeEnum.required) }
@ -21748,6 +21812,8 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
AllowSearch = true, AllowSearch = true,
SortIndex = 1,
SortDirection = GridColumnOptions.SortOrderAsc,
ValidationRuleJson = JsonSerializer.Serialize(new ValidationRuleDto[] { ValidationRuleJson = JsonSerializer.Serialize(new ValidationRuleDto[] {
new ValidationRuleDto() { Type = Enum.GetName(UiColumnValidationRuleTypeEnum.required) } new ValidationRuleDto() { Type = Enum.GetName(UiColumnValidationRuleTypeEnum.required) }
}), }),
@ -21768,6 +21834,45 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc
{ {
IsPivot = true IsPivot = true
}) })
},
// Status
new()
{
ListFormCode = listFormMeetingResult.ListFormCode,
CultureName = LanguageCodes.En,
SourceDbType = DbType.String,
FieldName = "Status",
Width = 120,
ListOrderNo = 4,
Visible = true,
IsActive = true,
IsDeleted = false,
ValidationRuleJson = JsonSerializer.Serialize(new ValidationRuleDto[] {
new ValidationRuleDto() { Type = Enum.GetName(UiColumnValidationRuleTypeEnum.required) }
}),
LookupJson = JsonSerializer.Serialize(new LookupDto {
DataSourceType = UiLookupDataSourceTypeEnum.StaticData,
DisplayExpr = "name",
ValueExpr = "key",
LookupQuery = JsonSerializer.Serialize(new LookupDataDto[] {
new () { Key="Aktif",Name="Aktif" },
new () { Key="Pasif",Name="Pasif" },
}),
}),
ColumnCustomizationJson = JsonSerializer.Serialize(new ColumnCustomizationDto
{
AllowReordering = true,
}),
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
{
C = AppCodes.Definitions.MeetingResult + ".Create",
R = AppCodes.Definitions.MeetingResult,
U = AppCodes.Definitions.MeetingResult + ".Update",
E = true,
I = true,
Deny = false
}),
PivotSettingsJson = JsonSerializer.Serialize(new ListFormFieldPivotSettingsDto { IsPivot = true })
} }
}); });
#endregion #endregion
@ -22380,7 +22485,8 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc
new() { Order=1,ColCount=1,ColSpan=2,ItemType="group", Items= new() { Order=1,ColCount=1,ColSpan=2,ItemType="group", Items=
[ [
new EditingFormItemDto { Order = 1, DataField = "Name", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 1, DataField = "Name", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 2, DataField = "Status", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxSelectBox }, new EditingFormItemDto { Order = 2, DataField = "Category", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxSelectBox },
new EditingFormItemDto { Order = 3, DataField = "Status", ColSpan = 2, IsRequired = true, EditorType2=EditorTypes.dxSelectBox },
] ]
} }
}), }),
@ -22454,7 +22560,7 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.String, SourceDbType = DbType.String,
FieldName = "Name", FieldName = "Name",
Width = 250, Width = 500,
ListOrderNo = 2, ListOrderNo = 2,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
@ -22483,6 +22589,47 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc
IsPivot = true IsPivot = true
}) })
}, },
// Status
new()
{
ListFormCode = listFormSalesRejectionReason.ListFormCode,
CultureName = LanguageCodes.En,
SourceDbType = DbType.String,
FieldName = "Category",
Width = 300,
ListOrderNo = 3,
Visible = true,
IsActive = true,
IsDeleted = false,
LookupJson = JsonSerializer.Serialize(new LookupDto {
DataSourceType = UiLookupDataSourceTypeEnum.StaticData,
DisplayExpr = "name",
ValueExpr = "key",
LookupQuery = JsonSerializer.Serialize(new LookupDataDto[] {
new () { Key="Kişisel",Name="Kişisel" },
new () { Key="Fiyat / Bütçe",Name="Fiyat / Bütçe" },
new () { Key="Ürün / Hizmet",Name="Ürün / Hizmet" },
new () { Key="Rekabet",Name="Rekabet" },
new () { Key="Zamanlama",Name="Zamanlama" },
new () { Key="Lokasyon",Name="Lokasyon" },
new () { Key="İletişim",Name="İletişim" },
}),
}),
ColumnCustomizationJson = JsonSerializer.Serialize(new ColumnCustomizationDto
{
AllowReordering = true,
}),
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
{
C = AppCodes.Definitions.Event + ".Create",
R = AppCodes.Definitions.Event,
U = AppCodes.Definitions.Event + ".Update",
E = true,
I = true,
Deny = false
}),
PivotSettingsJson = JsonSerializer.Serialize(new ListFormFieldPivotSettingsDto { IsPivot = true })
},
new() { new() {
ListFormCode = listFormSalesRejectionReason.ListFormCode, ListFormCode = listFormSalesRejectionReason.ListFormCode,
RoleId = null, RoleId = null,
@ -22490,8 +22637,8 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.String, SourceDbType = DbType.String,
FieldName = "Status", FieldName = "Status",
Width = 250, Width = 100,
ListOrderNo = 3, ListOrderNo = 4,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
@ -26758,10 +26905,11 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc
ItemType = "group", ItemType = "group",
Items = Items =
[ [
new EditingFormItemDto { Order = 2, DataField = "BranchId", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton }, new EditingFormItemDto { Order = 1, DataField = "BranchId", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton },
new EditingFormItemDto { Order = 3, DataField = "ClassTypeId", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton }, new EditingFormItemDto { Order = 2, DataField = "ClassTypeId", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton },
new EditingFormItemDto { Order = 4, DataField = "Name", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox }, new EditingFormItemDto { Order = 3, DataField = "LevelType", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox },
new EditingFormItemDto { Order = 5, DataField = "LevelType", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox }, new EditingFormItemDto { Order = 4, DataField = "Order", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxNumberBox},
new EditingFormItemDto { Order = 5, DataField = "Name", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 6, DataField = "LessonCount", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 6, DataField = "LessonCount", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxNumberBox },
new EditingFormItemDto { Order = 7, DataField = "LessonDuration", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 7, DataField = "LessonDuration", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxNumberBox },
new EditingFormItemDto { Order = 8, DataField = "MonthlyPaymentRate", ColSpan = 1, EditorType2 = EditorTypes.dxNumberBox }, new EditingFormItemDto { Order = 8, DataField = "MonthlyPaymentRate", ColSpan = 1, EditorType2 = EditorTypes.dxNumberBox },
@ -26895,40 +27043,6 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc
}), }),
PivotSettingsJson = JsonSerializer.Serialize(new ListFormFieldPivotSettingsDto { IsPivot = true }) PivotSettingsJson = JsonSerializer.Serialize(new ListFormFieldPivotSettingsDto { IsPivot = true })
}, },
// Name
new()
{
ListFormCode = listFormLevel.ListFormCode,
CultureName = LanguageCodes.En,
SourceDbType = DbType.String,
FieldName = "Name",
Width = 180,
ListOrderNo = 4,
Visible = true,
IsActive = true,
IsDeleted = false,
SortIndex = 1,
SortDirection = GridColumnOptions.SortOrderAsc,
AllowSearch = true,
ValidationRuleJson = JsonSerializer.Serialize(new ValidationRuleDto[]
{
new ValidationRuleDto() { Type = Enum.GetName(UiColumnValidationRuleTypeEnum.required) }
}),
ColumnCustomizationJson = JsonSerializer.Serialize(new ColumnCustomizationDto
{
AllowReordering = true,
}),
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
{
C = AppCodes.Definitions.Level + ".Create",
R = AppCodes.Definitions.Level,
U = AppCodes.Definitions.Level + ".Update",
E = true,
I = true,
Deny = false
}),
PivotSettingsJson = JsonSerializer.Serialize(new ListFormFieldPivotSettingsDto { IsPivot = true })
},
// LevelType // LevelType
new() new()
{ {
@ -26937,7 +27051,7 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc
SourceDbType = DbType.String, SourceDbType = DbType.String,
FieldName = "LevelType", FieldName = "LevelType",
Width = 150, Width = 150,
ListOrderNo = 5, ListOrderNo = 4,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
@ -26969,6 +27083,72 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc
}), }),
PivotSettingsJson = JsonSerializer.Serialize(new ListFormFieldPivotSettingsDto { IsPivot = true }) PivotSettingsJson = JsonSerializer.Serialize(new ListFormFieldPivotSettingsDto { IsPivot = true })
}, },
// Order
new()
{
ListFormCode = listFormLevel.ListFormCode,
CultureName = LanguageCodes.En,
SourceDbType = DbType.Int32,
FieldName = "Order",
Width = 180,
ListOrderNo = 5,
Visible = true,
IsActive = true,
IsDeleted = false,
SortIndex = 1,
SortDirection = GridColumnOptions.SortOrderAsc,
AllowSearch = true,
ValidationRuleJson = JsonSerializer.Serialize(new ValidationRuleDto[]
{
new ValidationRuleDto() { Type = Enum.GetName(UiColumnValidationRuleTypeEnum.required) }
}),
ColumnCustomizationJson = JsonSerializer.Serialize(new ColumnCustomizationDto
{
AllowReordering = true,
}),
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
{
C = AppCodes.Definitions.Level + ".Create",
R = AppCodes.Definitions.Level,
U = AppCodes.Definitions.Level + ".Update",
E = true,
I = true,
Deny = false
}),
PivotSettingsJson = JsonSerializer.Serialize(new ListFormFieldPivotSettingsDto { IsPivot = true })
},
// Name
new()
{
ListFormCode = listFormLevel.ListFormCode,
CultureName = LanguageCodes.En,
SourceDbType = DbType.String,
FieldName = "Name",
Width = 180,
ListOrderNo = 6,
Visible = true,
IsActive = true,
IsDeleted = false,
AllowSearch = true,
ValidationRuleJson = JsonSerializer.Serialize(new ValidationRuleDto[]
{
new ValidationRuleDto() { Type = Enum.GetName(UiColumnValidationRuleTypeEnum.required) }
}),
ColumnCustomizationJson = JsonSerializer.Serialize(new ColumnCustomizationDto
{
AllowReordering = true,
}),
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
{
C = AppCodes.Definitions.Level + ".Create",
R = AppCodes.Definitions.Level,
U = AppCodes.Definitions.Level + ".Update",
E = true,
I = true,
Deny = false
}),
PivotSettingsJson = JsonSerializer.Serialize(new ListFormFieldPivotSettingsDto { IsPivot = true })
},
// LessonCount // LessonCount
new() new()
{ {
@ -26977,7 +27157,7 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc
SourceDbType = DbType.Int32, SourceDbType = DbType.Int32,
FieldName = "LessonCount", FieldName = "LessonCount",
Width = 120, Width = 120,
ListOrderNo = 6, ListOrderNo = 7,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
@ -27004,7 +27184,7 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc
SourceDbType = DbType.Int32, SourceDbType = DbType.Int32,
FieldName = "LessonDuration", FieldName = "LessonDuration",
Width = 120, Width = 120,
ListOrderNo = 7, ListOrderNo = 8,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
@ -27031,7 +27211,7 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc
SourceDbType = DbType.Decimal, SourceDbType = DbType.Decimal,
FieldName = "MonthlyPaymentRate", FieldName = "MonthlyPaymentRate",
Width = 150, Width = 150,
ListOrderNo = 8, ListOrderNo = 9,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,
@ -27058,7 +27238,7 @@ public class PlatformListFormsSeeder : IDataSeedContributor, ITransientDependenc
SourceDbType = DbType.String, SourceDbType = DbType.String,
FieldName = "Status", FieldName = "Status",
Width = 150, Width = 150,
ListOrderNo = 9, ListOrderNo = 10,
Visible = true, Visible = true,
IsActive = true, IsActive = true,
IsDeleted = false, IsDeleted = false,

View file

@ -1174,6 +1174,7 @@ public class PlatformTenantDataSeeder : IDataSeedContributor, ITransientDependen
await _salesRejectionReasonRepository.InsertAsync(new() await _salesRejectionReasonRepository.InsertAsync(new()
{ {
Name = item.Name, Name = item.Name,
Category = item.Category,
Status = item.Status Status = item.Status
}); });
} }
@ -1201,7 +1202,8 @@ public class PlatformTenantDataSeeder : IDataSeedContributor, ITransientDependen
await _meetingMethodRepository.InsertAsync(new() await _meetingMethodRepository.InsertAsync(new()
{ {
Name = item.Name, Name = item.Name,
Type = item.Type Type = item.Type,
Status = item.Status
}); });
} }
} }
@ -1215,7 +1217,8 @@ public class PlatformTenantDataSeeder : IDataSeedContributor, ITransientDependen
await _meetingResultRepository.InsertAsync(new() await _meetingResultRepository.InsertAsync(new()
{ {
Name = item.Name, Name = item.Name,
Order = item.Order Order = item.Order,
Status = item.Status
}); });
} }
} }

View file

@ -24990,50 +24990,71 @@
], ],
"MeetingMethods": [ "MeetingMethods": [
{ {
"Name": "EMAIL", "Name": "Gelen Arama",
"Type": "SANAL" "Type": "Telefon",
"Status": "Aktif"
}, },
{ {
"Name": "GELEN ARAMA", "Name": "Giden Arama",
"Type": "TELEFON" "Type": "Telefon",
"Status": "Aktif"
}, },
{ {
"Name": "GİDEN ARAMA", "Name": "Sms",
"Type": "TELEFON" "Type": "Telefon",
"Status": "Aktif"
}, },
{ {
"Name": "SHOW", "Name": "Show",
"Type": "YÜZYÜZE" "Type": "Fiziksel",
"Status": "Aktif"
}, },
{ {
"Name": "WEB", "Name": "Walk-In",
"Type": "SANAL" "Type": "Fiziksel",
"Status": "Aktif"
}, },
{ {
"Name": "WI", "Name": "Email",
"Type": "YÜZYÜZE" "Type": "Dijital",
"Status": "Aktif"
},
{
"Name": "Web",
"Type": "Dijital",
"Status": "Aktif"
},
{
"Name": "Sosyal Medya",
"Type": "Dijital",
"Status": "Aktif"
} }
], ],
"MeetingResults": [ "MeetingResults": [
{ {
"Name": "ARANACAK", "Name": "Aranacak",
"Order": 1 "Order": 1,
"Status": "Aktif"
}, },
{ {
"Name": "RANDEVU", "Name": "Randevu",
"Order": 2 "Order": 2,
"Status": "Aktif"
}, },
{ {
"Name": "ERTELEME", "Name": "Erteleme",
"Order": 3 "Order": 3,
"Status": "Aktif"
}, },
{ {
"Name": "ARAYACAK", "Name": "Arayacak",
"Order": 4 "Order": 4,
"Status": "Aktif"
}, },
{ {
"Name": "İPTAL", "Name": "İptal",
"Order": 5 "Order": 5,
"Status": "Aktif"
} }
], ],
"Programs": [ "Programs": [
@ -25110,87 +25131,108 @@
], ],
"SalesRejectionReasons": [ "SalesRejectionReasons": [
{ {
"Name": "ARKADAŞI YOK", "Name": "FİYAT YÜKSEK",
"Status": "Aktif" "Category": "Fiyat / Bütçe",
},
{
"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": "Aktif"
},
{
"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" "Status": "Aktif"
}, },
{ {
"Name": "TAKSİT AZ", "Name": "TAKSİT AZ",
"Category": "Fiyat / Bütçe",
"Status": "Aktif" "Status": "Aktif"
}, },
{ {
"Name": "ULAŞILAMIYOR", "Name": "ARKADAŞI YOK",
"Category": "Kişisel",
"Status": "Aktif" "Status": "Aktif"
}, },
{ {
"Name": "YERİ UZAK", "Name": "ARTIK DÜŞÜNMÜYOR",
"Category": "Kişisel",
"Status": "Aktif" "Status": "Aktif"
}, },
{ {
"Name": "ZAMANI YOK", "Name": "BAŞKA YERDE ÖĞRENCİ",
"Category": "Kişisel",
"Status": "Aktif"
},
{
"Name": "CİDDİ DEĞİL",
"Category": "Kişisel",
"Status": "Aktif"
},
{
"Name": "DÜŞÜNMEK İSTİYOR",
"Category": "Kişisel",
"Status": "Aktif"
},
{
"Name": "EŞİNE SORACAK",
"Category": "Kişisel",
"Status": "Aktif" "Status": "Aktif"
}, },
{ {
"Name": "AİLESİNE SORACAK", "Name": "AİLESİNE SORACAK",
"Category": "Kişisel",
"Status": "Aktif" "Status": "Aktif"
}, },
{ {
"Name": "YANLIŞ GİRİŞ", "Name": "KÜÇÜK ÇOCUK EĞİTİMİ İSTİYOR",
"Status": "Aktif" "Category": "Kişisel",
},
{
"Name": "FİYAT YÜKSEK",
"Status": "Aktif" "Status": "Aktif"
}, },
{ {
"Name": "VEFAT", "Name": "VEFAT",
"Category": "Kişisel",
"Status": "Aktif" "Status": "Aktif"
}, },
{ {
"Name": "ARANMAK İSTEMİYOR", "Name": "ARANMAK İSTEMİYOR",
"Category": "Kişisel",
"Status": "Aktif"
},
{
"Name": "YANLIŞ GİRİŞ",
"Category": "Kişisel",
"Status": "Aktif"
},
{
"Name": "EĞİTİM SİSTEMİNİ BEĞENMEDİ",
"Category": "Ürün / Hizmet",
"Status": "Aktif"
},
{
"Name": "SOSYAL AKTİVİTE YOK",
"Category": "Ürün / Hizmet",
"Status": "Aktif"
},
{
"Name": "REKABET",
"Category": "Rekabet",
"Status": "Aktif"
},
{
"Name": "ŞİRKETİ BAŞKA KURUMLA ANLAŞMALI",
"Category": "Rekabet",
"Status": "Aktif"
},
{
"Name": "DERS SAATLERİ UYMUYOR",
"Category": "Zamanlama",
"Status": "Aktif"
},
{
"Name": "ZAMANI YOK",
"Category": "Zamanlama",
"Status": "Aktif"
},
{
"Name": "YERİ UZAK",
"Category": "Lokasyon",
"Status": "Aktif"
},
{
"Name": "ULAŞILAMIYOR",
"Category": "İletişim",
"Status": "Aktif" "Status": "Aktif"
} }
], ],

View file

@ -386,6 +386,7 @@ public class WorkHourSeedDto
public class SalesRejectionReasonSeedDto public class SalesRejectionReasonSeedDto
{ {
public string Name { get; set; } public string Name { get; set; }
public string Category { get; set; }
public string Status { get; set; } public string Status { get; set; }
} }
@ -398,12 +399,14 @@ public class MeetingMethodSeedDto
{ {
public string Name { get; set; } public string Name { get; set; }
public string Type { get; set; } public string Type { get; set; }
public string Status { get; set; }
} }
public class MeetingResultSeedDto public class MeetingResultSeedDto
{ {
public string Name { get; set; } public string Name { get; set; }
public short? Order { get; set; } public short? Order { get; set; }
public string Status { get; set; }
} }
public class ClassCancellationReasonSeedDto public class ClassCancellationReasonSeedDto

View file

@ -191,11 +191,12 @@ public class BranchSeedManager : DomainService
TenantId = tenantId, TenantId = tenantId,
BranchId = branchId, BranchId = branchId,
ClassTypeId = classType.Id, ClassTypeId = classType.Id,
Name = item.Name,
LevelType = item.LevelType, LevelType = item.LevelType,
Name = item.Name,
Order = item.Order,
LessonCount = item.LessonCount, LessonCount = item.LessonCount,
Status = item.Status,
LessonDuration = item.LessonDuration, LessonDuration = item.LessonDuration,
Status = item.Status,
MonthlyPaymentRate = item.MonthlyPaymentRate MonthlyPaymentRate = item.MonthlyPaymentRate
}); });

View file

@ -45,8 +45,9 @@ public class ClassSeedDto
public class LevelSeedDto public class LevelSeedDto
{ {
public string ClassTypeName { get; set; } public string ClassTypeName { get; set; }
public string Name { get; set; }
public string LevelType { get; set; } public string LevelType { get; set; }
public string Name { get; set; }
public int Order { get; set; }
public int LessonCount { get; set; } public int LessonCount { get; set; }
public string Status { get; set; } public string Status { get; set; }
public int? LessonDuration { get; set; } public int? LessonDuration { get; set; }

View file

@ -81,315 +81,350 @@
"ClassTypeName": "3-6 Kişilik", "ClassTypeName": "3-6 Kişilik",
"Name": "A1", "Name": "A1",
"LevelType": "Seviye", "LevelType": "Seviye",
"Order": 1,
"LessonCount": 80, "LessonCount": 80,
"Status": "Aktif",
"LessonDuration": 2, "LessonDuration": 2,
"Status": "Aktif",
"MonthlyPaymentRate": 20.0 "MonthlyPaymentRate": 20.0
}, },
{ {
"ClassTypeName": "3-6 Kişilik", "ClassTypeName": "3-6 Kişilik",
"Name": "A2", "Name": "A2",
"LevelType": "Seviye", "LevelType": "Seviye",
"Order": 2,
"LessonCount": 90, "LessonCount": 90,
"Status": "Aktif",
"LessonDuration": 3, "LessonDuration": 3,
"Status": "Aktif",
"MonthlyPaymentRate": 30.0 "MonthlyPaymentRate": 30.0
}, },
{ {
"ClassTypeName": "3-6 Kişilik", "ClassTypeName": "3-6 Kişilik",
"Name": "B1", "Name": "B1",
"LevelType": "Seviye", "LevelType": "Seviye",
"Order": 3,
"LessonCount": 90, "LessonCount": 90,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "3-6 Kişilik", "ClassTypeName": "3-6 Kişilik",
"Name": "B2", "Name": "B2",
"LevelType": "Seviye", "LevelType": "Seviye",
"Order": 4,
"LessonCount": 80, "LessonCount": 80,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "3-6 Kişilik", "ClassTypeName": "3-6 Kişilik",
"Name": "C1", "Name": "C1",
"LevelType": "Seviye", "LevelType": "Seviye",
"Order": 5,
"LessonCount": 80, "LessonCount": 80,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "3-6 Kişilik", "ClassTypeName": "3-6 Kişilik",
"Name": "C2", "Name": "C2",
"LevelType": "Seviye", "LevelType": "Seviye",
"Order": 6,
"LessonCount": 80, "LessonCount": 80,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "3-6 Kişilik", "ClassTypeName": "3-6 Kişilik",
"Name": "BULATS", "Name": "BULATS",
"LevelType": "Sınav Eğitimi", "LevelType": "Sınav Eğitimi",
"Order": 1,
"LessonCount": 50, "LessonCount": 50,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "3-6 Kişilik", "ClassTypeName": "3-6 Kişilik",
"Name": "GMAT", "Name": "GMAT",
"LevelType": "Sınav Eğitimi", "LevelType": "Sınav Eğitimi",
"Order": 2,
"LessonCount": 50, "LessonCount": 50,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "3-6 Kişilik", "ClassTypeName": "3-6 Kişilik",
"Name": "YDS", "Name": "YDS",
"LevelType": "Sınav Eğitimi", "LevelType": "Sınav Eğitimi",
"Order": 3,
"LessonCount": 50, "LessonCount": 50,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "3-6 Kişilik", "ClassTypeName": "3-6 Kişilik",
"Name": "ÜDS", "Name": "ÜDS",
"LevelType": "Sınav Eğitimi", "LevelType": "Sınav Eğitimi",
"Order": 4,
"LessonCount": 50, "LessonCount": 50,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "5-8 Kişilik", "ClassTypeName": "5-8 Kişilik",
"Name": "A1", "Name": "A1",
"LevelType": "Seviye", "LevelType": "Seviye",
"Order": 1,
"LessonCount": 80, "LessonCount": 80,
"Status": "Aktif",
"LessonDuration": 3, "LessonDuration": 3,
"Status": "Aktif",
"MonthlyPaymentRate": 30.0 "MonthlyPaymentRate": 30.0
}, },
{ {
"ClassTypeName": "5-8 Kişilik", "ClassTypeName": "5-8 Kişilik",
"Name": "A2", "Name": "A2",
"LevelType": "Seviye", "LevelType": "Seviye",
"Order": 2,
"LessonCount": 80, "LessonCount": 80,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "5-8 Kişilik", "ClassTypeName": "5-8 Kişilik",
"Name": "B1", "Name": "B1",
"LevelType": "Seviye", "LevelType": "Seviye",
"Order": 3,
"LessonCount": 80, "LessonCount": 80,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "5-8 Kişilik", "ClassTypeName": "5-8 Kişilik",
"Name": "B2", "Name": "B2",
"LevelType": "Seviye", "LevelType": "Seviye",
"Order": 4,
"LessonCount": 80, "LessonCount": 80,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "5-8 Kişilik", "ClassTypeName": "5-8 Kişilik",
"Name": "C1", "Name": "C1",
"LevelType": "Seviye", "LevelType": "Seviye",
"Order": 5,
"LessonCount": 80, "LessonCount": 80,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "5-8 Kişilik", "ClassTypeName": "5-8 Kişilik",
"Name": "C2", "Name": "C2",
"LevelType": "Seviye", "LevelType": "Seviye",
"Order": 6,
"LessonCount": 80, "LessonCount": 80,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "5-8 Kişilik", "ClassTypeName": "5-8 Kişilik",
"Name": "IELTS", "Name": "IELTS",
"LevelType": "Sınav Eğitimi", "LevelType": "Sınav Eğitimi",
"Order": 1,
"LessonCount": 50, "LessonCount": 50,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "5-8 Kişilik", "ClassTypeName": "5-8 Kişilik",
"Name": "TOEFL", "Name": "TOEFL",
"LevelType": "Sınav Eğitimi", "LevelType": "Sınav Eğitimi",
"Order": 2,
"LessonCount": 50, "LessonCount": 50,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "5-8 Kişilik", "ClassTypeName": "5-8 Kişilik",
"Name": "BULATS", "Name": "BULATS",
"LevelType": "Sınav Eğitimi", "LevelType": "Sınav Eğitimi",
"Order": 3,
"LessonCount": 50, "LessonCount": 50,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "5-8 Kişilik", "ClassTypeName": "5-8 Kişilik",
"Name": "GMAT", "Name": "GMAT",
"LevelType": "Sınav Eğitimi", "LevelType": "Sınav Eğitimi",
"Order": 4,
"LessonCount": 50, "LessonCount": 50,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "5-8 Kişilik", "ClassTypeName": "5-8 Kişilik",
"Name": "YDS", "Name": "YDS",
"LevelType": "Sınav Eğitimi", "LevelType": "Sınav Eğitimi",
"Order": 5,
"LessonCount": 50, "LessonCount": 50,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "5-8 Kişilik", "ClassTypeName": "5-8 Kişilik",
"Name": "PROFICIENCY", "Name": "PROFICIENCY",
"LevelType": "Sınav Eğitimi", "LevelType": "Sınav Eğitimi",
"Order": 6,
"LessonCount": 50, "LessonCount": 50,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "5-8 Kişilik", "ClassTypeName": "5-8 Kişilik",
"Name": "SAT", "Name": "SAT",
"LevelType": "Sınav Eğitimi", "LevelType": "Sınav Eğitimi",
"Order": 7,
"LessonCount": 50, "LessonCount": 50,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "5-8 Kişilik", "ClassTypeName": "5-8 Kişilik",
"Name": "TOEIC", "Name": "TOEIC",
"LevelType": "Sınav Eğitimi", "LevelType": "Sınav Eğitimi",
"Order": 8,
"LessonCount": 50, "LessonCount": 50,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "5-8 Kişilik", "ClassTypeName": "5-8 Kişilik",
"Name": "ÜDS", "Name": "ÜDS",
"LevelType": "Sınav Eğitimi", "LevelType": "Sınav Eğitimi",
"Order": 9,
"LessonCount": 50, "LessonCount": 50,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "5-8 Kişilik", "ClassTypeName": "5-8 Kişilik",
"Name": "SAT2", "Name": "SAT2",
"LevelType": "Sınav Eğitimi", "LevelType": "Sınav Eğitimi",
"Order": 10,
"LessonCount": 50, "LessonCount": 50,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "ÖZEL", "ClassTypeName": "ÖZEL",
"Name": "A1", "Name": "A1",
"LevelType": "Seviye", "LevelType": "Seviye",
"Order": 1,
"LessonCount": 60, "LessonCount": 60,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "ÖZEL", "ClassTypeName": "ÖZEL",
"Name": "A2", "Name": "A2",
"LevelType": "Seviye", "LevelType": "Seviye",
"Order": 2,
"LessonCount": 70, "LessonCount": 70,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "ÖZEL", "ClassTypeName": "ÖZEL",
"Name": "B1", "Name": "B1",
"LevelType": "Seviye", "LevelType": "Seviye",
"Order": 3,
"LessonCount": 80, "LessonCount": 80,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "ÖZEL", "ClassTypeName": "ÖZEL",
"Name": "B2", "Name": "B2",
"LevelType": "Seviye", "LevelType": "Seviye",
"Order": 4,
"LessonCount": 80, "LessonCount": 80,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "ÖZEL", "ClassTypeName": "ÖZEL",
"Name": "C1", "Name": "C1",
"LevelType": "Seviye", "LevelType": "Seviye",
"Order": 5,
"LessonCount": 90, "LessonCount": 90,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "ÖZEL", "ClassTypeName": "ÖZEL",
"Name": "C2", "Name": "C2",
"LevelType": "Seviye", "LevelType": "Seviye",
"Order": 6,
"LessonCount": 90, "LessonCount": 90,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "ÖZEL", "ClassTypeName": "ÖZEL",
"Name": "BULATS", "Name": "BULATS",
"LevelType": "Sınav Eğitimi", "LevelType": "Sınav Eğitimi",
"Order": 1,
"LessonCount": 80, "LessonCount": 80,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "ÖZEL", "ClassTypeName": "ÖZEL",
"Name": "GMAT", "Name": "GMAT",
"Order": 2,
"LevelType": "Sınav Eğitimi", "LevelType": "Sınav Eğitimi",
"LessonCount": 80, "LessonCount": 80,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
}, },
{ {
"ClassTypeName": "ÖZEL", "ClassTypeName": "ÖZEL",
"Name": "ÜDS", "Name": "ÜDS",
"Order": 3,
"LevelType": "Sınav Eğitimi", "LevelType": "Sınav Eğitimi",
"LessonCount": 80, "LessonCount": 80,
"Status": "Aktif",
"LessonDuration": null, "LessonDuration": null,
"Status": "Aktif",
"MonthlyPaymentRate": null "MonthlyPaymentRate": null
} }
], ],

View file

@ -9,12 +9,13 @@ public class Level : FullAuditedEntity<Guid>, IMultiTenant
public Guid? TenantId { get; set; } public Guid? TenantId { get; set; }
public Guid? BranchId { get; set; } public Guid? BranchId { get; set; }
public Guid ClassTypeId { get; set; } // SinifTipiID (FK) public Guid ClassTypeId { get; set; } // SinifTipiID (FK)
public string Name { get; set; } // SeviyeKodu public string LevelType { get; set; } // SeviyeTipi
public string LevelType { get; set; } // SeviyeTipi public string Name { get; set; } // SeviyeKodu
public int LessonCount { get; set; } // DersSayisi public int Order { get; set; } // Sıra Numarası
public string Status { get; set; } // Durum public int LessonCount { get; set; } // DersSayisi
public int? LessonDuration { get; set; } // DersSuresi public string Status { get; set; } // Durum
public int? LessonDuration { get; set; } // DersSuresi
public decimal? MonthlyPaymentRate { get; set; } // AylikOdemeYuzdesi public decimal? MonthlyPaymentRate { get; set; } // AylikOdemeYuzdesi
// Navigation // Navigation

View file

@ -11,5 +11,7 @@ public class MeetingMethod : FullAuditedEntity<Guid>, IMultiTenant
public string Name { get; set; } // GorusmeSekli public string Name { get; set; } // GorusmeSekli
public string Type { get; set; } // GorusmeTuru public string Type { get; set; } // GorusmeTuru
public string Status { get; set; }
Guid? IMultiTenant.TenantId => TenantId; Guid? IMultiTenant.TenantId => TenantId;
} }

View file

@ -11,5 +11,7 @@ public class MeetingResult : FullAuditedEntity<Guid>, IMultiTenant
public string Name { get; set; } // GorusmeSonuc public string Name { get; set; } // GorusmeSonuc
public short? Order { get; set; } // SiraNo public short? Order { get; set; } // SiraNo
public string Status { get; set; }
Guid? IMultiTenant.TenantId => TenantId; Guid? IMultiTenant.TenantId => TenantId;
} }

View file

@ -8,8 +8,9 @@ public class SalesRejectionReason : FullAuditedEntity<Guid>, IMultiTenant
{ {
public Guid? TenantId { get; set; } public Guid? TenantId { get; set; }
public string Name { get; set; } // SatisOlmamaSebebi public string Name { get; set; } // SatisOlmamaSebebi
public string Status { get; set; } // Durum public string Category { get; set; } // Kategori
public string Status { get; set; } // Durum
Guid? IMultiTenant.TenantId => TenantId; Guid? IMultiTenant.TenantId => TenantId;
} }

View file

@ -1151,6 +1151,7 @@ public class PlatformDbContext :
b.ConfigureByConvention(); b.ConfigureByConvention();
b.Property(x => x.Name).HasMaxLength(50).IsRequired(); b.Property(x => x.Name).HasMaxLength(50).IsRequired();
b.Property(x => x.Category).HasMaxLength(50);
b.Property(x => x.Status).HasMaxLength(10); b.Property(x => x.Status).HasMaxLength(10);
}); });
@ -1184,6 +1185,7 @@ public class PlatformDbContext :
b.Property(x => x.Name).HasMaxLength(50).IsRequired(); b.Property(x => x.Name).HasMaxLength(50).IsRequired();
b.Property(x => x.Type).HasMaxLength(50).IsRequired(); b.Property(x => x.Type).HasMaxLength(50).IsRequired();
b.Property(x => x.Status).HasMaxLength(10).IsRequired();
}); });
builder.Entity<MeetingResult>(b => builder.Entity<MeetingResult>(b =>
@ -1193,6 +1195,7 @@ public class PlatformDbContext :
b.Property(x => x.Name).HasMaxLength(50).IsRequired(); b.Property(x => x.Name).HasMaxLength(50).IsRequired();
b.Property(x => x.Order); b.Property(x => x.Order);
b.Property(x => x.Status).HasMaxLength(10).IsRequired();
}); });
builder.Entity<Disease>(b => builder.Entity<Disease>(b =>

View file

@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace Kurs.Platform.Migrations namespace Kurs.Platform.Migrations
{ {
[DbContext(typeof(PlatformDbContext))] [DbContext(typeof(PlatformDbContext))]
[Migration("20251009092012_Initial")] [Migration("20251010064947_Initial")]
partial class Initial partial class Initial
{ {
/// <inheritdoc /> /// <inheritdoc />
@ -3594,6 +3594,9 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(50) .HasMaxLength(50)
.HasColumnType("nvarchar(50)"); .HasColumnType("nvarchar(50)");
b.Property<int>("Order")
.HasColumnType("int");
b.Property<string>("Status") b.Property<string>("Status")
.HasMaxLength(10) .HasMaxLength(10)
.HasColumnType("nvarchar(10)"); .HasColumnType("nvarchar(10)");
@ -4362,6 +4365,11 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(50) .HasMaxLength(50)
.HasColumnType("nvarchar(50)"); .HasColumnType("nvarchar(50)");
b.Property<string>("Status")
.IsRequired()
.HasMaxLength(10)
.HasColumnType("nvarchar(10)");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
.HasColumnType("uniqueidentifier") .HasColumnType("uniqueidentifier")
.HasColumnName("TenantId"); .HasColumnName("TenantId");
@ -4419,6 +4427,11 @@ namespace Kurs.Platform.Migrations
b.Property<short?>("Order") b.Property<short?>("Order")
.HasColumnType("smallint"); .HasColumnType("smallint");
b.Property<string>("Status")
.IsRequired()
.HasMaxLength(10)
.HasColumnType("nvarchar(10)");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
.HasColumnType("uniqueidentifier") .HasColumnType("uniqueidentifier")
.HasColumnName("TenantId"); .HasColumnName("TenantId");
@ -5455,6 +5468,10 @@ namespace Kurs.Platform.Migrations
b.Property<Guid>("Id") b.Property<Guid>("Id")
.HasColumnType("uniqueidentifier"); .HasColumnType("uniqueidentifier");
b.Property<string>("Category")
.HasMaxLength(50)
.HasColumnType("nvarchar(50)");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("datetime2") .HasColumnType("datetime2")
.HasColumnName("CreationTime"); .HasColumnName("CreationTime");
@ -8436,7 +8453,8 @@ namespace Kurs.Platform.Migrations
.HasColumnName("ExtraProperties"); .HasColumnName("ExtraProperties");
b.Property<string>("Fax") b.Property<string>("Fax")
.HasColumnType("nvarchar(max)"); .HasMaxLength(20)
.HasColumnType("nvarchar(20)");
b.Property<string>("Founder") b.Property<string>("Founder")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
@ -8461,7 +8479,8 @@ namespace Kurs.Platform.Migrations
.HasColumnName("LastModifierId"); .HasColumnName("LastModifierId");
b.Property<string>("Mobile") b.Property<string>("Mobile")
.HasColumnType("nvarchar(max)"); .HasMaxLength(20)
.HasColumnType("nvarchar(20)");
b.Property<string>("Name") b.Property<string>("Name")
.IsRequired() .IsRequired()
@ -8478,7 +8497,8 @@ namespace Kurs.Platform.Migrations
.HasColumnType("nvarchar(64)"); .HasColumnType("nvarchar(64)");
b.Property<string>("Phone") b.Property<string>("Phone")
.HasColumnType("nvarchar(max)"); .HasMaxLength(20)
.HasColumnType("nvarchar(20)");
b.Property<string>("PostalCode") b.Property<string>("PostalCode")
.HasMaxLength(10) .HasMaxLength(10)

View file

@ -346,12 +346,12 @@ namespace Kurs.Platform.Migrations
Country = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), Country = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
District = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), District = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
Email = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: true), Email = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: true),
Fax = table.Column<string>(type: "nvarchar(max)", nullable: true), Fax = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true),
Founder = table.Column<string>(type: "nvarchar(max)", nullable: true), Founder = table.Column<string>(type: "nvarchar(max)", nullable: true),
IsActive = table.Column<bool>(type: "bit", nullable: false, defaultValue: true), IsActive = table.Column<bool>(type: "bit", nullable: false, defaultValue: true),
Mobile = table.Column<string>(type: "nvarchar(max)", nullable: true), Mobile = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true),
OrganizationName = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true), OrganizationName = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true),
Phone = table.Column<string>(type: "nvarchar(max)", nullable: true), Phone = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true),
PostalCode = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true), PostalCode = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true),
Street = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true), Street = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
TaxOffice = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true), TaxOffice = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true),
@ -799,6 +799,7 @@ namespace Kurs.Platform.Migrations
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
Name = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false), Name = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
Type = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false), Type = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
Status = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: false),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true), LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
@ -820,6 +821,7 @@ namespace Kurs.Platform.Migrations
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
Name = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false), Name = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
Order = table.Column<short>(type: "smallint", nullable: true), Order = table.Column<short>(type: "smallint", nullable: true),
Status = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: false),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true), LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
@ -927,6 +929,7 @@ namespace Kurs.Platform.Migrations
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false), Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
Name = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false), Name = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
Category = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Status = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true), Status = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
@ -3229,8 +3232,9 @@ namespace Kurs.Platform.Migrations
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
BranchId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), BranchId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
ClassTypeId = table.Column<Guid>(type: "uniqueidentifier", nullable: false), ClassTypeId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Name = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
LevelType = table.Column<string>(type: "nvarchar(15)", maxLength: 15, nullable: true), LevelType = table.Column<string>(type: "nvarchar(15)", maxLength: 15, nullable: true),
Name = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
Order = table.Column<int>(type: "int", nullable: false),
LessonCount = table.Column<int>(type: "int", nullable: false), LessonCount = table.Column<int>(type: "int", nullable: false),
Status = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true), Status = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true),
LessonDuration = table.Column<int>(type: "int", nullable: true), LessonDuration = table.Column<int>(type: "int", nullable: true),

View file

@ -3591,6 +3591,9 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(50) .HasMaxLength(50)
.HasColumnType("nvarchar(50)"); .HasColumnType("nvarchar(50)");
b.Property<int>("Order")
.HasColumnType("int");
b.Property<string>("Status") b.Property<string>("Status")
.HasMaxLength(10) .HasMaxLength(10)
.HasColumnType("nvarchar(10)"); .HasColumnType("nvarchar(10)");
@ -4359,6 +4362,11 @@ namespace Kurs.Platform.Migrations
.HasMaxLength(50) .HasMaxLength(50)
.HasColumnType("nvarchar(50)"); .HasColumnType("nvarchar(50)");
b.Property<string>("Status")
.IsRequired()
.HasMaxLength(10)
.HasColumnType("nvarchar(10)");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
.HasColumnType("uniqueidentifier") .HasColumnType("uniqueidentifier")
.HasColumnName("TenantId"); .HasColumnName("TenantId");
@ -4416,6 +4424,11 @@ namespace Kurs.Platform.Migrations
b.Property<short?>("Order") b.Property<short?>("Order")
.HasColumnType("smallint"); .HasColumnType("smallint");
b.Property<string>("Status")
.IsRequired()
.HasMaxLength(10)
.HasColumnType("nvarchar(10)");
b.Property<Guid?>("TenantId") b.Property<Guid?>("TenantId")
.HasColumnType("uniqueidentifier") .HasColumnType("uniqueidentifier")
.HasColumnName("TenantId"); .HasColumnName("TenantId");
@ -5452,6 +5465,10 @@ namespace Kurs.Platform.Migrations
b.Property<Guid>("Id") b.Property<Guid>("Id")
.HasColumnType("uniqueidentifier"); .HasColumnType("uniqueidentifier");
b.Property<string>("Category")
.HasMaxLength(50)
.HasColumnType("nvarchar(50)");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("datetime2") .HasColumnType("datetime2")
.HasColumnName("CreationTime"); .HasColumnName("CreationTime");
@ -8433,7 +8450,8 @@ namespace Kurs.Platform.Migrations
.HasColumnName("ExtraProperties"); .HasColumnName("ExtraProperties");
b.Property<string>("Fax") b.Property<string>("Fax")
.HasColumnType("nvarchar(max)"); .HasMaxLength(20)
.HasColumnType("nvarchar(20)");
b.Property<string>("Founder") b.Property<string>("Founder")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
@ -8458,7 +8476,8 @@ namespace Kurs.Platform.Migrations
.HasColumnName("LastModifierId"); .HasColumnName("LastModifierId");
b.Property<string>("Mobile") b.Property<string>("Mobile")
.HasColumnType("nvarchar(max)"); .HasMaxLength(20)
.HasColumnType("nvarchar(20)");
b.Property<string>("Name") b.Property<string>("Name")
.IsRequired() .IsRequired()
@ -8475,7 +8494,8 @@ namespace Kurs.Platform.Migrations
.HasColumnType("nvarchar(64)"); .HasColumnType("nvarchar(64)");
b.Property<string>("Phone") b.Property<string>("Phone")
.HasColumnType("nvarchar(max)"); .HasMaxLength(20)
.HasColumnType("nvarchar(20)");
b.Property<string>("PostalCode") b.Property<string>("PostalCode")
.HasMaxLength(10) .HasMaxLength(10)