Yeni tanımlamaların iyileştirilmesi
This commit is contained in:
parent
7f0e1fc294
commit
e9973283d9
8 changed files with 884 additions and 755 deletions
|
|
@ -13777,7 +13777,7 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}
|
||||
#endregion
|
||||
|
||||
//Definitions
|
||||
//Parameters
|
||||
#region Sector
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.Sector))
|
||||
{
|
||||
|
|
@ -13797,13 +13797,13 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Sector,
|
||||
Name = AppCodes.Definitions.Sector,
|
||||
Title = AppCodes.Definitions.Sector,
|
||||
Name = AppCodes.Parameters.Sector,
|
||||
Title = AppCodes.Parameters.Sector,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
IsTenant = false,
|
||||
IsBranch = false,
|
||||
IsOrganizationUnit = false,
|
||||
Description = AppCodes.Definitions.Sector,
|
||||
Description = AppCodes.Parameters.Sector,
|
||||
SelectCommandType = SelectCommandTypeEnum.Table,
|
||||
SelectCommand = SelectCommandByTableName("Sector", Prefix.DbTableDefinition),
|
||||
KeyFieldName = "Id",
|
||||
|
|
@ -13825,12 +13825,12 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto
|
||||
{
|
||||
C = AppCodes.Definitions.Sector + ".Create",
|
||||
R = AppCodes.Definitions.Sector,
|
||||
U = AppCodes.Definitions.Sector + ".Update",
|
||||
D = AppCodes.Definitions.Sector + ".Delete",
|
||||
E = AppCodes.Definitions.Sector + ".Export",
|
||||
I = AppCodes.Definitions.Sector + ".Import",
|
||||
C = AppCodes.Parameters.Sector + ".Create",
|
||||
R = AppCodes.Parameters.Sector,
|
||||
U = AppCodes.Parameters.Sector + ".Update",
|
||||
D = AppCodes.Parameters.Sector + ".Delete",
|
||||
E = AppCodes.Parameters.Sector + ".Export",
|
||||
I = AppCodes.Parameters.Sector + ".Import",
|
||||
}),
|
||||
DeleteCommand = $"UPDATE \"{SelectCommandByTableName("Sector", Prefix.DbTableDefinition)}\" SET \"DeleterId\"=@DeleterId, \"DeletionTime\"=CURRENT_TIMESTAMP, \"IsDeleted\"='true' WHERE \"Id\"=@Id",
|
||||
DeleteFieldsDefaultValueJson = JsonSerializer.Serialize(new FieldsDefaultValue[]
|
||||
|
|
@ -13929,9 +13929,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
IsDeleted = false,
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Sector + ".Create",
|
||||
R = AppCodes.Definitions.Sector,
|
||||
U = AppCodes.Definitions.Sector + ".Update",
|
||||
C = AppCodes.Parameters.Sector + ".Create",
|
||||
R = AppCodes.Parameters.Sector,
|
||||
U = AppCodes.Parameters.Sector + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -13958,9 +13958,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Sector + ".Create",
|
||||
R = AppCodes.Definitions.Sector,
|
||||
U = AppCodes.Definitions.Sector + ".Update",
|
||||
C = AppCodes.Parameters.Sector + ".Create",
|
||||
R = AppCodes.Parameters.Sector,
|
||||
U = AppCodes.Parameters.Sector + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -13991,13 +13991,13 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.ContactTag,
|
||||
Name = AppCodes.Definitions.ContactTag,
|
||||
Title = AppCodes.Definitions.ContactTag,
|
||||
Name = AppCodes.Parameters.ContactTag,
|
||||
Title = AppCodes.Parameters.ContactTag,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
IsTenant = false,
|
||||
IsBranch = false,
|
||||
IsOrganizationUnit = false,
|
||||
Description = AppCodes.Definitions.ContactTag,
|
||||
Description = AppCodes.Parameters.ContactTag,
|
||||
SelectCommandType = SelectCommandTypeEnum.Table,
|
||||
SelectCommand = SelectCommandByTableName("ContactTag", Prefix.DbTableDefinition),
|
||||
KeyFieldName = "Id",
|
||||
|
|
@ -14019,12 +14019,12 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto
|
||||
{
|
||||
C = AppCodes.Definitions.ContactTag + ".Create",
|
||||
R = AppCodes.Definitions.ContactTag,
|
||||
U = AppCodes.Definitions.ContactTag + ".Update",
|
||||
D = AppCodes.Definitions.ContactTag + ".Delete",
|
||||
E = AppCodes.Definitions.ContactTag + ".Export",
|
||||
I = AppCodes.Definitions.ContactTag + ".Import",
|
||||
C = AppCodes.Parameters.ContactTag + ".Create",
|
||||
R = AppCodes.Parameters.ContactTag,
|
||||
U = AppCodes.Parameters.ContactTag + ".Update",
|
||||
D = AppCodes.Parameters.ContactTag + ".Delete",
|
||||
E = AppCodes.Parameters.ContactTag + ".Export",
|
||||
I = AppCodes.Parameters.ContactTag + ".Import",
|
||||
}),
|
||||
DeleteCommand = $"UPDATE \"{SelectCommandByTableName("ContactTag", Prefix.DbTableDefinition)}\" SET \"DeleterId\"=@DeleterId, \"DeletionTime\"=CURRENT_TIMESTAMP, \"IsDeleted\"='true' WHERE \"Id\"=@Id",
|
||||
DeleteFieldsDefaultValueJson = JsonSerializer.Serialize(new FieldsDefaultValue[]
|
||||
|
|
@ -14131,9 +14131,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
IsDeleted = false,
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.ContactTag + ".Create",
|
||||
R = AppCodes.Definitions.ContactTag,
|
||||
U = AppCodes.Definitions.ContactTag + ".Update",
|
||||
C = AppCodes.Parameters.ContactTag + ".Create",
|
||||
R = AppCodes.Parameters.ContactTag,
|
||||
U = AppCodes.Parameters.ContactTag + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -14160,9 +14160,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.ContactTag + ".Create",
|
||||
R = AppCodes.Definitions.ContactTag,
|
||||
U = AppCodes.Definitions.ContactTag + ".Update",
|
||||
C = AppCodes.Parameters.ContactTag + ".Create",
|
||||
R = AppCodes.Parameters.ContactTag,
|
||||
U = AppCodes.Parameters.ContactTag + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -14187,9 +14187,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.ContactTag + ".Create",
|
||||
R = AppCodes.Definitions.ContactTag,
|
||||
U = AppCodes.Definitions.ContactTag + ".Update",
|
||||
C = AppCodes.Parameters.ContactTag + ".Create",
|
||||
R = AppCodes.Parameters.ContactTag,
|
||||
U = AppCodes.Parameters.ContactTag + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -14220,13 +14220,13 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.ContactTitle,
|
||||
Name = AppCodes.Definitions.ContactTitle,
|
||||
Title = AppCodes.Definitions.ContactTitle,
|
||||
Name = AppCodes.Parameters.ContactTitle,
|
||||
Title = AppCodes.Parameters.ContactTitle,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
IsTenant = false,
|
||||
IsBranch = false,
|
||||
IsOrganizationUnit = false,
|
||||
Description = AppCodes.Definitions.ContactTitle,
|
||||
Description = AppCodes.Parameters.ContactTitle,
|
||||
SelectCommandType = SelectCommandTypeEnum.Table,
|
||||
SelectCommand = SelectCommandByTableName("ContactTitle", Prefix.DbTableDefinition),
|
||||
KeyFieldName = "Id",
|
||||
|
|
@ -14248,12 +14248,12 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto
|
||||
{
|
||||
C = AppCodes.Definitions.ContactTitle + ".Create",
|
||||
R = AppCodes.Definitions.ContactTitle,
|
||||
U = AppCodes.Definitions.ContactTitle + ".Update",
|
||||
D = AppCodes.Definitions.ContactTitle + ".Delete",
|
||||
E = AppCodes.Definitions.ContactTitle + ".Export",
|
||||
I = AppCodes.Definitions.ContactTitle + ".Import",
|
||||
C = AppCodes.Parameters.ContactTitle + ".Create",
|
||||
R = AppCodes.Parameters.ContactTitle,
|
||||
U = AppCodes.Parameters.ContactTitle + ".Update",
|
||||
D = AppCodes.Parameters.ContactTitle + ".Delete",
|
||||
E = AppCodes.Parameters.ContactTitle + ".Export",
|
||||
I = AppCodes.Parameters.ContactTitle + ".Import",
|
||||
}),
|
||||
DeleteCommand = $"UPDATE \"{SelectCommandByTableName("ContactTitle", Prefix.DbTableDefinition)}\" SET \"DeleterId\"=@DeleterId, \"DeletionTime\"=CURRENT_TIMESTAMP, \"IsDeleted\"='true' WHERE \"Id\"=@Id",
|
||||
DeleteFieldsDefaultValueJson = JsonSerializer.Serialize(new FieldsDefaultValue[]
|
||||
|
|
@ -14360,9 +14360,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
IsDeleted = false,
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.ContactTitle + ".Create",
|
||||
R = AppCodes.Definitions.ContactTitle,
|
||||
U = AppCodes.Definitions.ContactTitle + ".Update",
|
||||
C = AppCodes.Parameters.ContactTitle + ".Create",
|
||||
R = AppCodes.Parameters.ContactTitle,
|
||||
U = AppCodes.Parameters.ContactTitle + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -14389,9 +14389,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.ContactTitle + ".Create",
|
||||
R = AppCodes.Definitions.ContactTitle,
|
||||
U = AppCodes.Definitions.ContactTitle + ".Update",
|
||||
C = AppCodes.Parameters.ContactTitle + ".Create",
|
||||
R = AppCodes.Parameters.ContactTitle,
|
||||
U = AppCodes.Parameters.ContactTitle + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -14416,9 +14416,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.ContactTitle + ".Create",
|
||||
R = AppCodes.Definitions.ContactTitle,
|
||||
U = AppCodes.Definitions.ContactTitle + ".Update",
|
||||
C = AppCodes.Parameters.ContactTitle + ".Create",
|
||||
R = AppCodes.Parameters.ContactTitle,
|
||||
U = AppCodes.Parameters.ContactTitle + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -14449,13 +14449,13 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Currency,
|
||||
Name = AppCodes.Definitions.Currency,
|
||||
Title = AppCodes.Definitions.Currency,
|
||||
Name = AppCodes.Parameters.Currency,
|
||||
Title = AppCodes.Parameters.Currency,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
IsTenant = false,
|
||||
IsBranch = false,
|
||||
IsOrganizationUnit = false,
|
||||
Description = AppCodes.Definitions.Currency,
|
||||
Description = AppCodes.Parameters.Currency,
|
||||
SelectCommandType = SelectCommandTypeEnum.Table,
|
||||
SelectCommand = SelectCommandByTableName("Currency", Prefix.DbTableDefinition),
|
||||
KeyFieldName = "Id",
|
||||
|
|
@ -14477,12 +14477,12 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto
|
||||
{
|
||||
C = AppCodes.Definitions.Currency + ".Create",
|
||||
R = AppCodes.Definitions.Currency,
|
||||
U = AppCodes.Definitions.Currency + ".Update",
|
||||
D = AppCodes.Definitions.Currency + ".Delete",
|
||||
E = AppCodes.Definitions.Currency + ".Export",
|
||||
I = AppCodes.Definitions.Currency + ".Import"
|
||||
C = AppCodes.Parameters.Currency + ".Create",
|
||||
R = AppCodes.Parameters.Currency,
|
||||
U = AppCodes.Parameters.Currency + ".Update",
|
||||
D = AppCodes.Parameters.Currency + ".Delete",
|
||||
E = AppCodes.Parameters.Currency + ".Export",
|
||||
I = AppCodes.Parameters.Currency + ".Import"
|
||||
}),
|
||||
DeleteCommand = $"UPDATE \"{SelectCommandByTableName("Currency", Prefix.DbTableDefinition)}\" SET \"DeleterId\"=@DeleterId, \"DeletionTime\"=CURRENT_TIMESTAMP, \"IsDeleted\"='true' WHERE \"Id\"=@Id",
|
||||
DeleteFieldsDefaultValueJson = JsonSerializer.Serialize(new[]
|
||||
|
|
@ -14615,9 +14615,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
IsDeleted = false,
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Currency + ".Create",
|
||||
R = AppCodes.Definitions.Currency,
|
||||
U = AppCodes.Definitions.Currency + ".Update",
|
||||
C = AppCodes.Parameters.Currency + ".Create",
|
||||
R = AppCodes.Parameters.Currency,
|
||||
U = AppCodes.Parameters.Currency + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -14641,9 +14641,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Currency + ".Create",
|
||||
R = AppCodes.Definitions.Currency,
|
||||
U = AppCodes.Definitions.Currency + ".Update",
|
||||
C = AppCodes.Parameters.Currency + ".Create",
|
||||
R = AppCodes.Parameters.Currency,
|
||||
U = AppCodes.Parameters.Currency + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -14663,9 +14663,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
AllowSearch = false,
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Currency + ".Create",
|
||||
R = AppCodes.Definitions.Currency,
|
||||
U = AppCodes.Definitions.Currency + ".Update",
|
||||
C = AppCodes.Parameters.Currency + ".Create",
|
||||
R = AppCodes.Parameters.Currency,
|
||||
U = AppCodes.Parameters.Currency + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -14689,9 +14689,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Currency + ".Create",
|
||||
R = AppCodes.Definitions.Currency,
|
||||
U = AppCodes.Definitions.Currency + ".Update",
|
||||
C = AppCodes.Parameters.Currency + ".Create",
|
||||
R = AppCodes.Parameters.Currency,
|
||||
U = AppCodes.Parameters.Currency + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -14715,9 +14715,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Currency + ".Create",
|
||||
R = AppCodes.Definitions.Currency,
|
||||
U = AppCodes.Definitions.Currency + ".Update",
|
||||
C = AppCodes.Parameters.Currency + ".Create",
|
||||
R = AppCodes.Parameters.Currency,
|
||||
U = AppCodes.Parameters.Currency + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -14737,9 +14737,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
AllowSearch = false,
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Currency + ".Create",
|
||||
R = AppCodes.Definitions.Currency,
|
||||
U = AppCodes.Definitions.Currency + ".Update",
|
||||
C = AppCodes.Parameters.Currency + ".Create",
|
||||
R = AppCodes.Parameters.Currency,
|
||||
U = AppCodes.Parameters.Currency + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -14769,13 +14769,13 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.CountryGroup,
|
||||
Name = AppCodes.Definitions.CountryGroup,
|
||||
Title = AppCodes.Definitions.CountryGroup,
|
||||
Name = AppCodes.Parameters.CountryGroup,
|
||||
Title = AppCodes.Parameters.CountryGroup,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
IsTenant = false,
|
||||
IsBranch = false,
|
||||
IsOrganizationUnit = false,
|
||||
Description = AppCodes.Definitions.CountryGroup,
|
||||
Description = AppCodes.Parameters.CountryGroup,
|
||||
SelectCommandType = SelectCommandTypeEnum.Table,
|
||||
SelectCommand = SelectCommandByTableName("CountryGroup", Prefix.DbTableDefinition),
|
||||
KeyFieldName = "Id",
|
||||
|
|
@ -14797,12 +14797,12 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto
|
||||
{
|
||||
C = AppCodes.Definitions.CountryGroup + ".Create",
|
||||
R = AppCodes.Definitions.CountryGroup,
|
||||
U = AppCodes.Definitions.CountryGroup + ".Update",
|
||||
D = AppCodes.Definitions.CountryGroup + ".Delete",
|
||||
E = AppCodes.Definitions.CountryGroup + ".Export",
|
||||
I = AppCodes.Definitions.CountryGroup + ".Import"
|
||||
C = AppCodes.Parameters.CountryGroup + ".Create",
|
||||
R = AppCodes.Parameters.CountryGroup,
|
||||
U = AppCodes.Parameters.CountryGroup + ".Update",
|
||||
D = AppCodes.Parameters.CountryGroup + ".Delete",
|
||||
E = AppCodes.Parameters.CountryGroup + ".Export",
|
||||
I = AppCodes.Parameters.CountryGroup + ".Import"
|
||||
}),
|
||||
DeleteCommand = $"UPDATE \"{SelectCommandByTableName("CountryGroup", Prefix.DbTableDefinition)}\" SET \"DeleterId\"=@DeleterId, \"DeletionTime\"=CURRENT_TIMESTAMP, \"IsDeleted\"='true' WHERE \"Id\"=@Id",
|
||||
DeleteFieldsDefaultValueJson = JsonSerializer.Serialize(new[]
|
||||
|
|
@ -14903,9 +14903,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
IsDeleted = false,
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.CountryGroup + ".Create",
|
||||
R = AppCodes.Definitions.CountryGroup,
|
||||
U = AppCodes.Definitions.CountryGroup + ".Update",
|
||||
C = AppCodes.Parameters.CountryGroup + ".Create",
|
||||
R = AppCodes.Parameters.CountryGroup,
|
||||
U = AppCodes.Parameters.CountryGroup + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -14929,9 +14929,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.CountryGroup + ".Create",
|
||||
R = AppCodes.Definitions.CountryGroup,
|
||||
U = AppCodes.Definitions.CountryGroup + ".Update",
|
||||
C = AppCodes.Parameters.CountryGroup + ".Create",
|
||||
R = AppCodes.Parameters.CountryGroup,
|
||||
U = AppCodes.Parameters.CountryGroup + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -14961,13 +14961,13 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.Country,
|
||||
Name = AppCodes.Definitions.Country,
|
||||
Title = AppCodes.Definitions.Country,
|
||||
Name = AppCodes.Parameters.Country,
|
||||
Title = AppCodes.Parameters.Country,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
IsTenant = false,
|
||||
IsBranch = false,
|
||||
IsOrganizationUnit = false,
|
||||
Description = AppCodes.Definitions.Country,
|
||||
Description = AppCodes.Parameters.Country,
|
||||
SelectCommandType = SelectCommandTypeEnum.Table,
|
||||
SelectCommand = SelectCommandByTableName("Country", Prefix.DbTableDefinition),
|
||||
KeyFieldName = "Id",
|
||||
|
|
@ -14989,12 +14989,12 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto
|
||||
{
|
||||
C = AppCodes.Definitions.Country + ".Create",
|
||||
R = AppCodes.Definitions.Country,
|
||||
U = AppCodes.Definitions.Country + ".Update",
|
||||
D = AppCodes.Definitions.Country + ".Delete",
|
||||
E = AppCodes.Definitions.Country + ".Export",
|
||||
I = AppCodes.Definitions.Country + ".Import"
|
||||
C = AppCodes.Parameters.Country + ".Create",
|
||||
R = AppCodes.Parameters.Country,
|
||||
U = AppCodes.Parameters.Country + ".Update",
|
||||
D = AppCodes.Parameters.Country + ".Delete",
|
||||
E = AppCodes.Parameters.Country + ".Export",
|
||||
I = AppCodes.Parameters.Country + ".Import"
|
||||
}),
|
||||
DeleteCommand = $"UPDATE \"{SelectCommandByTableName("Country", Prefix.DbTableDefinition)}\" SET \"DeleterId\"=@DeleterId, \"DeletionTime\"=CURRENT_TIMESTAMP, \"IsDeleted\"='true' WHERE \"Id\"=@Id",
|
||||
DeleteFieldsDefaultValueJson = JsonSerializer.Serialize(new[]
|
||||
|
|
@ -15095,9 +15095,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
IsDeleted = false,
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Country + ".Create",
|
||||
R = AppCodes.Definitions.Country,
|
||||
U = AppCodes.Definitions.Country + ".Update",
|
||||
C = AppCodes.Parameters.Country + ".Create",
|
||||
R = AppCodes.Parameters.Country,
|
||||
U = AppCodes.Parameters.Country + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -15121,9 +15121,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Country + ".Create",
|
||||
R = AppCodes.Definitions.Country,
|
||||
U = AppCodes.Definitions.Country + ".Update",
|
||||
C = AppCodes.Parameters.Country + ".Create",
|
||||
R = AppCodes.Parameters.Country,
|
||||
U = AppCodes.Parameters.Country + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -15147,9 +15147,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Country + ".Create",
|
||||
R = AppCodes.Definitions.Country,
|
||||
U = AppCodes.Definitions.Country + ".Update",
|
||||
C = AppCodes.Parameters.Country + ".Create",
|
||||
R = AppCodes.Parameters.Country,
|
||||
U = AppCodes.Parameters.Country + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -15176,9 +15176,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Country + ".Create",
|
||||
R = AppCodes.Definitions.Country,
|
||||
U = AppCodes.Definitions.Country + ".Update",
|
||||
C = AppCodes.Parameters.Country + ".Create",
|
||||
R = AppCodes.Parameters.Country,
|
||||
U = AppCodes.Parameters.Country + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -15198,9 +15198,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
AllowSearch = false,
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Country + ".Create",
|
||||
R = AppCodes.Definitions.Country,
|
||||
U = AppCodes.Definitions.Country + ".Update",
|
||||
C = AppCodes.Parameters.Country + ".Create",
|
||||
R = AppCodes.Parameters.Country,
|
||||
U = AppCodes.Parameters.Country + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -15220,9 +15220,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
AllowSearch = false,
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Country + ".Create",
|
||||
R = AppCodes.Definitions.Country,
|
||||
U = AppCodes.Definitions.Country + ".Update",
|
||||
C = AppCodes.Parameters.Country + ".Create",
|
||||
R = AppCodes.Parameters.Country,
|
||||
U = AppCodes.Parameters.Country + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -15242,9 +15242,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
AllowSearch = false,
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Country + ".Create",
|
||||
R = AppCodes.Definitions.Country,
|
||||
U = AppCodes.Definitions.Country + ".Update",
|
||||
C = AppCodes.Parameters.Country + ".Create",
|
||||
R = AppCodes.Parameters.Country,
|
||||
U = AppCodes.Parameters.Country + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -15263,9 +15263,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
IsDeleted = false,
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Country + ".Create",
|
||||
R = AppCodes.Definitions.Country,
|
||||
U = AppCodes.Definitions.Country + ".Update",
|
||||
C = AppCodes.Parameters.Country + ".Create",
|
||||
R = AppCodes.Parameters.Country,
|
||||
U = AppCodes.Parameters.Country + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -15284,9 +15284,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
IsDeleted = false,
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.Country + ".Create",
|
||||
R = AppCodes.Definitions.Country,
|
||||
U = AppCodes.Definitions.Country + ".Update",
|
||||
C = AppCodes.Parameters.Country + ".Create",
|
||||
R = AppCodes.Parameters.Country,
|
||||
U = AppCodes.Parameters.Country + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -15317,13 +15317,13 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.City,
|
||||
Name = AppCodes.Definitions.City,
|
||||
Title = AppCodes.Definitions.City,
|
||||
Name = AppCodes.Parameters.City,
|
||||
Title = AppCodes.Parameters.City,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
IsTenant = false,
|
||||
IsBranch = false,
|
||||
IsOrganizationUnit = false,
|
||||
Description = AppCodes.Definitions.City,
|
||||
Description = AppCodes.Parameters.City,
|
||||
SelectCommandType = SelectCommandTypeEnum.Table,
|
||||
SelectCommand = SelectCommandByTableName("City", Prefix.DbTableDefinition),
|
||||
KeyFieldName = "Id",
|
||||
|
|
@ -15345,12 +15345,12 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto
|
||||
{
|
||||
C = AppCodes.Definitions.City + ".Create",
|
||||
R = AppCodes.Definitions.City,
|
||||
U = AppCodes.Definitions.City + ".Update",
|
||||
D = AppCodes.Definitions.City + ".Delete",
|
||||
E = AppCodes.Definitions.City + ".Export",
|
||||
I = AppCodes.Definitions.City + ".Import"
|
||||
C = AppCodes.Parameters.City + ".Create",
|
||||
R = AppCodes.Parameters.City,
|
||||
U = AppCodes.Parameters.City + ".Update",
|
||||
D = AppCodes.Parameters.City + ".Delete",
|
||||
E = AppCodes.Parameters.City + ".Export",
|
||||
I = AppCodes.Parameters.City + ".Import"
|
||||
}),
|
||||
DeleteCommand = $"UPDATE \"{SelectCommandByTableName("City", Prefix.DbTableDefinition)}\" SET \"DeleterId\"=@DeleterId, \"DeletionTime\"=CURRENT_TIMESTAMP, \"IsDeleted\"='true' WHERE \"Id\"=@Id",
|
||||
DeleteFieldsDefaultValueJson = JsonSerializer.Serialize(new[]
|
||||
|
|
@ -15454,9 +15454,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
IsDeleted = false,
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.City + ".Create",
|
||||
R = AppCodes.Definitions.City,
|
||||
U = AppCodes.Definitions.City + ".Update",
|
||||
C = AppCodes.Parameters.City + ".Create",
|
||||
R = AppCodes.Parameters.City,
|
||||
U = AppCodes.Parameters.City + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -15487,9 +15487,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.City + ".Create",
|
||||
R = AppCodes.Definitions.City,
|
||||
U = AppCodes.Definitions.City + ".Update",
|
||||
C = AppCodes.Parameters.City + ".Create",
|
||||
R = AppCodes.Parameters.City,
|
||||
U = AppCodes.Parameters.City + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -15513,9 +15513,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.City + ".Create",
|
||||
R = AppCodes.Definitions.City,
|
||||
U = AppCodes.Definitions.City + ".Update",
|
||||
C = AppCodes.Parameters.City + ".Create",
|
||||
R = AppCodes.Parameters.City,
|
||||
U = AppCodes.Parameters.City + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -15539,9 +15539,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.City + ".Create",
|
||||
R = AppCodes.Definitions.City,
|
||||
U = AppCodes.Definitions.City + ".Update",
|
||||
C = AppCodes.Parameters.City + ".Create",
|
||||
R = AppCodes.Parameters.City,
|
||||
U = AppCodes.Parameters.City + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -15565,9 +15565,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.City + ".Create",
|
||||
R = AppCodes.Definitions.City,
|
||||
U = AppCodes.Definitions.City + ".Update",
|
||||
C = AppCodes.Parameters.City + ".Create",
|
||||
R = AppCodes.Parameters.City,
|
||||
U = AppCodes.Parameters.City + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -15597,13 +15597,13 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
CultureName = LanguageCodes.En,
|
||||
ListFormCode = ListFormCodes.Lists.District,
|
||||
Name = AppCodes.Definitions.District,
|
||||
Title = AppCodes.Definitions.District,
|
||||
Name = AppCodes.Parameters.District,
|
||||
Title = AppCodes.Parameters.District,
|
||||
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||
IsTenant = false,
|
||||
IsBranch = false,
|
||||
IsOrganizationUnit = false,
|
||||
Description = AppCodes.Definitions.District,
|
||||
Description = AppCodes.Parameters.District,
|
||||
SelectCommandType = SelectCommandTypeEnum.Table,
|
||||
SelectCommand = SelectCommandByTableName("District", Prefix.DbTableDefinition),
|
||||
KeyFieldName = "Id",
|
||||
|
|
@ -15625,12 +15625,12 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new PermissionCrudDto
|
||||
{
|
||||
C = AppCodes.Definitions.City + ".Create",
|
||||
R = AppCodes.Definitions.City,
|
||||
U = AppCodes.Definitions.City + ".Update",
|
||||
D = AppCodes.Definitions.City + ".Delete",
|
||||
E = AppCodes.Definitions.City + ".Export",
|
||||
I = AppCodes.Definitions.City + ".Import"
|
||||
C = AppCodes.Parameters.City + ".Create",
|
||||
R = AppCodes.Parameters.City,
|
||||
U = AppCodes.Parameters.City + ".Update",
|
||||
D = AppCodes.Parameters.City + ".Delete",
|
||||
E = AppCodes.Parameters.City + ".Export",
|
||||
I = AppCodes.Parameters.City + ".Import"
|
||||
}),
|
||||
DeleteCommand = $"UPDATE \"{SelectCommandByTableName("District", Prefix.DbTableDefinition)}\" SET \"DeleterId\"=@DeleterId, \"DeletionTime\"=CURRENT_TIMESTAMP, \"IsDeleted\"='true' WHERE \"Id\"=@Id",
|
||||
DeleteFieldsDefaultValueJson = JsonSerializer.Serialize(new[]
|
||||
|
|
@ -15736,9 +15736,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
IsDeleted = false,
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.District + ".Create",
|
||||
R = AppCodes.Definitions.District,
|
||||
U = AppCodes.Definitions.District + ".Update",
|
||||
C = AppCodes.Parameters.District + ".Create",
|
||||
R = AppCodes.Parameters.District,
|
||||
U = AppCodes.Parameters.District + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -15770,9 +15770,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.District + ".Create",
|
||||
R = AppCodes.Definitions.District,
|
||||
U = AppCodes.Definitions.District + ".Update",
|
||||
C = AppCodes.Parameters.District + ".Create",
|
||||
R = AppCodes.Parameters.District,
|
||||
U = AppCodes.Parameters.District + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -15806,9 +15806,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.District + ".Create",
|
||||
R = AppCodes.Definitions.District,
|
||||
U = AppCodes.Definitions.District + ".Update",
|
||||
C = AppCodes.Parameters.District + ".Create",
|
||||
R = AppCodes.Parameters.District,
|
||||
U = AppCodes.Parameters.District + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -15832,9 +15832,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.District + ".Create",
|
||||
R = AppCodes.Definitions.District,
|
||||
U = AppCodes.Definitions.District + ".Update",
|
||||
C = AppCodes.Parameters.District + ".Create",
|
||||
R = AppCodes.Parameters.District,
|
||||
U = AppCodes.Parameters.District + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -15858,9 +15858,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.District + ".Create",
|
||||
R = AppCodes.Definitions.District,
|
||||
U = AppCodes.Definitions.District + ".Update",
|
||||
C = AppCodes.Parameters.District + ".Create",
|
||||
R = AppCodes.Parameters.District,
|
||||
U = AppCodes.Parameters.District + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -15884,9 +15884,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.District + ".Create",
|
||||
R = AppCodes.Definitions.District,
|
||||
U = AppCodes.Definitions.District + ".Update",
|
||||
C = AppCodes.Parameters.District + ".Create",
|
||||
R = AppCodes.Parameters.District,
|
||||
U = AppCodes.Parameters.District + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -15910,9 +15910,9 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}),
|
||||
PermissionJson = JsonSerializer.Serialize(new ListFormFieldPermissionDto
|
||||
{
|
||||
C = AppCodes.Definitions.District + ".Create",
|
||||
R = AppCodes.Definitions.District,
|
||||
U = AppCodes.Definitions.District + ".Update",
|
||||
C = AppCodes.Parameters.District + ".Create",
|
||||
R = AppCodes.Parameters.District,
|
||||
U = AppCodes.Parameters.District + ".Update",
|
||||
E = true,
|
||||
I = true,
|
||||
Deny = false
|
||||
|
|
@ -15923,6 +15923,7 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}
|
||||
#endregion
|
||||
|
||||
//Definitions
|
||||
#region SkillType
|
||||
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == ListFormCodes.Lists.SkillType))
|
||||
{
|
||||
|
|
@ -21171,7 +21172,6 @@ public class ListFormsSeeder : IDataSeedContributor, ITransientDependency
|
|||
}
|
||||
#endregion
|
||||
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -302,7 +302,19 @@ public static class PlatformConsts
|
|||
}
|
||||
public const string Blog = Prefix.App + ".Blog";
|
||||
public const string Forum = Prefix.App + ".Forum";
|
||||
|
||||
public static class Parameters
|
||||
{
|
||||
public const string Default = Prefix.App + ".Parameters";
|
||||
public const string Sector = Default + ".Sector";
|
||||
public const string ContactTag = Default + ".ContactTag";
|
||||
public const string ContactTitle = Default + ".ContactTitle";
|
||||
public const string Currency = Default + ".Currency";
|
||||
public const string CountryGroup = Default + ".CountryGroup";
|
||||
public const string Country = Default + ".Country";
|
||||
public const string City = Default + ".City";
|
||||
public const string District = Default + ".District";
|
||||
}
|
||||
|
||||
//Administration
|
||||
public const string Administration = Prefix.App + ".Administration";
|
||||
public const string Setting = Prefix.App + ".Setting";
|
||||
|
|
@ -316,15 +328,24 @@ public static class PlatformConsts
|
|||
public static class Definitions
|
||||
{
|
||||
public const string Default = Prefix.App + ".Definitions";
|
||||
public const string Sector = Default + ".Sector";
|
||||
public const string ContactTag = Default + ".ContactTag";
|
||||
public const string ContactTitle = Default + ".ContactTitle";
|
||||
public const string Currency = Default + ".Currency";
|
||||
public const string CountryGroup = Default + ".CountryGroup";
|
||||
public const string Country = Default + ".Country";
|
||||
public const string State = Default + ".State";
|
||||
public const string SkillType = Default + ".SkillType";
|
||||
public const string UomCategory = Default + ".UomCategory";
|
||||
public const string Bank = Default + ".Bank";
|
||||
public const string Behavior = Default + ".Behavior";
|
||||
public const string Disease = Default + ".Disease";
|
||||
public const string Document = Default + ".Document";
|
||||
public const string EducationStatus = Default + ".EducationStatus";
|
||||
public const string EventType = Default + ".EventType";
|
||||
public const string EventCategory = Default + ".EventCategory";
|
||||
public const string Information = Default + ".Information";
|
||||
public const string MeetingMethod = Default + ".MeetingMethod";
|
||||
public const string MeetingResult = Default + ".MeetingResult";
|
||||
public const string Program = Default + ".Program";
|
||||
public const string Interesting = Default + ".Interesting";
|
||||
public const string SalesRejectionReason = Default + ".SalesRejectionReason";
|
||||
public const string Source = Default + ".Source";
|
||||
public const string Vaccine = Default + ".Vaccine";
|
||||
public const string NoteType = Default + ".NoteType";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -366,14 +387,6 @@ public static class PlatformConsts
|
|||
public const string Demo = "list-demo";
|
||||
public const string Contact = "list-contact";
|
||||
|
||||
public const string PermissionGroup = "list-permissiongroup";
|
||||
public const string Permission = "list-permission";
|
||||
public const string ClaimType = "list-claimtype";
|
||||
public const string Role = "list-role";
|
||||
public const string User = "list-user";
|
||||
public const string IpRestriction = "list-iprestriction";
|
||||
public const string AuditLog = "list-auditlog";
|
||||
|
||||
public const string Sector = "list-sector";
|
||||
public const string ContactTag = "list-contacttag";
|
||||
public const string ContactTitle = "list-contacttitle";
|
||||
|
|
@ -382,6 +395,15 @@ public static class PlatformConsts
|
|||
public const string Country = "list-country";
|
||||
public const string City = "list-city";
|
||||
public const string District = "list-district";
|
||||
|
||||
public const string PermissionGroup = "list-permissiongroup";
|
||||
public const string Permission = "list-permission";
|
||||
public const string ClaimType = "list-claimtype";
|
||||
public const string Role = "list-role";
|
||||
public const string User = "list-user";
|
||||
public const string IpRestriction = "list-iprestriction";
|
||||
public const string AuditLog = "list-auditlog";
|
||||
|
||||
public const string SkillType = "list-skilltype";
|
||||
public const string Skill = "list-skill";
|
||||
public const string SkillLevel = "list-skilllevel";
|
||||
|
|
|
|||
|
|
@ -350,23 +350,16 @@ public static class SeedConsts
|
|||
public const string Notification = Default + ".Notification";
|
||||
}
|
||||
public const string BackgroundWorkers = Prefix.App + ".BackgroundWorkers";
|
||||
public const string CustomEndpoints = Prefix.App + ".CustomEndpoints";
|
||||
public const string Forum = Prefix.App + ".Forum";
|
||||
public const string CustomEndpoints = Prefix.App + ".CustomEndpoints";
|
||||
public static class Reports
|
||||
{
|
||||
public const string Default = Prefix.App + ".Reports";
|
||||
public const string Categories = Default + ".Categories";
|
||||
}
|
||||
|
||||
//Web Site
|
||||
public const string About = Prefix.App + ".About";
|
||||
public const string Services = Prefix.App + ".Services";
|
||||
public static class BlogManagement
|
||||
{
|
||||
public const string Default = Prefix.App + ".BlogManagement";
|
||||
|
||||
public const string BlogPosts = Default + ".Posts";
|
||||
public const string BlogCategory = Default + ".Category";
|
||||
}
|
||||
public static class Orders
|
||||
{
|
||||
public const string Default = Prefix.App + ".Orders";
|
||||
|
|
@ -375,12 +368,30 @@ public static class SeedConsts
|
|||
public const string InstallmentOptions = Default + ".InstallmentOptions";
|
||||
public const string PurchaseOrders = Default + ".PurchaseOrders";
|
||||
}
|
||||
public static class BlogManagement
|
||||
{
|
||||
public const string Default = Prefix.App + ".BlogManagement";
|
||||
|
||||
public const string BlogPosts = Default + ".Posts";
|
||||
public const string BlogCategory = Default + ".Category";
|
||||
}
|
||||
public const string Demos = Prefix.App + ".Demos";
|
||||
public const string About = Prefix.App + ".About";
|
||||
public const string Contact = Prefix.App + ".Contact";
|
||||
public static class Parameters
|
||||
{
|
||||
public const string Default = Prefix.App + ".Parameters";
|
||||
public const string Sector = Default + ".Sector";
|
||||
public const string ContactTag = Default + ".ContactTag";
|
||||
public const string ContactTitle = Default + ".ContactTitle";
|
||||
public const string Currency = Default + ".Currency";
|
||||
public const string CountryGroup = Default + ".CountryGroup";
|
||||
public const string Country = Default + ".Country";
|
||||
public const string City = Default + ".City";
|
||||
public const string District = Default + ".District";
|
||||
}
|
||||
|
||||
//Administration
|
||||
public const string Administration = Prefix.App + ".Administration";
|
||||
public const string Administration = Prefix.App + ".Administration";
|
||||
public const string Setting = Prefix.App + ".Setting";
|
||||
public static class IdentityManagement
|
||||
{
|
||||
|
|
@ -391,14 +402,6 @@ public static class SeedConsts
|
|||
public static class Definitions
|
||||
{
|
||||
public const string Default = Prefix.App + ".Definitions";
|
||||
public const string Sector = Default + ".Sector";
|
||||
public const string ContactTag = Default + ".ContactTag";
|
||||
public const string ContactTitle = Default + ".ContactTitle";
|
||||
public const string Currency = Default + ".Currency";
|
||||
public const string CountryGroup = Default + ".CountryGroup";
|
||||
public const string Country = Default + ".Country";
|
||||
public const string City = Default + ".City";
|
||||
public const string District = Default + ".District";
|
||||
public const string SkillType = Default + ".SkillType";
|
||||
public const string SkillLevel = Default + ".SkillLevel";
|
||||
public const string Skill = Default + ".Skill";
|
||||
|
|
@ -422,7 +425,6 @@ public static class SeedConsts
|
|||
public const string Vaccine = Default + ".Vaccine";
|
||||
public const string NoteType = Default + ".NoteType";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static class DataSources
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
using System;
|
||||
using Volo.Abp.Domain.Entities;
|
||||
using Volo.Abp.Domain.Entities.Auditing;
|
||||
using Volo.Abp.MultiTenancy;
|
||||
|
||||
namespace Kurs.Platform.Entities;
|
||||
|
||||
public class EducationStatus : Entity<Guid>, IMultiTenant
|
||||
public class EducationStatus : FullAuditedEntity<Guid>, IMultiTenant
|
||||
{
|
||||
public Guid? TenantId { get; set; }
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
|
|||
namespace Kurs.Platform.Migrations
|
||||
{
|
||||
[DbContext(typeof(PlatformDbContext))]
|
||||
[Migration("20251005181214_Initial")]
|
||||
[Migration("20251005211345_Initial")]
|
||||
partial class Initial
|
||||
{
|
||||
/// <inheritdoc />
|
||||
|
|
@ -2915,6 +2915,36 @@ namespace Kurs.Platform.Migrations
|
|||
b.Property<Guid>("Id")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<DateTime>("CreationTime")
|
||||
.HasColumnType("datetime2")
|
||||
.HasColumnName("CreationTime");
|
||||
|
||||
b.Property<Guid?>("CreatorId")
|
||||
.HasColumnType("uniqueidentifier")
|
||||
.HasColumnName("CreatorId");
|
||||
|
||||
b.Property<Guid?>("DeleterId")
|
||||
.HasColumnType("uniqueidentifier")
|
||||
.HasColumnName("DeleterId");
|
||||
|
||||
b.Property<DateTime?>("DeletionTime")
|
||||
.HasColumnType("datetime2")
|
||||
.HasColumnName("DeletionTime");
|
||||
|
||||
b.Property<bool>("IsDeleted")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bit")
|
||||
.HasDefaultValue(false)
|
||||
.HasColumnName("IsDeleted");
|
||||
|
||||
b.Property<DateTime?>("LastModificationTime")
|
||||
.HasColumnType("datetime2")
|
||||
.HasColumnName("LastModificationTime");
|
||||
|
||||
b.Property<Guid?>("LastModifierId")
|
||||
.HasColumnType("uniqueidentifier")
|
||||
.HasColumnName("LastModifierId");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasMaxLength(50)
|
||||
|
|
@ -634,7 +634,14 @@ namespace Kurs.Platform.Migrations
|
|||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
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),
|
||||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
|
||||
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
|
|
@ -2912,6 +2912,36 @@ namespace Kurs.Platform.Migrations
|
|||
b.Property<Guid>("Id")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<DateTime>("CreationTime")
|
||||
.HasColumnType("datetime2")
|
||||
.HasColumnName("CreationTime");
|
||||
|
||||
b.Property<Guid?>("CreatorId")
|
||||
.HasColumnType("uniqueidentifier")
|
||||
.HasColumnName("CreatorId");
|
||||
|
||||
b.Property<Guid?>("DeleterId")
|
||||
.HasColumnType("uniqueidentifier")
|
||||
.HasColumnName("DeleterId");
|
||||
|
||||
b.Property<DateTime?>("DeletionTime")
|
||||
.HasColumnType("datetime2")
|
||||
.HasColumnName("DeletionTime");
|
||||
|
||||
b.Property<bool>("IsDeleted")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bit")
|
||||
.HasDefaultValue(false)
|
||||
.HasColumnName("IsDeleted");
|
||||
|
||||
b.Property<DateTime?>("LastModificationTime")
|
||||
.HasColumnType("datetime2")
|
||||
.HasColumnName("LastModificationTime");
|
||||
|
||||
b.Property<Guid?>("LastModifierId")
|
||||
.HasColumnType("uniqueidentifier")
|
||||
.HasColumnName("LastModifierId");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasMaxLength(50)
|
||||
|
|
|
|||
Loading…
Reference in a new issue