Projects Type ve Status
This commit is contained in:
parent
0058a0180c
commit
fc124830f4
19 changed files with 2007 additions and 378 deletions
|
|
@ -171,7 +171,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"resourceName": "Platform",
|
"resourceName": "Platform",
|
||||||
"key": "App.Projects",
|
"key": "App.Project",
|
||||||
"en": "R&D",
|
"en": "R&D",
|
||||||
"tr": "Ar-ge"
|
"tr": "Ar-ge"
|
||||||
},
|
},
|
||||||
|
|
@ -9579,43 +9579,55 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"resourceName": "Platform",
|
"resourceName": "Platform",
|
||||||
"key": "App.Projects.List",
|
"key": "App.Project.ProjectType",
|
||||||
|
"tr": "Proje Türleri",
|
||||||
|
"en": "Project Types"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"resourceName": "Platform",
|
||||||
|
"key": "App.Project.ProjectStatus",
|
||||||
|
"tr": "Proje Durumları",
|
||||||
|
"en": "Project Statuses"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"resourceName": "Platform",
|
||||||
|
"key": "App.Project.Projects",
|
||||||
"tr": "Projeler",
|
"tr": "Projeler",
|
||||||
"en": "Projects"
|
"en": "Projects"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"resourceName": "Platform",
|
"resourceName": "Platform",
|
||||||
"key": "App.Projects.Tasks",
|
"key": "App.Project.Tasks",
|
||||||
"tr": "Görevler",
|
"tr": "Görevler",
|
||||||
"en": "Tasks"
|
"en": "Tasks"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"resourceName": "Platform",
|
"resourceName": "Platform",
|
||||||
"key": "App.Projects.Phases",
|
"key": "App.Project.Phases",
|
||||||
"tr": "Aşamalar",
|
"tr": "Aşamalar",
|
||||||
"en": "Phases"
|
"en": "Phases"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"resourceName": "Platform",
|
"resourceName": "Platform",
|
||||||
"key": "App.Projects.Activities",
|
"key": "App.Project.Activities",
|
||||||
"tr": "Aktiviteler",
|
"tr": "Aktiviteler",
|
||||||
"en": "Activities"
|
"en": "Activities"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"resourceName": "Platform",
|
"resourceName": "Platform",
|
||||||
"key": "App.Projects.Workload",
|
"key": "App.Project.Workload",
|
||||||
"tr": "İş Yükü",
|
"tr": "İş Yükü",
|
||||||
"en": "Workload"
|
"en": "Workload"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"resourceName": "Platform",
|
"resourceName": "Platform",
|
||||||
"key": "App.Projects.CostTracking",
|
"key": "App.Project.CostTracking",
|
||||||
"tr": "Maliyet Takibi",
|
"tr": "Maliyet Takibi",
|
||||||
"en": "Cost Tracking"
|
"en": "Cost Tracking"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"resourceName": "Platform",
|
"resourceName": "Platform",
|
||||||
"key": "App.Projects.DailyUpdates",
|
"key": "App.Project.DailyUpdates",
|
||||||
"tr": "Günlük Güncellemeler",
|
"tr": "Günlük Güncellemeler",
|
||||||
"en": "Daily Updates"
|
"en": "Daily Updates"
|
||||||
},
|
},
|
||||||
|
|
@ -9866,4 +9878,4 @@
|
||||||
"en": "Check & Notes"
|
"en": "Check & Notes"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -13,8 +13,6 @@ using Volo.Abp.Data;
|
||||||
using Volo.Abp.DependencyInjection;
|
using Volo.Abp.DependencyInjection;
|
||||||
using Volo.Abp.Domain.Repositories;
|
using Volo.Abp.Domain.Repositories;
|
||||||
using Volo.Abp.Identity;
|
using Volo.Abp.Identity;
|
||||||
using Volo.Abp.TenantManagement;
|
|
||||||
using AbpIdentity = Erp.Platform.Data.Seeds.SeedConsts.AbpIdentity;
|
|
||||||
using AppCodes = Erp.Platform.Data.Seeds.SeedConsts.AppCodes;
|
using AppCodes = Erp.Platform.Data.Seeds.SeedConsts.AppCodes;
|
||||||
using static Erp.Platform.PlatformConsts;
|
using static Erp.Platform.PlatformConsts;
|
||||||
using static Erp.Platform.PlatformSeeder.SeederDefaults;
|
using static Erp.Platform.PlatformSeeder.SeederDefaults;
|
||||||
|
|
@ -47,128 +45,648 @@ public class ListFormSeeder_Project : IDataSeedContributor, ITransientDependency
|
||||||
{
|
{
|
||||||
var listFormName = String.Empty;
|
var listFormName = String.Empty;
|
||||||
|
|
||||||
// #region Workcenter Type
|
#region Project Type
|
||||||
// listFormName = AppCodes.Maintenance.WorkcenterType;
|
listFormName = AppCodes.Project.ProjectType;
|
||||||
// if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == listFormName))
|
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == listFormName))
|
||||||
// {
|
{
|
||||||
// var listForm = await _listFormRepository.InsertAsync(
|
var listForm = await _listFormRepository.InsertAsync(
|
||||||
// new ListForm()
|
new ListForm()
|
||||||
// {
|
{
|
||||||
// ListFormType = ListFormTypeEnum.List,
|
ListFormType = ListFormTypeEnum.List,
|
||||||
// IsSubForm = false,
|
IsSubForm = false,
|
||||||
// ShowNote = true,
|
ShowNote = true,
|
||||||
// LayoutJson = DefaultLayoutJson,
|
LayoutJson = DefaultLayoutJson,
|
||||||
// CultureName = LanguageCodes.En,
|
CultureName = LanguageCodes.En,
|
||||||
// ListFormCode = listFormName,
|
ListFormCode = listFormName,
|
||||||
// Name = listFormName,
|
Name = listFormName,
|
||||||
// Title = listFormName,
|
Title = listFormName,
|
||||||
// DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||||
// IsTenant = true,
|
IsTenant = true,
|
||||||
// IsBranch = false,
|
IsBranch = false,
|
||||||
// IsOrganizationUnit = false,
|
IsOrganizationUnit = false,
|
||||||
// Description = listFormName,
|
Description = listFormName,
|
||||||
// SelectCommandType = SelectCommandTypeEnum.Table,
|
SelectCommandType = SelectCommandTypeEnum.Table,
|
||||||
// SelectCommand = TableNameResolver.GetFullTableName(nameof(TableNameEnum.WorkcenterType)),
|
SelectCommand = TableNameResolver.GetFullTableName(nameof(TableNameEnum.ProjectType)),
|
||||||
// KeyFieldName = "Id",
|
KeyFieldName = "Id",
|
||||||
// KeyFieldDbSourceType = DbType.Guid,
|
KeyFieldDbSourceType = DbType.Guid,
|
||||||
// DefaultFilter = DefaultFilterJson,
|
DefaultFilter = DefaultFilterJson,
|
||||||
// SortMode = GridOptions.SortModeSingle,
|
SortMode = GridOptions.SortModeSingle,
|
||||||
// FilterRowJson = DefaultFilterRowJson,
|
FilterRowJson = DefaultFilterRowJson,
|
||||||
// HeaderFilterJson = DefaultHeaderFilterJson,
|
HeaderFilterJson = DefaultHeaderFilterJson,
|
||||||
// SearchPanelJson = DefaultSearchPanelJson,
|
SearchPanelJson = DefaultSearchPanelJson,
|
||||||
// GroupPanelJson = DefaultGroupPanelJson,
|
GroupPanelJson = DefaultGroupPanelJson,
|
||||||
// SelectionJson = DefaultSelectionSingleJson,
|
SelectionJson = DefaultSelectionSingleJson,
|
||||||
// ColumnOptionJson = DefaultColumnOptionJson,
|
ColumnOptionJson = DefaultColumnOptionJson,
|
||||||
// PermissionJson = DefaultPermissionJson(listFormName),
|
PermissionJson = DefaultPermissionJson(listFormName),
|
||||||
// DeleteCommand = DefaultDeleteCommand(nameof(TableNameEnum.WorkcenterType)),
|
DeleteCommand = DefaultDeleteCommand(nameof(TableNameEnum.ProjectType)),
|
||||||
// DeleteFieldsDefaultValueJson = DefaultDeleteFieldsDefaultValueJson,
|
DeleteFieldsDefaultValueJson = DefaultDeleteFieldsDefaultValueJson,
|
||||||
// PagerOptionJson = DefaultPagerOptionJson,
|
PagerOptionJson = DefaultPagerOptionJson,
|
||||||
// InsertFieldsDefaultValueJson = DefaultInsertFieldsDefaultValueJson,
|
EditingOptionJson = DefaultEditingOptionJson(listFormName, 500, 300, true, true, true, true, false),
|
||||||
// EditingOptionJson = DefaultEditingOptionJson(listFormName, 500, 250, true, true, true, true, false),
|
InsertFieldsDefaultValueJson = DefaultInsertFieldsDefaultValueJson,
|
||||||
// EditingFormJson = JsonSerializer.Serialize(new List<EditingFormDto>() {
|
EditingFormJson = JsonSerializer.Serialize(new List<EditingFormDto>()
|
||||||
// new() {
|
{
|
||||||
// Order=1, ColCount=1, ColSpan=1, ItemType="group", Items= [
|
new() {
|
||||||
// new EditingFormItemDto { Order = 2, DataField = "Name", ColSpan = 1, IsRequired = true, EditorType2=EditorTypes.dxTextBox },
|
Order=1, ColCount=1, ColSpan=1, ItemType="group", Items =[
|
||||||
// new EditingFormItemDto { Order = 3, DataField = "Description", ColSpan = 1, EditorType2=EditorTypes.dxTextArea },
|
new EditingFormItemDto { Order = 1, DataField="Name", ColSpan = 1, IsRequired =true, EditorType2 = EditorTypes.dxTextBox },
|
||||||
// new EditingFormItemDto { Order = 4, DataField = "IsActive", ColSpan = 1, EditorType2=EditorTypes.dxCheckBox },
|
new EditingFormItemDto { Order = 2, DataField="Description", ColSpan = 1, EditorType2 = EditorTypes.dxTextArea },
|
||||||
// ]}
|
new EditingFormItemDto { Order = 3, DataField="IsActive", ColSpan = 1, EditorType2 = EditorTypes.dxCheckBox },
|
||||||
// }),
|
]}
|
||||||
// FormFieldsDefaultValueJson = JsonSerializer.Serialize(new FieldsDefaultValue[] {
|
}),
|
||||||
// new() { FieldName = "IsActive", FieldDbType = DbType.Boolean, Value = "true", CustomValueType = FieldCustomValueTypeEnum.Value }
|
FormFieldsDefaultValueJson = JsonSerializer.Serialize(new FieldsDefaultValue[] {
|
||||||
// }),
|
new() { FieldName = "IsActive", FieldDbType = DbType.Boolean, Value = "true", CustomValueType = FieldCustomValueTypeEnum.Value }
|
||||||
// }
|
}),
|
||||||
// );
|
}
|
||||||
|
);
|
||||||
|
|
||||||
// #region WorkcenterType Fields
|
#region Project Type Fields
|
||||||
// await _listFormFieldRepository.InsertManyAsync([
|
await _listFormFieldRepository.InsertManyAsync([
|
||||||
// new() {
|
new() {
|
||||||
// ListFormCode = listForm.ListFormCode,
|
ListFormCode = listForm.ListFormCode,
|
||||||
// CultureName = LanguageCodes.En,
|
CultureName = LanguageCodes.En,
|
||||||
// SourceDbType = DbType.Guid,
|
SourceDbType = DbType.Guid,
|
||||||
// FieldName = "Id",
|
FieldName = "Id",
|
||||||
// Width = 100,
|
Width = 100,
|
||||||
// ListOrderNo = 1,
|
ListOrderNo = 1,
|
||||||
// Visible = false,
|
Visible = false,
|
||||||
// IsActive = true,
|
IsActive = true,
|
||||||
// IsDeleted = false,
|
IsDeleted = false,
|
||||||
// ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
||||||
// ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
// PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
// PivotSettingsJson = DefaultPivotSettingsJson
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
// },
|
},
|
||||||
// new() {
|
new() {
|
||||||
// ListFormCode = listForm.ListFormCode,
|
ListFormCode = listForm.ListFormCode,
|
||||||
// CultureName = LanguageCodes.En,
|
CultureName = LanguageCodes.En,
|
||||||
// SourceDbType = DbType.String,
|
SourceDbType = DbType.String,
|
||||||
// FieldName = "Name",
|
FieldName = "Name",
|
||||||
// Width = 350,
|
Width = 300,
|
||||||
// ListOrderNo = 3,
|
ListOrderNo = 2,
|
||||||
// Visible = true,
|
Visible = true,
|
||||||
// IsActive = true,
|
IsActive = true,
|
||||||
// IsDeleted = false,
|
IsDeleted = false,
|
||||||
// SortIndex = 1,
|
AllowSearch = true,
|
||||||
// SortDirection = GridColumnOptions.SortOrderAsc,
|
SortIndex = 1,
|
||||||
// AllowSearch = true,
|
SortDirection = GridColumnOptions.SortOrderAsc,
|
||||||
// ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
||||||
// ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
// PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
// PivotSettingsJson = DefaultPivotSettingsJson
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
// },
|
},
|
||||||
// new() {
|
new() {
|
||||||
// ListFormCode = listForm.ListFormCode,
|
ListFormCode = listForm.ListFormCode,
|
||||||
// CultureName = LanguageCodes.En,
|
CultureName = LanguageCodes.En,
|
||||||
// SourceDbType = DbType.String,
|
SourceDbType = DbType.String,
|
||||||
// FieldName = "Description",
|
FieldName = "Description",
|
||||||
// Width = 500,
|
Width = 500,
|
||||||
// ListOrderNo = 4,
|
ListOrderNo = 3,
|
||||||
// Visible = true,
|
Visible = true,
|
||||||
// IsActive = true,
|
IsActive = true,
|
||||||
// IsDeleted = false,
|
IsDeleted = false,
|
||||||
// AllowSearch = true,
|
AllowSearch = true,
|
||||||
// ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
// PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
// PivotSettingsJson = DefaultPivotSettingsJson
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
// },
|
},
|
||||||
|
new() {
|
||||||
|
ListFormCode = listForm.ListFormCode,
|
||||||
|
CultureName = LanguageCodes.En,
|
||||||
|
SourceDbType = DbType.Boolean,
|
||||||
|
FieldName = "IsActive",
|
||||||
|
Width = 100,
|
||||||
|
ListOrderNo = 4,
|
||||||
|
Visible = true,
|
||||||
|
IsActive = true,
|
||||||
|
IsDeleted = false,
|
||||||
|
AllowSearch = true,
|
||||||
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
},
|
||||||
|
]);
|
||||||
|
#endregion
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
// new() {
|
#region Project Status
|
||||||
// ListFormCode = listForm.ListFormCode,
|
listFormName = AppCodes.Project.ProjectStatus;
|
||||||
// CultureName = LanguageCodes.En,
|
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == listFormName))
|
||||||
// SourceDbType = DbType.Boolean,
|
{
|
||||||
// FieldName = "IsActive",
|
var listForm = await _listFormRepository.InsertAsync(
|
||||||
// Width = 100,
|
new ListForm()
|
||||||
// ListOrderNo = 5,
|
{
|
||||||
// Visible = true,
|
ListFormType = ListFormTypeEnum.List,
|
||||||
// IsActive = true,
|
IsSubForm = false,
|
||||||
// IsDeleted = false,
|
ShowNote = true,
|
||||||
// AllowSearch = true,
|
LayoutJson = DefaultLayoutJson,
|
||||||
// ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
CultureName = LanguageCodes.En,
|
||||||
// PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
ListFormCode = listFormName,
|
||||||
// PivotSettingsJson = DefaultPivotSettingsJson
|
Name = listFormName,
|
||||||
// }
|
Title = listFormName,
|
||||||
// ]);
|
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||||
// #endregion
|
IsTenant = true,
|
||||||
// }
|
IsBranch = false,
|
||||||
// #endregion
|
IsOrganizationUnit = false,
|
||||||
|
Description = listFormName,
|
||||||
|
SelectCommandType = SelectCommandTypeEnum.Table,
|
||||||
|
SelectCommand = TableNameResolver.GetFullTableName(nameof(TableNameEnum.ProjectStatus)),
|
||||||
|
KeyFieldName = "Id",
|
||||||
|
KeyFieldDbSourceType = DbType.Guid,
|
||||||
|
DefaultFilter = DefaultFilterJson,
|
||||||
|
SortMode = GridOptions.SortModeSingle,
|
||||||
|
FilterRowJson = DefaultFilterRowJson,
|
||||||
|
HeaderFilterJson = DefaultHeaderFilterJson,
|
||||||
|
SearchPanelJson = DefaultSearchPanelJson,
|
||||||
|
GroupPanelJson = DefaultGroupPanelJson,
|
||||||
|
SelectionJson = DefaultSelectionSingleJson,
|
||||||
|
ColumnOptionJson = DefaultColumnOptionJson,
|
||||||
|
PermissionJson = DefaultPermissionJson(listFormName),
|
||||||
|
DeleteCommand = DefaultDeleteCommand(nameof(TableNameEnum.ProjectStatus)),
|
||||||
|
DeleteFieldsDefaultValueJson = DefaultDeleteFieldsDefaultValueJson,
|
||||||
|
PagerOptionJson = DefaultPagerOptionJson,
|
||||||
|
EditingOptionJson = DefaultEditingOptionJson(listFormName, 500, 300, true, true, true, true, false),
|
||||||
|
InsertFieldsDefaultValueJson = DefaultInsertFieldsDefaultValueJson,
|
||||||
|
EditingFormJson = JsonSerializer.Serialize(new List<EditingFormDto>()
|
||||||
|
{
|
||||||
|
new() {
|
||||||
|
Order=1, ColCount=1, ColSpan=1, ItemType="group", Items =[
|
||||||
|
new EditingFormItemDto { Order = 1, DataField="Name", ColSpan = 1, IsRequired =true, EditorType2 = EditorTypes.dxTextBox },
|
||||||
|
new EditingFormItemDto { Order = 2, DataField="Description", ColSpan = 1, EditorType2 = EditorTypes.dxTextArea },
|
||||||
|
new EditingFormItemDto { Order = 3, DataField="IsActive", ColSpan = 1, EditorType2 = EditorTypes.dxCheckBox },
|
||||||
|
]}
|
||||||
|
}),
|
||||||
|
FormFieldsDefaultValueJson = JsonSerializer.Serialize(new FieldsDefaultValue[] {
|
||||||
|
new() { FieldName = "IsActive", FieldDbType = DbType.Boolean, Value = "true", CustomValueType = FieldCustomValueTypeEnum.Value }
|
||||||
|
}),
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
#region Project Status Fields
|
||||||
|
await _listFormFieldRepository.InsertManyAsync([
|
||||||
|
new() {
|
||||||
|
ListFormCode = listForm.ListFormCode,
|
||||||
|
CultureName = LanguageCodes.En,
|
||||||
|
SourceDbType = DbType.Guid,
|
||||||
|
FieldName = "Id",
|
||||||
|
Width = 100,
|
||||||
|
ListOrderNo = 1,
|
||||||
|
Visible = false,
|
||||||
|
IsActive = true,
|
||||||
|
IsDeleted = false,
|
||||||
|
ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
||||||
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
},
|
||||||
|
new() {
|
||||||
|
ListFormCode = listForm.ListFormCode,
|
||||||
|
CultureName = LanguageCodes.En,
|
||||||
|
SourceDbType = DbType.String,
|
||||||
|
FieldName = "Name",
|
||||||
|
Width = 300,
|
||||||
|
ListOrderNo = 2,
|
||||||
|
Visible = true,
|
||||||
|
IsActive = true,
|
||||||
|
IsDeleted = false,
|
||||||
|
AllowSearch = true,
|
||||||
|
SortIndex = 1,
|
||||||
|
SortDirection = GridColumnOptions.SortOrderAsc,
|
||||||
|
ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
||||||
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
},
|
||||||
|
new() {
|
||||||
|
ListFormCode = listForm.ListFormCode,
|
||||||
|
CultureName = LanguageCodes.En,
|
||||||
|
SourceDbType = DbType.String,
|
||||||
|
FieldName = "Description",
|
||||||
|
Width = 500,
|
||||||
|
ListOrderNo = 3,
|
||||||
|
Visible = true,
|
||||||
|
IsActive = true,
|
||||||
|
IsDeleted = false,
|
||||||
|
AllowSearch = true,
|
||||||
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
},
|
||||||
|
new() {
|
||||||
|
ListFormCode = listForm.ListFormCode,
|
||||||
|
CultureName = LanguageCodes.En,
|
||||||
|
SourceDbType = DbType.Boolean,
|
||||||
|
FieldName = "IsActive",
|
||||||
|
Width = 100,
|
||||||
|
ListOrderNo = 4,
|
||||||
|
Visible = true,
|
||||||
|
IsActive = true,
|
||||||
|
IsDeleted = false,
|
||||||
|
AllowSearch = true,
|
||||||
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
},
|
||||||
|
]);
|
||||||
|
#endregion
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region Projects
|
||||||
|
listFormName = AppCodes.Project.Projects;
|
||||||
|
if (!await _listFormRepository.AnyAsync(a => a.ListFormCode == listFormName))
|
||||||
|
{
|
||||||
|
var listForm = await _listFormRepository.InsertAsync(
|
||||||
|
new ListForm()
|
||||||
|
{
|
||||||
|
ListFormType = ListFormTypeEnum.List,
|
||||||
|
IsSubForm = false,
|
||||||
|
ShowNote = true,
|
||||||
|
LayoutJson = DefaultLayoutJson,
|
||||||
|
CultureName = LanguageCodes.En,
|
||||||
|
ListFormCode = listFormName,
|
||||||
|
Name = listFormName,
|
||||||
|
Title = listFormName,
|
||||||
|
DataSourceCode = SeedConsts.DataSources.DefaultCode,
|
||||||
|
IsTenant = true,
|
||||||
|
IsBranch = false,
|
||||||
|
IsOrganizationUnit = false,
|
||||||
|
Description = listFormName,
|
||||||
|
SelectCommandType = SelectCommandTypeEnum.Table,
|
||||||
|
SelectCommand = TableNameResolver.GetFullTableName(nameof(TableNameEnum.ProjectStatus)),
|
||||||
|
KeyFieldName = "Id",
|
||||||
|
KeyFieldDbSourceType = DbType.Guid,
|
||||||
|
DefaultFilter = DefaultFilterJson,
|
||||||
|
SortMode = GridOptions.SortModeSingle,
|
||||||
|
FilterRowJson = DefaultFilterRowJson,
|
||||||
|
HeaderFilterJson = DefaultHeaderFilterJson,
|
||||||
|
SearchPanelJson = DefaultSearchPanelJson,
|
||||||
|
GroupPanelJson = DefaultGroupPanelJson,
|
||||||
|
SelectionJson = DefaultSelectionSingleJson,
|
||||||
|
ColumnOptionJson = DefaultColumnOptionJson,
|
||||||
|
PermissionJson = DefaultPermissionJson(listFormName),
|
||||||
|
DeleteCommand = DefaultDeleteCommand(nameof(TableNameEnum.ProjectStatus)),
|
||||||
|
DeleteFieldsDefaultValueJson = DefaultDeleteFieldsDefaultValueJson,
|
||||||
|
PagerOptionJson = DefaultPagerOptionJson,
|
||||||
|
EditingOptionJson = DefaultEditingOptionJson(listFormName, 900, 700, true, true, true, true, false),
|
||||||
|
InsertFieldsDefaultValueJson = DefaultInsertFieldsDefaultValueJson,
|
||||||
|
EditingFormJson = JsonSerializer.Serialize(new List<EditingFormDto>()
|
||||||
|
{
|
||||||
|
new() {
|
||||||
|
Order=1, ColCount=2, ColSpan=1, Caption="General", ItemType="group", Items =
|
||||||
|
[
|
||||||
|
new EditingFormItemDto { Order = 1, DataField="Code", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox },
|
||||||
|
new EditingFormItemDto { Order = 2, DataField="Name", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox },
|
||||||
|
new EditingFormItemDto { Order = 3, DataField="ProjectTypeId", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox },
|
||||||
|
new EditingFormItemDto { Order = 4, DataField="StatusId", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox },
|
||||||
|
new EditingFormItemDto { Order = 5, DataField="ManagerId", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox },
|
||||||
|
new EditingFormItemDto { Order = 6, DataField="Priority", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox },
|
||||||
|
new EditingFormItemDto { Order = 7, DataField="Description", ColSpan = 2, EditorType2 = EditorTypes.dxTextArea },
|
||||||
|
]},
|
||||||
|
new() {
|
||||||
|
Order=2, ColCount=2, ColSpan=1, Caption="Planned", ItemType="group", Items =
|
||||||
|
[
|
||||||
|
new EditingFormItemDto { Order = 1, DataField="StartDate", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxDateBox },
|
||||||
|
new EditingFormItemDto { Order = 2, DataField="EndDate", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxDateBox },
|
||||||
|
new EditingFormItemDto { Order = 3, DataField="Budget", ColSpan = 1, EditorType2 = EditorTypes.dxNumberBox, EditorOptions = EditorOptionValues.NumberStandartFormat },
|
||||||
|
new EditingFormItemDto { Order = 4, DataField="Currency", ColSpan = 1, EditorType2 = EditorTypes.dxSelectBox },
|
||||||
|
]},
|
||||||
|
new() {
|
||||||
|
Order=3, ColCount=2, ColSpan=1, Caption="Actual", ItemType="group", Items =
|
||||||
|
[
|
||||||
|
|
||||||
|
new EditingFormItemDto { Order = 1, DataField="ActualStartDate", ColSpan = 1, EditorType2 = EditorTypes.dxDateBox },
|
||||||
|
new EditingFormItemDto { Order = 2, DataField="ActualEndDate", ColSpan = 1, EditorType2 = EditorTypes.dxDateBox },
|
||||||
|
new EditingFormItemDto { Order = 3, DataField="ActualCost", ColSpan = 1, EditorType2 = EditorTypes.dxNumberBox, EditorOptions = EditorOptionValues.NumberStandartFormat },
|
||||||
|
new EditingFormItemDto { Order = 4, DataField="CustomerId", ColSpan = 1, EditorType2 = EditorTypes.dxSelectBox },
|
||||||
|
new EditingFormItemDto { Order = 5, DataField="Progress", ColSpan = 1, EditorType2 = EditorTypes.dxSlider, EditorOptions=EditorOptionValues.SliderOptions },
|
||||||
|
new EditingFormItemDto { Order = 6, DataField="IsActive", ColSpan = 1, EditorType2 = EditorTypes.dxCheckBox },
|
||||||
|
]}
|
||||||
|
}),
|
||||||
|
FormFieldsDefaultValueJson = JsonSerializer.Serialize(new FieldsDefaultValue[] {
|
||||||
|
new() { FieldName = "IsActive", FieldDbType = DbType.Boolean, Value = "true", CustomValueType = FieldCustomValueTypeEnum.Value }
|
||||||
|
}),
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
#region Projects Fields
|
||||||
|
await _listFormFieldRepository.InsertManyAsync([
|
||||||
|
new() {
|
||||||
|
ListFormCode = listForm.ListFormCode,
|
||||||
|
CultureName = LanguageCodes.En,
|
||||||
|
SourceDbType = DbType.Guid,
|
||||||
|
FieldName = "Id",
|
||||||
|
Width = 100,
|
||||||
|
ListOrderNo = 1,
|
||||||
|
Visible = false,
|
||||||
|
IsActive = true,
|
||||||
|
IsDeleted = false,
|
||||||
|
ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
||||||
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
},
|
||||||
|
new() {
|
||||||
|
ListFormCode = listForm.ListFormCode,
|
||||||
|
CultureName = LanguageCodes.En,
|
||||||
|
SourceDbType = DbType.String,
|
||||||
|
FieldName = "Code",
|
||||||
|
Width = 100,
|
||||||
|
ListOrderNo = 2,
|
||||||
|
Visible = true,
|
||||||
|
IsActive = true,
|
||||||
|
IsDeleted = false,
|
||||||
|
AllowSearch = true,
|
||||||
|
ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
||||||
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
},
|
||||||
|
new() {
|
||||||
|
ListFormCode = listForm.ListFormCode,
|
||||||
|
CultureName = LanguageCodes.En,
|
||||||
|
SourceDbType = DbType.String,
|
||||||
|
FieldName = "Name",
|
||||||
|
Width = 300,
|
||||||
|
ListOrderNo = 3,
|
||||||
|
Visible = true,
|
||||||
|
IsActive = true,
|
||||||
|
IsDeleted = false,
|
||||||
|
AllowSearch = true,
|
||||||
|
SortIndex = 1,
|
||||||
|
SortDirection = GridColumnOptions.SortOrderAsc,
|
||||||
|
ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
||||||
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
},
|
||||||
|
new() {
|
||||||
|
ListFormCode = listForm.ListFormCode,
|
||||||
|
CultureName = LanguageCodes.En,
|
||||||
|
SourceDbType = DbType.Guid,
|
||||||
|
FieldName = "ProjectTypeId",
|
||||||
|
Width = 100,
|
||||||
|
ListOrderNo = 4,
|
||||||
|
Visible = true,
|
||||||
|
IsActive = true,
|
||||||
|
IsDeleted = false,
|
||||||
|
AllowSearch = true,
|
||||||
|
LookupJson = LookupQueryValues.DefaultLookupQueryJson(nameof(TableNameEnum.ProjectType), "Id", "Name"),
|
||||||
|
ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
||||||
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
},
|
||||||
|
new() {
|
||||||
|
ListFormCode = listForm.ListFormCode,
|
||||||
|
CultureName = LanguageCodes.En,
|
||||||
|
SourceDbType = DbType.Guid,
|
||||||
|
FieldName = "StatusId",
|
||||||
|
Width = 100,
|
||||||
|
ListOrderNo = 5,
|
||||||
|
Visible = true,
|
||||||
|
IsActive = true,
|
||||||
|
IsDeleted = false,
|
||||||
|
AllowSearch = true,
|
||||||
|
LookupJson = LookupQueryValues.DefaultLookupQueryJson(nameof(TableNameEnum.ProjectStatus), "Id", "Name"),
|
||||||
|
ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
||||||
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
},
|
||||||
|
new() {
|
||||||
|
ListFormCode = listForm.ListFormCode,
|
||||||
|
CultureName = LanguageCodes.En,
|
||||||
|
SourceDbType = DbType.Guid,
|
||||||
|
FieldName = "ManagerId",
|
||||||
|
Width = 100,
|
||||||
|
ListOrderNo = 6,
|
||||||
|
Visible = true,
|
||||||
|
IsActive = true,
|
||||||
|
IsDeleted = false,
|
||||||
|
AllowSearch = true,
|
||||||
|
LookupJson = LookupQueryValues.DefaultLookupQueryJson(nameof(TableNameEnum.Employee), "Id", "Name"),
|
||||||
|
ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
||||||
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
},
|
||||||
|
new() {
|
||||||
|
ListFormCode = listForm.ListFormCode,
|
||||||
|
CultureName = LanguageCodes.En,
|
||||||
|
SourceDbType = DbType.String,
|
||||||
|
FieldName = "Priority",
|
||||||
|
Width = 100,
|
||||||
|
ListOrderNo = 7,
|
||||||
|
Visible = true,
|
||||||
|
IsActive = true,
|
||||||
|
IsDeleted = false,
|
||||||
|
AllowSearch = true,
|
||||||
|
LookupJson = JsonSerializer.Serialize(new LookupDto
|
||||||
|
{
|
||||||
|
DataSourceType = UiLookupDataSourceTypeEnum.StaticData,
|
||||||
|
DisplayExpr = "name",
|
||||||
|
ValueExpr = "key",
|
||||||
|
LookupQuery = JsonSerializer.Serialize(new LookupDataDto[] {
|
||||||
|
new () { Key = "Low", Name = "Low" },
|
||||||
|
new () { Key = "Medium", Name = "Medium" },
|
||||||
|
new () { Key = "High", Name = "High" },
|
||||||
|
new () { Key = "Urgent", Name = "Urgent" },
|
||||||
|
}),
|
||||||
|
}),
|
||||||
|
ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
||||||
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
},
|
||||||
|
new() {
|
||||||
|
ListFormCode = listForm.ListFormCode,
|
||||||
|
CultureName = LanguageCodes.En,
|
||||||
|
SourceDbType = DbType.String,
|
||||||
|
FieldName = "Description",
|
||||||
|
Width = 500,
|
||||||
|
ListOrderNo = 8,
|
||||||
|
Visible = true,
|
||||||
|
IsActive = true,
|
||||||
|
IsDeleted = false,
|
||||||
|
AllowSearch = true,
|
||||||
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
},
|
||||||
|
new() {
|
||||||
|
ListFormCode = listForm.ListFormCode,
|
||||||
|
CultureName = LanguageCodes.En,
|
||||||
|
SourceDbType = DbType.Date,
|
||||||
|
FieldName = "StartDate",
|
||||||
|
Width = 100,
|
||||||
|
ListOrderNo = 9,
|
||||||
|
Visible = true,
|
||||||
|
IsActive = true,
|
||||||
|
IsDeleted = false,
|
||||||
|
AllowSearch = true,
|
||||||
|
ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
||||||
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
},
|
||||||
|
new() {
|
||||||
|
ListFormCode = listForm.ListFormCode,
|
||||||
|
CultureName = LanguageCodes.En,
|
||||||
|
SourceDbType = DbType.Date,
|
||||||
|
FieldName = "EndDate",
|
||||||
|
Width = 100,
|
||||||
|
ListOrderNo = 10,
|
||||||
|
Visible = true,
|
||||||
|
IsActive = true,
|
||||||
|
IsDeleted = false,
|
||||||
|
AllowSearch = true,
|
||||||
|
ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
||||||
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
},
|
||||||
|
new() {
|
||||||
|
ListFormCode = listForm.ListFormCode,
|
||||||
|
CultureName = LanguageCodes.En,
|
||||||
|
SourceDbType = DbType.Decimal,
|
||||||
|
FieldName = "Budget",
|
||||||
|
Format = "fixedPoint",
|
||||||
|
Alignment = "right",
|
||||||
|
Width = 100,
|
||||||
|
ListOrderNo = 11,
|
||||||
|
Visible = true,
|
||||||
|
IsActive = true,
|
||||||
|
IsDeleted = false,
|
||||||
|
AllowSearch = true,
|
||||||
|
ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
||||||
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
},
|
||||||
|
new() {
|
||||||
|
ListFormCode = listForm.ListFormCode,
|
||||||
|
CultureName = LanguageCodes.En,
|
||||||
|
SourceDbType = DbType.String,
|
||||||
|
FieldName = "Currency",
|
||||||
|
Width = 100,
|
||||||
|
ListOrderNo = 12,
|
||||||
|
Visible = true,
|
||||||
|
IsActive = true,
|
||||||
|
IsDeleted = false,
|
||||||
|
AllowSearch = true,
|
||||||
|
LookupJson = LookupQueryValues.DefaultLookupQueryJson(nameof(TableNameEnum.Currency), "Code", "Name"),
|
||||||
|
ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
||||||
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
},
|
||||||
|
new() {
|
||||||
|
ListFormCode = listForm.ListFormCode,
|
||||||
|
CultureName = LanguageCodes.En,
|
||||||
|
SourceDbType = DbType.Date,
|
||||||
|
FieldName = "ActualStartDate",
|
||||||
|
Width = 100,
|
||||||
|
ListOrderNo = 13,
|
||||||
|
Visible = true,
|
||||||
|
IsActive = true,
|
||||||
|
IsDeleted = false,
|
||||||
|
AllowSearch = true,
|
||||||
|
ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
||||||
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
},
|
||||||
|
new() {
|
||||||
|
ListFormCode = listForm.ListFormCode,
|
||||||
|
CultureName = LanguageCodes.En,
|
||||||
|
SourceDbType = DbType.Date,
|
||||||
|
FieldName = "ActualEndDate",
|
||||||
|
Width = 100,
|
||||||
|
ListOrderNo = 14,
|
||||||
|
Visible = true,
|
||||||
|
IsActive = true,
|
||||||
|
IsDeleted = false,
|
||||||
|
AllowSearch = true,
|
||||||
|
ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
||||||
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
},
|
||||||
|
new() {
|
||||||
|
ListFormCode = listForm.ListFormCode,
|
||||||
|
CultureName = LanguageCodes.En,
|
||||||
|
SourceDbType = DbType.Decimal,
|
||||||
|
FieldName = "ActualCost",
|
||||||
|
Format = "fixedPoint",
|
||||||
|
Alignment = "right",
|
||||||
|
Width = 100,
|
||||||
|
ListOrderNo = 15,
|
||||||
|
Visible = true,
|
||||||
|
IsActive = true,
|
||||||
|
IsDeleted = false,
|
||||||
|
AllowSearch = true,
|
||||||
|
ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
||||||
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
},
|
||||||
|
new() {
|
||||||
|
ListFormCode = listForm.ListFormCode,
|
||||||
|
CultureName = LanguageCodes.En,
|
||||||
|
SourceDbType = DbType.Guid,
|
||||||
|
FieldName = "CustomerId",
|
||||||
|
Width = 100,
|
||||||
|
ListOrderNo = 16,
|
||||||
|
Visible = true,
|
||||||
|
IsActive = true,
|
||||||
|
IsDeleted = false,
|
||||||
|
AllowSearch = true,
|
||||||
|
LookupJson = JsonSerializer.Serialize(new LookupDto
|
||||||
|
{
|
||||||
|
DataSourceType = UiLookupDataSourceTypeEnum.Query,
|
||||||
|
DisplayExpr = "Name",
|
||||||
|
ValueExpr = "Key",
|
||||||
|
LookupQuery = LookupQueryValues.CustomerValues,
|
||||||
|
}),
|
||||||
|
ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
||||||
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
},
|
||||||
|
new() {
|
||||||
|
ListFormCode = listForm.ListFormCode,
|
||||||
|
CultureName = LanguageCodes.En,
|
||||||
|
SourceDbType = DbType.Int32,
|
||||||
|
FieldName = "Progress",
|
||||||
|
Width = 150,
|
||||||
|
ListOrderNo = 17,
|
||||||
|
Visible = true,
|
||||||
|
IsActive = true,
|
||||||
|
IsDeleted = false,
|
||||||
|
AllowSearch = true,
|
||||||
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
},
|
||||||
|
new() {
|
||||||
|
ListFormCode = listForm.ListFormCode,
|
||||||
|
CultureName = LanguageCodes.En,
|
||||||
|
SourceDbType = DbType.Boolean,
|
||||||
|
FieldName = "IsActive",
|
||||||
|
Width = 100,
|
||||||
|
ListOrderNo = 18,
|
||||||
|
Visible = true,
|
||||||
|
IsActive = true,
|
||||||
|
IsDeleted = false,
|
||||||
|
AllowSearch = true,
|
||||||
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
},
|
||||||
|
]);
|
||||||
|
#endregion
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -769,7 +769,6 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
||||||
IsActive = true,
|
IsActive = true,
|
||||||
IsDeleted = false,
|
IsDeleted = false,
|
||||||
AllowSearch = true,
|
AllowSearch = true,
|
||||||
ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
|
||||||
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
PivotSettingsJson = DefaultPivotSettingsJson
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
|
@ -785,7 +784,6 @@ public class ListFormSeeder_SupplyChain : IDataSeedContributor, ITransientDepend
|
||||||
IsActive = true,
|
IsActive = true,
|
||||||
IsDeleted = false,
|
IsDeleted = false,
|
||||||
AllowSearch = true,
|
AllowSearch = true,
|
||||||
ValidationRuleJson = DefaultValidationRuleRequiredJson,
|
|
||||||
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
ColumnCustomizationJson = DefaultColumnCustomizationJson,
|
||||||
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
|
||||||
PivotSettingsJson = DefaultPivotSettingsJson
|
PivotSettingsJson = DefaultPivotSettingsJson
|
||||||
|
|
|
||||||
|
|
@ -152,14 +152,18 @@
|
||||||
"path": "/admin/menuManager",
|
"path": "/admin/menuManager",
|
||||||
"componentPath": "@/views/menu/MenuManager",
|
"componentPath": "@/views/menu/MenuManager",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.Menus.Manager"]
|
"authority": [
|
||||||
|
"App.Menus.Manager"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.listFormManagement.wizard",
|
"key": "admin.listFormManagement.wizard",
|
||||||
"path": "/admin/listform/wizard",
|
"path": "/admin/listform/wizard",
|
||||||
"componentPath": "@/views/admin/listForm/Wizard",
|
"componentPath": "@/views/admin/listForm/Wizard",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.Listforms.Wizard"]
|
"authority": [
|
||||||
|
"App.Listforms.Wizard"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.listFormManagement.edit",
|
"key": "admin.listFormManagement.edit",
|
||||||
|
|
@ -173,14 +177,18 @@
|
||||||
"path": "/admin/forumManagement",
|
"path": "/admin/forumManagement",
|
||||||
"componentPath": "@/views/forum/Management",
|
"componentPath": "@/views/forum/Management",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.ForumManagement"]
|
"authority": [
|
||||||
|
"App.ForumManagement"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.ai",
|
"key": "admin.ai",
|
||||||
"path": "/admin/ai",
|
"path": "/admin/ai",
|
||||||
"componentPath": "@/views/ai/Assistant",
|
"componentPath": "@/views/ai/Assistant",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["Abp.Identity.Ai"]
|
"authority": [
|
||||||
|
"Abp.Identity.Ai"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.profile.general",
|
"key": "admin.profile.general",
|
||||||
|
|
@ -222,28 +230,36 @@
|
||||||
"path": "/admin/settings",
|
"path": "/admin/settings",
|
||||||
"componentPath": "@/views/settings/Settings",
|
"componentPath": "@/views/settings/Settings",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.Setting"]
|
"authority": [
|
||||||
|
"App.Setting"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.identity.user.detail",
|
"key": "admin.identity.user.detail",
|
||||||
"path": "/admin/users/detail/:userId",
|
"path": "/admin/users/detail/:userId",
|
||||||
"componentPath": "@/views/admin/user-management/Details",
|
"componentPath": "@/views/admin/user-management/Details",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["AbpIdentity.Users.Update"]
|
"authority": [
|
||||||
|
"AbpIdentity.Users.Update"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.identity.ous",
|
"key": "admin.identity.ous",
|
||||||
"path": "/admin/ous",
|
"path": "/admin/ous",
|
||||||
"componentPath": "@/views/admin/organization-unit/OrganizationUnits",
|
"componentPath": "@/views/admin/organization-unit/OrganizationUnits",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["Abp.Identity.OrganizationUnits"]
|
"authority": [
|
||||||
|
"Abp.Identity.OrganizationUnits"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.forum",
|
"key": "admin.forum",
|
||||||
"path": "/admin/forum",
|
"path": "/admin/forum",
|
||||||
"componentPath": "@/views/forum/Forum",
|
"componentPath": "@/views/forum/Forum",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.ForumManagement.Publish"]
|
"authority": [
|
||||||
|
"App.ForumManagement.Publish"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.list",
|
"key": "admin.list",
|
||||||
|
|
@ -285,168 +301,216 @@
|
||||||
"path": "/admin/developerkit",
|
"path": "/admin/developerkit",
|
||||||
"componentPath": "@/views/developerKit/DashboardPage",
|
"componentPath": "@/views/developerKit/DashboardPage",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.DeveloperKit"]
|
"authority": [
|
||||||
|
"App.DeveloperKit"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.developerkit.entities",
|
"key": "admin.developerkit.entities",
|
||||||
"path": "/admin/developerkit/entities",
|
"path": "/admin/developerkit/entities",
|
||||||
"componentPath": "@/views/developerKit/EntityPage",
|
"componentPath": "@/views/developerKit/EntityPage",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.DeveloperKit.Entity"]
|
"authority": [
|
||||||
|
"App.DeveloperKit.Entity"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.developerkit.entities.new",
|
"key": "admin.developerkit.entities.new",
|
||||||
"path": "/admin/developerkit/entities/new",
|
"path": "/admin/developerkit/entities/new",
|
||||||
"componentPath": "@/views/developerKit/EntityDetailPage",
|
"componentPath": "@/views/developerKit/EntityDetailPage",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.DeveloperKit.Entity"]
|
"authority": [
|
||||||
|
"App.DeveloperKit.Entity"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.developerkit.entities.edit",
|
"key": "admin.developerkit.entities.edit",
|
||||||
"path": "/admin/developerkit/entities/edit/:id",
|
"path": "/admin/developerkit/entities/edit/:id",
|
||||||
"componentPath": "@/views/developerKit/EntityDetailPage",
|
"componentPath": "@/views/developerKit/EntityDetailPage",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.DeveloperKit.Entity"]
|
"authority": [
|
||||||
|
"App.DeveloperKit.Entity"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.developerkit.migrations",
|
"key": "admin.developerkit.migrations",
|
||||||
"path": "/admin/developerkit/migrations",
|
"path": "/admin/developerkit/migrations",
|
||||||
"componentPath": "@/views/developerKit/MigrationPage",
|
"componentPath": "@/views/developerKit/MigrationPage",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.DeveloperKit.Migrations"]
|
"authority": [
|
||||||
|
"App.DeveloperKit.Migrations"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.developerkit.endpoints",
|
"key": "admin.developerkit.endpoints",
|
||||||
"path": "/admin/developerkit/endpoints",
|
"path": "/admin/developerkit/endpoints",
|
||||||
"componentPath": "@/views/developerKit/CrudEndpointPage",
|
"componentPath": "@/views/developerKit/CrudEndpointPage",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.DeveloperKit.CrudEndpoints"]
|
"authority": [
|
||||||
|
"App.DeveloperKit.CrudEndpoints"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.developerkit.dynamic-services",
|
"key": "admin.developerkit.dynamic-services",
|
||||||
"path": "/admin/developerkit/dynamic-services",
|
"path": "/admin/developerkit/dynamic-services",
|
||||||
"componentPath": "@/views/developerKit/DynamicServicePage",
|
"componentPath": "@/views/developerKit/DynamicServicePage",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.DeveloperKit.DynamicServices"]
|
"authority": [
|
||||||
|
"App.DeveloperKit.DynamicServices"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.developerkit.components",
|
"key": "admin.developerkit.components",
|
||||||
"path": "/admin/developerkit/components",
|
"path": "/admin/developerkit/components",
|
||||||
"componentPath": "@/views/developerKit/ComponentPage",
|
"componentPath": "@/views/developerKit/ComponentPage",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.DeveloperKit.Components"]
|
"authority": [
|
||||||
|
"App.DeveloperKit.Components"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.developerkit.components.new",
|
"key": "admin.developerkit.components.new",
|
||||||
"path": "/admin/developerkit/components/new",
|
"path": "/admin/developerkit/components/new",
|
||||||
"componentPath": "@/views/developerKit/ComponentDetailPage",
|
"componentPath": "@/views/developerKit/ComponentDetailPage",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.DeveloperKit.Components"]
|
"authority": [
|
||||||
|
"App.DeveloperKit.Components"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.developerkit.components.view",
|
"key": "admin.developerkit.components.view",
|
||||||
"path": "/admin/developerkit/components/view/:id",
|
"path": "/admin/developerkit/components/view/:id",
|
||||||
"componentPath": "@/views/developerKit/ComponentDetailPage",
|
"componentPath": "@/views/developerKit/ComponentDetailPage",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.DeveloperKit.Components"]
|
"authority": [
|
||||||
|
"App.DeveloperKit.Components"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.developerkit.components.edit",
|
"key": "admin.developerkit.components.edit",
|
||||||
"path": "/admin/developerkit/components/edit/:id",
|
"path": "/admin/developerkit/components/edit/:id",
|
||||||
"componentPath": "@/views/developerKit/CodePage",
|
"componentPath": "@/views/developerKit/CodePage",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.DeveloperKit.Components"]
|
"authority": [
|
||||||
|
"App.DeveloperKit.Components"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.reportManagement",
|
"key": "admin.reportManagement",
|
||||||
"path": "/admin/reports/management",
|
"path": "/admin/reports/management",
|
||||||
"componentPath": "@/views/report/DashboardPage",
|
"componentPath": "@/views/report/DashboardPage",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.Reports.Management"]
|
"authority": [
|
||||||
|
"App.Reports.Management"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.reports.view",
|
"key": "admin.reports.view",
|
||||||
"path": "/admin/reports/:id",
|
"path": "/admin/reports/:id",
|
||||||
"componentPath": "@/views/report/ReportViewerPage",
|
"componentPath": "@/views/report/ReportViewerPage",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.Reports.Categories"]
|
"authority": [
|
||||||
|
"App.Reports.Categories"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.fileManagement",
|
"key": "admin.fileManagement",
|
||||||
"path": "/admin/files",
|
"path": "/admin/files",
|
||||||
"componentPath": "@/views/admin/files/FileManager",
|
"componentPath": "@/views/admin/files/FileManager",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.Files"]
|
"authority": [
|
||||||
|
"App.Files"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.coordinator.classroom.dashboard",
|
"key": "admin.coordinator.classroom.dashboard",
|
||||||
"path": "/admin/coordinator/classroom/dashboard",
|
"path": "/admin/coordinator/classroom/dashboard",
|
||||||
"componentPath": "@/views/coordinator/Classroom/Dashboard",
|
"componentPath": "@/views/coordinator/Classroom/Dashboard",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.Coordinator.Classroom.Dashboard"]
|
"authority": [
|
||||||
|
"App.Coordinator.Classroom.Dashboard"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.coordinator.classroom.classes",
|
"key": "admin.coordinator.classroom.classes",
|
||||||
"path": "/admin/coordinator/classroom/classes",
|
"path": "/admin/coordinator/classroom/classes",
|
||||||
"componentPath": "@/views/coordinator/Classroom/ClassList",
|
"componentPath": "@/views/coordinator/Classroom/ClassList",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.Coordinator.Classroom.List"]
|
"authority": [
|
||||||
|
"App.Coordinator.Classroom.List"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.coordinator.classroom.classroom",
|
"key": "admin.coordinator.classroom.classroom",
|
||||||
"path": "/admin/coordinator/classroom/room/:id",
|
"path": "/admin/coordinator/classroom/room/:id",
|
||||||
"componentPath": "@/views/coordinator/Classroom/RoomDetail",
|
"componentPath": "@/views/coordinator/Classroom/RoomDetail",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.Coordinator.Classroom.RoomDetail"]
|
"authority": [
|
||||||
|
"App.Coordinator.Classroom.RoomDetail"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.coordinator.classroom.planning",
|
"key": "admin.coordinator.classroom.planning",
|
||||||
"path": "/admin/coordinator/classroom/planning/:id",
|
"path": "/admin/coordinator/classroom/planning/:id",
|
||||||
"componentPath": "@/views/coordinator/Classroom/PlanningPage",
|
"componentPath": "@/views/coordinator/Classroom/PlanningPage",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.Coordinator.Classroom.Planning"]
|
"authority": [
|
||||||
|
"App.Coordinator.Classroom.Planning"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.coordinator.exams",
|
"key": "admin.coordinator.exams",
|
||||||
"path": "/admin/coordinator/exams",
|
"path": "/admin/coordinator/exams",
|
||||||
"componentPath": "@/views/coordinator/Exams",
|
"componentPath": "@/views/coordinator/Exams",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.Coordinator.Exams"]
|
"authority": [
|
||||||
|
"App.Coordinator.Exams"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.coordinator.examDetail",
|
"key": "admin.coordinator.examDetail",
|
||||||
"path": "/admin/coordinator/exam/:id",
|
"path": "/admin/coordinator/exam/:id",
|
||||||
"componentPath": "@/views/coordinator/ExamInterface/ExamInterface",
|
"componentPath": "@/views/coordinator/ExamInterface/ExamInterface",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.Coordinator.Exams"]
|
"authority": [
|
||||||
|
"App.Coordinator.Exams"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.coordinator.assignments",
|
"key": "admin.coordinator.assignments",
|
||||||
"path": "/admin/coordinator/assignments",
|
"path": "/admin/coordinator/assignments",
|
||||||
"componentPath": "@/views/coordinator/Assignments",
|
"componentPath": "@/views/coordinator/Assignments",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.Coordinator.Assignments"]
|
"authority": [
|
||||||
|
"App.Coordinator.Assignments"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.coordinator.assignmentDetail",
|
"key": "admin.coordinator.assignmentDetail",
|
||||||
"path": "/admin/coordinator/assignment/:id",
|
"path": "/admin/coordinator/assignment/:id",
|
||||||
"componentPath": "@/views/coordinator/ExamInterface/ExamInterface",
|
"componentPath": "@/views/coordinator/ExamInterface/ExamInterface",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.Coordinator.Assignments"]
|
"authority": [
|
||||||
|
"App.Coordinator.Assignments"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.coordinator.tests",
|
"key": "admin.coordinator.tests",
|
||||||
"path": "/admin/coordinator/tests",
|
"path": "/admin/coordinator/tests",
|
||||||
"componentPath": "@/views/coordinator/Tests",
|
"componentPath": "@/views/coordinator/Tests",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.Coordinator.Tests"]
|
"authority": [
|
||||||
|
"App.Coordinator.Tests"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.coordinator.testDetail",
|
"key": "admin.coordinator.testDetail",
|
||||||
"path": "/admin/coordinator/test/:id",
|
"path": "/admin/coordinator/test/:id",
|
||||||
"componentPath": "@/views/coordinator/ExamInterface/PDFTestInterface",
|
"componentPath": "@/views/coordinator/ExamInterface/PDFTestInterface",
|
||||||
"routeType": "protected",
|
"routeType": "protected",
|
||||||
"authority": ["App.Coordinator.Tests"]
|
"authority": [
|
||||||
|
"App.Coordinator.Tests"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"key": "admin.supplychain.requests",
|
"key": "admin.supplychain.requests",
|
||||||
|
|
@ -2566,8 +2630,8 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ParentCode": null,
|
"ParentCode": null,
|
||||||
"Code": "App.Projects",
|
"Code": "App.Project",
|
||||||
"DisplayName": "App.Projects",
|
"DisplayName": "App.Project",
|
||||||
"Order": 1100,
|
"Order": 1100,
|
||||||
"Url": null,
|
"Url": null,
|
||||||
"Icon": "FcTimeline",
|
"Icon": "FcTimeline",
|
||||||
|
|
@ -2575,73 +2639,93 @@
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ParentCode": "App.Projects",
|
"ParentCode": "App.Project",
|
||||||
"Code": "App.Projects.List",
|
"Code": "App.Project.ProjectType",
|
||||||
"DisplayName": "App.Projects.List",
|
"DisplayName": "App.Project.ProjectType",
|
||||||
"Order": 1,
|
"Order": 1,
|
||||||
|
"Url": "/admin/list/App.Project.ProjectType",
|
||||||
|
"Icon": "FcWorkflow",
|
||||||
|
"RequiredPermissionName": "App.Project.ProjectType",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "App.Project",
|
||||||
|
"Code": "App.Project.ProjectStatus",
|
||||||
|
"DisplayName": "App.Project.ProjectStatus",
|
||||||
|
"Order": 2,
|
||||||
|
"Url": "/admin/list/App.Project.ProjectStatus",
|
||||||
|
"Icon": "FcTimeline",
|
||||||
|
"RequiredPermissionName": "App.Project.ProjectStatus",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "App.Project",
|
||||||
|
"Code": "App.Project.Projects",
|
||||||
|
"DisplayName": "App.Project.Projects",
|
||||||
|
"Order": 3,
|
||||||
"Url": "/admin/projects",
|
"Url": "/admin/projects",
|
||||||
"Icon": "FcTodoList",
|
"Icon": "FcTodoList",
|
||||||
"RequiredPermissionName": "App.Projects.List",
|
"RequiredPermissionName": "App.Project.Projects",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ParentCode": "App.Projects",
|
"ParentCode": "App.Project",
|
||||||
"Code": "App.Projects.Tasks",
|
"Code": "App.Project.Phases",
|
||||||
"DisplayName": "App.Projects.Tasks",
|
"DisplayName": "App.Project.Phases",
|
||||||
"Order": 2,
|
"Order": 4,
|
||||||
"Url": "/admin/projects/tasks",
|
|
||||||
"Icon": "FcBullish",
|
|
||||||
"RequiredPermissionName": "App.Projects.Tasks",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "App.Projects",
|
|
||||||
"Code": "App.Projects.Phases",
|
|
||||||
"DisplayName": "App.Projects.Phases",
|
|
||||||
"Order": 3,
|
|
||||||
"Url": "/admin/projects/phases",
|
"Url": "/admin/projects/phases",
|
||||||
"Icon": "FcParallelTasks",
|
"Icon": "FcParallelTasks",
|
||||||
"RequiredPermissionName": "App.Projects.Phases",
|
"RequiredPermissionName": "App.Project.Phases",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ParentCode": "App.Projects",
|
"ParentCode": "App.Project",
|
||||||
"Code": "App.Projects.Activities",
|
"Code": "App.Project.Tasks",
|
||||||
"DisplayName": "App.Projects.Activities",
|
"DisplayName": "App.Project.Tasks",
|
||||||
"Order": 4,
|
"Order": 5,
|
||||||
|
"Url": "/admin/projects/tasks",
|
||||||
|
"Icon": "FcBullish",
|
||||||
|
"RequiredPermissionName": "App.Project.Tasks",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "App.Project",
|
||||||
|
"Code": "App.Project.Activities",
|
||||||
|
"DisplayName": "App.Project.Activities",
|
||||||
|
"Order": 6,
|
||||||
"Url": "/admin/projects/activities",
|
"Url": "/admin/projects/activities",
|
||||||
"Icon": "FcPlanner",
|
"Icon": "FcPlanner",
|
||||||
"RequiredPermissionName": "App.Projects.Activities",
|
"RequiredPermissionName": "App.Project.Activities",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ParentCode": "App.Projects",
|
"ParentCode": "App.Project",
|
||||||
"Code": "App.Projects.Workload",
|
"Code": "App.Project.Workload",
|
||||||
"DisplayName": "App.Projects.Workload",
|
"DisplayName": "App.Project.Workload",
|
||||||
"Order": 5,
|
"Order": 7,
|
||||||
"Url": "/admin/projects/workload",
|
"Url": "/admin/projects/workload",
|
||||||
"Icon": "FcFlowChart",
|
"Icon": "FcFlowChart",
|
||||||
"RequiredPermissionName": "App.Projects.Workload",
|
"RequiredPermissionName": "App.Project.Workload",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ParentCode": "App.Projects",
|
"ParentCode": "App.Project",
|
||||||
"Code": "App.Projects.CostTracking",
|
"Code": "App.Project.CostTracking",
|
||||||
"DisplayName": "App.Projects.CostTracking",
|
"DisplayName": "App.Project.CostTracking",
|
||||||
"Order": 6,
|
"Order": 8,
|
||||||
"Url": "/admin/projects/cost-tracking",
|
"Url": "/admin/projects/cost-tracking",
|
||||||
"Icon": "FcMoneyTransfer",
|
"Icon": "FcMoneyTransfer",
|
||||||
"RequiredPermissionName": "App.Projects.CostTracking",
|
"RequiredPermissionName": "App.Project.CostTracking",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ParentCode": "App.Projects",
|
"ParentCode": "App.Project",
|
||||||
"Code": "App.Projects.DailyUpdates",
|
"Code": "App.Project.DailyUpdates",
|
||||||
"DisplayName": "App.Projects.DailyUpdates",
|
"DisplayName": "App.Project.DailyUpdates",
|
||||||
"Order": 7,
|
"Order": 9,
|
||||||
"Url": "/admin/projects/daily-updates",
|
"Url": "/admin/projects/daily-updates",
|
||||||
"Icon": "FcConferenceCall",
|
"Icon": "FcConferenceCall",
|
||||||
"RequiredPermissionName": "App.Projects.DailyUpdates",
|
"RequiredPermissionName": "App.Project.DailyUpdates",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -2995,4 +3079,4 @@
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -41,8 +41,8 @@
|
||||||
"DisplayName": "App.Store"
|
"DisplayName": "App.Store"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "App.Projects",
|
"Name": "App.Project",
|
||||||
"DisplayName": "App.Projects"
|
"DisplayName": "App.Project"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "App.Hr",
|
"Name": "App.Hr",
|
||||||
|
|
@ -7636,7 +7636,6 @@
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"GroupName": "App.Store",
|
"GroupName": "App.Store",
|
||||||
"Name": "App.Store.PutawayCondition",
|
"Name": "App.Store.PutawayCondition",
|
||||||
|
|
@ -7700,7 +7699,6 @@
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"GroupName": "App.Store",
|
"GroupName": "App.Store",
|
||||||
"Name": "App.Store.Receipt",
|
"Name": "App.Store.Receipt",
|
||||||
|
|
@ -8017,450 +8015,576 @@
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.List",
|
"Name": "App.Project.ProjectType",
|
||||||
"ParentName": null,
|
"ParentName": null,
|
||||||
"DisplayName": "App.Projects.List",
|
"DisplayName": "App.Project.ProjectType",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.List.Create",
|
"Name": "App.Project.ProjectType.Create",
|
||||||
"ParentName": "App.Projects.List",
|
"ParentName": "App.Project.ProjectType",
|
||||||
"DisplayName": "Create",
|
"DisplayName": "Create",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.List.Update",
|
"Name": "App.Project.ProjectType.Update",
|
||||||
"ParentName": "App.Projects.List",
|
"ParentName": "App.Project.ProjectType",
|
||||||
"DisplayName": "Update",
|
"DisplayName": "Update",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.List.Delete",
|
"Name": "App.Project.ProjectType.Delete",
|
||||||
"ParentName": "App.Projects.List",
|
"ParentName": "App.Project.ProjectType",
|
||||||
"DisplayName": "Delete",
|
"DisplayName": "Delete",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.List.Export",
|
"Name": "App.Project.ProjectType.Export",
|
||||||
"ParentName": "App.Projects.List",
|
"ParentName": "App.Project.ProjectType",
|
||||||
"DisplayName": "Export",
|
"DisplayName": "Export",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.List.Import",
|
"Name": "App.Project.ProjectType.Import",
|
||||||
"ParentName": "App.Projects.List",
|
"ParentName": "App.Project.ProjectType",
|
||||||
"DisplayName": "Import",
|
"DisplayName": "Import",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.List.Note",
|
"Name": "App.Project.ProjectType.Note",
|
||||||
"ParentName": "App.Projects.List",
|
"ParentName": "App.Project.ProjectType",
|
||||||
"DisplayName": "Note",
|
"DisplayName": "Note",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Tasks",
|
"Name": "App.Project.ProjectStatus",
|
||||||
"ParentName": null,
|
"ParentName": null,
|
||||||
"DisplayName": "App.Projects.Tasks",
|
"DisplayName": "App.Project.ProjectStatus",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Tasks.Create",
|
"Name": "App.Project.ProjectStatus.Create",
|
||||||
"ParentName": "App.Projects.Tasks",
|
"ParentName": "App.Project.ProjectStatus",
|
||||||
"DisplayName": "Create",
|
"DisplayName": "Create",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Tasks.Update",
|
"Name": "App.Project.ProjectStatus.Update",
|
||||||
"ParentName": "App.Projects.Tasks",
|
"ParentName": "App.Project.ProjectStatus",
|
||||||
"DisplayName": "Update",
|
"DisplayName": "Update",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Tasks.Delete",
|
"Name": "App.Project.ProjectStatus.Delete",
|
||||||
"ParentName": "App.Projects.Tasks",
|
"ParentName": "App.Project.ProjectStatus",
|
||||||
"DisplayName": "Delete",
|
"DisplayName": "Delete",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Tasks.Export",
|
"Name": "App.Project.ProjectStatus.Export",
|
||||||
"ParentName": "App.Projects.Tasks",
|
"ParentName": "App.Project.ProjectStatus",
|
||||||
"DisplayName": "Export",
|
"DisplayName": "Export",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Tasks.Import",
|
"Name": "App.Project.ProjectStatus.Import",
|
||||||
"ParentName": "App.Projects.Tasks",
|
"ParentName": "App.Project.ProjectStatus",
|
||||||
"DisplayName": "Import",
|
"DisplayName": "Import",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Tasks.Note",
|
"Name": "App.Project.ProjectStatus.Note",
|
||||||
"ParentName": "App.Projects.Tasks",
|
"ParentName": "App.Project.ProjectStatus",
|
||||||
"DisplayName": "Note",
|
"DisplayName": "Note",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Tasks.Widget",
|
"Name": "App.Project.Projects",
|
||||||
"ParentName": "App.Projects.Tasks",
|
"ParentName": null,
|
||||||
|
"DisplayName": "App.Project.Projects",
|
||||||
|
"IsEnabled": true,
|
||||||
|
"MultiTenancySide": 3,
|
||||||
|
"MenuGroup": "Erp"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"GroupName": "App.Project",
|
||||||
|
"Name": "App.Project.Projects.Create",
|
||||||
|
"ParentName": "App.Project.Projects",
|
||||||
|
"DisplayName": "Create",
|
||||||
|
"IsEnabled": true,
|
||||||
|
"MultiTenancySide": 3,
|
||||||
|
"MenuGroup": "Erp"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"GroupName": "App.Project",
|
||||||
|
"Name": "App.Project.Projects.Update",
|
||||||
|
"ParentName": "App.Project.Projects",
|
||||||
|
"DisplayName": "Update",
|
||||||
|
"IsEnabled": true,
|
||||||
|
"MultiTenancySide": 3,
|
||||||
|
"MenuGroup": "Erp"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"GroupName": "App.Project",
|
||||||
|
"Name": "App.Project.Projects.Delete",
|
||||||
|
"ParentName": "App.Project.Projects",
|
||||||
|
"DisplayName": "Delete",
|
||||||
|
"IsEnabled": true,
|
||||||
|
"MultiTenancySide": 3,
|
||||||
|
"MenuGroup": "Erp"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"GroupName": "App.Project",
|
||||||
|
"Name": "App.Project.Projects.Export",
|
||||||
|
"ParentName": "App.Project.Projects",
|
||||||
|
"DisplayName": "Export",
|
||||||
|
"IsEnabled": true,
|
||||||
|
"MultiTenancySide": 3,
|
||||||
|
"MenuGroup": "Erp"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"GroupName": "App.Project",
|
||||||
|
"Name": "App.Project.Projects.Import",
|
||||||
|
"ParentName": "App.Project.Projects",
|
||||||
|
"DisplayName": "Import",
|
||||||
|
"IsEnabled": true,
|
||||||
|
"MultiTenancySide": 3,
|
||||||
|
"MenuGroup": "Erp"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"GroupName": "App.Project",
|
||||||
|
"Name": "App.Project.Projects.Note",
|
||||||
|
"ParentName": "App.Project.Projects",
|
||||||
|
"DisplayName": "Note",
|
||||||
|
"IsEnabled": true,
|
||||||
|
"MultiTenancySide": 3,
|
||||||
|
"MenuGroup": "Erp"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"GroupName": "App.Project",
|
||||||
|
"Name": "App.Project.Tasks",
|
||||||
|
"ParentName": null,
|
||||||
|
"DisplayName": "App.Project.Tasks",
|
||||||
|
"IsEnabled": true,
|
||||||
|
"MultiTenancySide": 3,
|
||||||
|
"MenuGroup": "Erp"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"GroupName": "App.Project",
|
||||||
|
"Name": "App.Project.Tasks.Create",
|
||||||
|
"ParentName": "App.Project.Tasks",
|
||||||
|
"DisplayName": "Create",
|
||||||
|
"IsEnabled": true,
|
||||||
|
"MultiTenancySide": 3,
|
||||||
|
"MenuGroup": "Erp"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"GroupName": "App.Project",
|
||||||
|
"Name": "App.Project.Tasks.Update",
|
||||||
|
"ParentName": "App.Project.Tasks",
|
||||||
|
"DisplayName": "Update",
|
||||||
|
"IsEnabled": true,
|
||||||
|
"MultiTenancySide": 3,
|
||||||
|
"MenuGroup": "Erp"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"GroupName": "App.Project",
|
||||||
|
"Name": "App.Project.Tasks.Delete",
|
||||||
|
"ParentName": "App.Project.Tasks",
|
||||||
|
"DisplayName": "Delete",
|
||||||
|
"IsEnabled": true,
|
||||||
|
"MultiTenancySide": 3,
|
||||||
|
"MenuGroup": "Erp"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"GroupName": "App.Project",
|
||||||
|
"Name": "App.Project.Tasks.Export",
|
||||||
|
"ParentName": "App.Project.Tasks",
|
||||||
|
"DisplayName": "Export",
|
||||||
|
"IsEnabled": true,
|
||||||
|
"MultiTenancySide": 3,
|
||||||
|
"MenuGroup": "Erp"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"GroupName": "App.Project",
|
||||||
|
"Name": "App.Project.Tasks.Import",
|
||||||
|
"ParentName": "App.Project.Tasks",
|
||||||
|
"DisplayName": "Import",
|
||||||
|
"IsEnabled": true,
|
||||||
|
"MultiTenancySide": 3,
|
||||||
|
"MenuGroup": "Erp"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"GroupName": "App.Project",
|
||||||
|
"Name": "App.Project.Tasks.Note",
|
||||||
|
"ParentName": "App.Project.Tasks",
|
||||||
|
"DisplayName": "Note",
|
||||||
|
"IsEnabled": true,
|
||||||
|
"MultiTenancySide": 3,
|
||||||
|
"MenuGroup": "Erp"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"GroupName": "App.Project",
|
||||||
|
"Name": "App.Project.Tasks.Widget",
|
||||||
|
"ParentName": "App.Project.Tasks",
|
||||||
"DisplayName": "Widget",
|
"DisplayName": "Widget",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Phases",
|
"Name": "App.Project.Phases",
|
||||||
"ParentName": null,
|
"ParentName": null,
|
||||||
"DisplayName": "App.Projects.Phases",
|
"DisplayName": "App.Project.Phases",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Phases.Create",
|
"Name": "App.Project.Phases.Create",
|
||||||
"ParentName": "App.Projects.Phases",
|
"ParentName": "App.Project.Phases",
|
||||||
"DisplayName": "Create",
|
"DisplayName": "Create",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Phases.Update",
|
"Name": "App.Project.Phases.Update",
|
||||||
"ParentName": "App.Projects.Phases",
|
"ParentName": "App.Project.Phases",
|
||||||
"DisplayName": "Update",
|
"DisplayName": "Update",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Phases.Delete",
|
"Name": "App.Project.Phases.Delete",
|
||||||
"ParentName": "App.Projects.Phases",
|
"ParentName": "App.Project.Phases",
|
||||||
"DisplayName": "Delete",
|
"DisplayName": "Delete",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Phases.Export",
|
"Name": "App.Project.Phases.Export",
|
||||||
"ParentName": "App.Projects.Phases",
|
"ParentName": "App.Project.Phases",
|
||||||
"DisplayName": "Export",
|
"DisplayName": "Export",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Phases.Import",
|
"Name": "App.Project.Phases.Import",
|
||||||
"ParentName": "App.Projects.Phases",
|
"ParentName": "App.Project.Phases",
|
||||||
"DisplayName": "Import",
|
"DisplayName": "Import",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Phases.Note",
|
"Name": "App.Project.Phases.Note",
|
||||||
"ParentName": "App.Projects.Phases",
|
"ParentName": "App.Project.Phases",
|
||||||
"DisplayName": "Note",
|
"DisplayName": "Note",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Activities",
|
"Name": "App.Project.Activities",
|
||||||
"ParentName": null,
|
"ParentName": null,
|
||||||
"DisplayName": "App.Projects.Activities",
|
"DisplayName": "App.Project.Activities",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Activities.Create",
|
"Name": "App.Project.Activities.Create",
|
||||||
"ParentName": "App.Projects.Activities",
|
"ParentName": "App.Project.Activities",
|
||||||
"DisplayName": "Create",
|
"DisplayName": "Create",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Activities.Update",
|
"Name": "App.Project.Activities.Update",
|
||||||
"ParentName": "App.Projects.Activities",
|
"ParentName": "App.Project.Activities",
|
||||||
"DisplayName": "Update",
|
"DisplayName": "Update",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Activities.Delete",
|
"Name": "App.Project.Activities.Delete",
|
||||||
"ParentName": "App.Projects.Activities",
|
"ParentName": "App.Project.Activities",
|
||||||
"DisplayName": "Delete",
|
"DisplayName": "Delete",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Activities.Export",
|
"Name": "App.Project.Activities.Export",
|
||||||
"ParentName": "App.Projects.Activities",
|
"ParentName": "App.Project.Activities",
|
||||||
"DisplayName": "Export",
|
"DisplayName": "Export",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Activities.Import",
|
"Name": "App.Project.Activities.Import",
|
||||||
"ParentName": "App.Projects.Activities",
|
"ParentName": "App.Project.Activities",
|
||||||
"DisplayName": "Import",
|
"DisplayName": "Import",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Activities.Note",
|
"Name": "App.Project.Activities.Note",
|
||||||
"ParentName": "App.Projects.Activities",
|
"ParentName": "App.Project.Activities",
|
||||||
"DisplayName": "Note",
|
"DisplayName": "Note",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Workload",
|
"Name": "App.Project.Workload",
|
||||||
"ParentName": null,
|
"ParentName": null,
|
||||||
"DisplayName": "App.Projects.Workload",
|
"DisplayName": "App.Project.Workload",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Workload.Create",
|
"Name": "App.Project.Workload.Create",
|
||||||
"ParentName": "App.Projects.Workload",
|
"ParentName": "App.Project.Workload",
|
||||||
"DisplayName": "Create",
|
"DisplayName": "Create",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Workload.Update",
|
"Name": "App.Project.Workload.Update",
|
||||||
"ParentName": "App.Projects.Workload",
|
"ParentName": "App.Project.Workload",
|
||||||
"DisplayName": "Update",
|
"DisplayName": "Update",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Workload.Delete",
|
"Name": "App.Project.Workload.Delete",
|
||||||
"ParentName": "App.Projects.Workload",
|
"ParentName": "App.Project.Workload",
|
||||||
"DisplayName": "Delete",
|
"DisplayName": "Delete",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Workload.Export",
|
"Name": "App.Project.Workload.Export",
|
||||||
"ParentName": "App.Projects.Workload",
|
"ParentName": "App.Project.Workload",
|
||||||
"DisplayName": "Export",
|
"DisplayName": "Export",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Workload.Import",
|
"Name": "App.Project.Workload.Import",
|
||||||
"ParentName": "App.Projects.Workload",
|
"ParentName": "App.Project.Workload",
|
||||||
"DisplayName": "Import",
|
"DisplayName": "Import",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.Workload.Note",
|
"Name": "App.Project.Workload.Note",
|
||||||
"ParentName": "App.Projects.Workload",
|
"ParentName": "App.Project.Workload",
|
||||||
"DisplayName": "Note",
|
"DisplayName": "Note",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.CostTracking",
|
"Name": "App.Project.CostTracking",
|
||||||
"ParentName": null,
|
"ParentName": null,
|
||||||
"DisplayName": "App.Projects.CostTracking",
|
"DisplayName": "App.Project.CostTracking",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.CostTracking.Create",
|
"Name": "App.Project.CostTracking.Create",
|
||||||
"ParentName": "App.Projects.CostTracking",
|
"ParentName": "App.Project.CostTracking",
|
||||||
"DisplayName": "Create",
|
"DisplayName": "Create",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.CostTracking.Update",
|
"Name": "App.Project.CostTracking.Update",
|
||||||
"ParentName": "App.Projects.CostTracking",
|
"ParentName": "App.Project.CostTracking",
|
||||||
"DisplayName": "Update",
|
"DisplayName": "Update",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.CostTracking.Delete",
|
"Name": "App.Project.CostTracking.Delete",
|
||||||
"ParentName": "App.Projects.CostTracking",
|
"ParentName": "App.Project.CostTracking",
|
||||||
"DisplayName": "Delete",
|
"DisplayName": "Delete",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.CostTracking.Export",
|
"Name": "App.Project.CostTracking.Export",
|
||||||
"ParentName": "App.Projects.CostTracking",
|
"ParentName": "App.Project.CostTracking",
|
||||||
"DisplayName": "Export",
|
"DisplayName": "Export",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.CostTracking.Import",
|
"Name": "App.Project.CostTracking.Import",
|
||||||
"ParentName": "App.Projects.CostTracking",
|
"ParentName": "App.Project.CostTracking",
|
||||||
"DisplayName": "Import",
|
"DisplayName": "Import",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.CostTracking.Note",
|
"Name": "App.Project.CostTracking.Note",
|
||||||
"ParentName": "App.Projects.CostTracking",
|
"ParentName": "App.Project.CostTracking",
|
||||||
"DisplayName": "Note",
|
"DisplayName": "Note",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.DailyUpdates",
|
"Name": "App.Project.DailyUpdates",
|
||||||
"ParentName": null,
|
"ParentName": null,
|
||||||
"DisplayName": "App.Projects.DailyUpdates",
|
"DisplayName": "App.Project.DailyUpdates",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.DailyUpdates.Create",
|
"Name": "App.Project.DailyUpdates.Create",
|
||||||
"ParentName": "App.Projects.DailyUpdates",
|
"ParentName": "App.Project.DailyUpdates",
|
||||||
"DisplayName": "Create",
|
"DisplayName": "Create",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.DailyUpdates.Update",
|
"Name": "App.Project.DailyUpdates.Update",
|
||||||
"ParentName": "App.Projects.DailyUpdates",
|
"ParentName": "App.Project.DailyUpdates",
|
||||||
"DisplayName": "Update",
|
"DisplayName": "Update",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.DailyUpdates.Delete",
|
"Name": "App.Project.DailyUpdates.Delete",
|
||||||
"ParentName": "App.Projects.DailyUpdates",
|
"ParentName": "App.Project.DailyUpdates",
|
||||||
"DisplayName": "Delete",
|
"DisplayName": "Delete",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.DailyUpdates.Export",
|
"Name": "App.Project.DailyUpdates.Export",
|
||||||
"ParentName": "App.Projects.DailyUpdates",
|
"ParentName": "App.Project.DailyUpdates",
|
||||||
"DisplayName": "Export",
|
"DisplayName": "Export",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.DailyUpdates.Import",
|
"Name": "App.Project.DailyUpdates.Import",
|
||||||
"ParentName": "App.Projects.DailyUpdates",
|
"ParentName": "App.Project.DailyUpdates",
|
||||||
"DisplayName": "Import",
|
"DisplayName": "Import",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"GroupName": "App.Projects",
|
"GroupName": "App.Project",
|
||||||
"Name": "App.Projects.DailyUpdates.Note",
|
"Name": "App.Project.DailyUpdates.Note",
|
||||||
"ParentName": "App.Projects.DailyUpdates",
|
"ParentName": "App.Project.DailyUpdates",
|
||||||
"DisplayName": "Note",
|
"DisplayName": "Note",
|
||||||
"IsEnabled": true,
|
"IsEnabled": true,
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
|
|
@ -10914,7 +11038,6 @@
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"GroupName": "App.Mrp",
|
"GroupName": "App.Mrp",
|
||||||
"Name": "App.Mrp.OperationCategory",
|
"Name": "App.Mrp.OperationCategory",
|
||||||
|
|
@ -10978,7 +11101,6 @@
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"GroupName": "App.Mrp",
|
"GroupName": "App.Mrp",
|
||||||
"Name": "App.Mrp.OperationType",
|
"Name": "App.Mrp.OperationType",
|
||||||
|
|
@ -11042,7 +11164,6 @@
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"GroupName": "App.Mrp",
|
"GroupName": "App.Mrp",
|
||||||
"Name": "App.Mrp.WorkcenterType",
|
"Name": "App.Mrp.WorkcenterType",
|
||||||
|
|
@ -11106,7 +11227,6 @@
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"GroupName": "App.Mrp",
|
"GroupName": "App.Mrp",
|
||||||
"Name": "App.Mrp.WorkcenterStatus",
|
"Name": "App.Mrp.WorkcenterStatus",
|
||||||
|
|
@ -11170,7 +11290,6 @@
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"GroupName": "App.Mrp",
|
"GroupName": "App.Mrp",
|
||||||
"Name": "App.Mrp.Workcenter",
|
"Name": "App.Mrp.Workcenter",
|
||||||
|
|
@ -11360,7 +11479,6 @@
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"GroupName": "App.Mrp",
|
"GroupName": "App.Mrp",
|
||||||
"Name": "App.Mrp.BomOperation",
|
"Name": "App.Mrp.BomOperation",
|
||||||
|
|
@ -11424,7 +11542,6 @@
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"GroupName": "App.Mrp",
|
"GroupName": "App.Mrp",
|
||||||
"Name": "App.Mrp.BomComponent",
|
"Name": "App.Mrp.BomComponent",
|
||||||
|
|
@ -11488,7 +11605,6 @@
|
||||||
"MultiTenancySide": 3,
|
"MultiTenancySide": 3,
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"GroupName": "App.Mrp",
|
"GroupName": "App.Mrp",
|
||||||
"Name": "App.Mrp.ProductionOrder",
|
"Name": "App.Mrp.ProductionOrder",
|
||||||
|
|
@ -12435,4 +12551,4 @@
|
||||||
"MenuGroup": "Erp"
|
"MenuGroup": "Erp"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -187,5 +187,8 @@ public enum TableNameEnum
|
||||||
BomType,
|
BomType,
|
||||||
Bom,
|
Bom,
|
||||||
BomOperation,
|
BomOperation,
|
||||||
BomComponent
|
BomComponent,
|
||||||
|
Project,
|
||||||
|
ProjectType,
|
||||||
|
ProjectStatus
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -225,6 +225,11 @@ public static class TableNameResolver
|
||||||
{ nameof(TableNameEnum.Bom), (TablePrefix.TenantByName, MenuPrefix.Mrp) },
|
{ nameof(TableNameEnum.Bom), (TablePrefix.TenantByName, MenuPrefix.Mrp) },
|
||||||
{ nameof(TableNameEnum.BomOperation), (TablePrefix.TenantByName, MenuPrefix.Mrp) },
|
{ nameof(TableNameEnum.BomOperation), (TablePrefix.TenantByName, MenuPrefix.Mrp) },
|
||||||
{ nameof(TableNameEnum.BomComponent), (TablePrefix.TenantByName, MenuPrefix.Mrp) },
|
{ nameof(TableNameEnum.BomComponent), (TablePrefix.TenantByName, MenuPrefix.Mrp) },
|
||||||
|
|
||||||
|
// 🔹 R&D
|
||||||
|
{ nameof(TableNameEnum.ProjectType), (TablePrefix.TenantByName, MenuPrefix.Project) },
|
||||||
|
{ nameof(TableNameEnum.ProjectStatus), (TablePrefix.TenantByName, MenuPrefix.Project) },
|
||||||
|
{ nameof(TableNameEnum.Project), (TablePrefix.TenantByName, MenuPrefix.Project) },
|
||||||
};
|
};
|
||||||
|
|
||||||
public static string GetFullTableName(string tableName)
|
public static string GetFullTableName(string tableName)
|
||||||
|
|
|
||||||
|
|
@ -559,6 +559,14 @@ public static class SeedConsts
|
||||||
public const string PutawayCondition = Default + ".PutawayCondition";
|
public const string PutawayCondition = Default + ".PutawayCondition";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static class Project
|
||||||
|
{
|
||||||
|
public const string Default = Prefix.App + ".Project";
|
||||||
|
public const string ProjectType = Default + ".ProjectType";
|
||||||
|
public const string ProjectStatus = Default + ".ProjectStatus";
|
||||||
|
public const string Projects = Default + ".Project";
|
||||||
|
}
|
||||||
|
|
||||||
public static class Mrp
|
public static class Mrp
|
||||||
{
|
{
|
||||||
public const string Default = Prefix.App + ".Mrp";
|
public const string Default = Prefix.App + ".Mrp";
|
||||||
|
|
|
||||||
42
api/src/Erp.Platform.Domain/Entities/Tenant/RD/Project.cs
Normal file
42
api/src/Erp.Platform.Domain/Entities/Tenant/RD/Project.cs
Normal file
|
|
@ -0,0 +1,42 @@
|
||||||
|
// Domain/Entities/PsProject.cs
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using Volo.Abp.Domain.Entities.Auditing;
|
||||||
|
using Volo.Abp.MultiTenancy;
|
||||||
|
|
||||||
|
namespace Erp.Platform.Entities;
|
||||||
|
|
||||||
|
public class Project : FullAuditedEntity<Guid>, IMultiTenant
|
||||||
|
{
|
||||||
|
public Guid? TenantId { get; set; }
|
||||||
|
|
||||||
|
public string Code { get; set; }
|
||||||
|
public string Name { get; set; }
|
||||||
|
public string Description { get; set; }
|
||||||
|
|
||||||
|
public Guid? ProjectTypeId { get; set; } //Dahili, Müşteri, Araştırma, Bakım, Geliştirme
|
||||||
|
public ProjectType ProjectType { get; set; }
|
||||||
|
public Guid? StatusId { get; set; } //Planlanıyor, Devam Ediyor, Tamamlandı, Beklemede, İptal Edildi
|
||||||
|
public ProjectStatus Status { get; set; }
|
||||||
|
public string Priority { get; set; } //Düşük, Orta, Yüksek, Kritik, Acil
|
||||||
|
public Guid ManagerId { get; set; }
|
||||||
|
|
||||||
|
public DateTime StartDate { get; set; }
|
||||||
|
public DateTime EndDate { get; set; }
|
||||||
|
public DateTime? ActualStartDate { get; set; }
|
||||||
|
public DateTime? ActualEndDate { get; set; }
|
||||||
|
|
||||||
|
public Guid? CustomerId { get; set; }
|
||||||
|
|
||||||
|
public decimal Budget { get; set; }
|
||||||
|
public decimal ActualCost { get; set; }
|
||||||
|
public string Currency { get; set; }
|
||||||
|
public int Progress { get; set; }
|
||||||
|
|
||||||
|
public bool IsActive { get; set; }
|
||||||
|
|
||||||
|
// public ICollection<ProjectPhase> Phases { get; set; }
|
||||||
|
// public ICollection<ProjectTask> Tasks { get; set; }
|
||||||
|
// public ICollection<ProjectRisk> Risks { get; set; }
|
||||||
|
// public ICollection<ProjectDocument> Documents { get; set; }
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using Volo.Abp.Domain.Entities.Auditing;
|
||||||
|
using Volo.Abp.MultiTenancy;
|
||||||
|
|
||||||
|
namespace Erp.Platform.Entities;
|
||||||
|
|
||||||
|
public class ProjectStatus : FullAuditedEntity<Guid>, IMultiTenant
|
||||||
|
{
|
||||||
|
public Guid? TenantId { get; set; }
|
||||||
|
|
||||||
|
public string Name { get; set; }
|
||||||
|
public string Description { get; set; }
|
||||||
|
public bool IsActive { get; set; }
|
||||||
|
|
||||||
|
public ICollection<Project> Projects { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using Volo.Abp.Domain.Entities.Auditing;
|
||||||
|
using Volo.Abp.MultiTenancy;
|
||||||
|
|
||||||
|
namespace Erp.Platform.Entities;
|
||||||
|
|
||||||
|
public class ProjectType : FullAuditedEntity<Guid>, IMultiTenant
|
||||||
|
{
|
||||||
|
public Guid? TenantId { get; set; }
|
||||||
|
|
||||||
|
public string Name { get; set; }
|
||||||
|
public string Description { get; set; }
|
||||||
|
public bool IsActive { get; set; }
|
||||||
|
|
||||||
|
public ICollection<Project> Projects { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -267,6 +267,12 @@ public class PlatformDbContext :
|
||||||
public DbSet<BomComponent> BomComponents { get; set; }
|
public DbSet<BomComponent> BomComponents { get; set; }
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region Rd
|
||||||
|
public DbSet<ProjectType> ProjectTypes { get; set; }
|
||||||
|
public DbSet<ProjectStatus> ProjectStatuses { get; set; }
|
||||||
|
public DbSet<Project> Projects { get; set; }
|
||||||
|
#endregion
|
||||||
|
|
||||||
public PlatformDbContext(DbContextOptions<PlatformDbContext> options)
|
public PlatformDbContext(DbContextOptions<PlatformDbContext> options)
|
||||||
: base(options)
|
: base(options)
|
||||||
{
|
{
|
||||||
|
|
@ -3199,5 +3205,56 @@ public class PlatformDbContext :
|
||||||
b.Property(x => x.Description).HasMaxLength(500);
|
b.Property(x => x.Description).HasMaxLength(500);
|
||||||
b.Property(x => x.IsActive).HasDefaultValue(true);
|
b.Property(x => x.IsActive).HasDefaultValue(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
builder.Entity<ProjectType>(b =>
|
||||||
|
{
|
||||||
|
b.ToTable(TableNameResolver.GetFullTableName(nameof(TableNameEnum.ProjectType)), Prefix.DbSchema);
|
||||||
|
b.ConfigureByConvention();
|
||||||
|
|
||||||
|
b.Property(x => x.Name).IsRequired().HasMaxLength(50);
|
||||||
|
b.Property(x => x.Description).HasMaxLength(500);
|
||||||
|
b.Property(x => x.IsActive).HasDefaultValue(true);
|
||||||
|
});
|
||||||
|
|
||||||
|
builder.Entity<ProjectStatus>(b =>
|
||||||
|
{
|
||||||
|
b.ToTable(TableNameResolver.GetFullTableName(nameof(TableNameEnum.ProjectStatus)), Prefix.DbSchema);
|
||||||
|
b.ConfigureByConvention();
|
||||||
|
|
||||||
|
b.Property(x => x.Name).IsRequired().HasMaxLength(50);
|
||||||
|
b.Property(x => x.Description).HasMaxLength(500);
|
||||||
|
b.Property(x => x.IsActive).HasDefaultValue(true);
|
||||||
|
});
|
||||||
|
|
||||||
|
builder.Entity<Project>(b =>
|
||||||
|
{
|
||||||
|
b.ToTable(TableNameResolver.GetFullTableName(nameof(TableNameEnum.Project)), Prefix.DbSchema);
|
||||||
|
b.ConfigureByConvention();
|
||||||
|
|
||||||
|
b.Property(x => x.Code).IsRequired().HasMaxLength(100);
|
||||||
|
b.Property(x => x.Name).IsRequired().HasMaxLength(200);
|
||||||
|
b.Property(x => x.Description).HasMaxLength(500);
|
||||||
|
|
||||||
|
b.Property(x => x.ProjectTypeId).IsRequired();
|
||||||
|
b.Property(x => x.StatusId).IsRequired();
|
||||||
|
b.Property(x => x.Priority).IsRequired().HasMaxLength(50);
|
||||||
|
|
||||||
|
b.Property(x => x.Currency).HasMaxLength(10);
|
||||||
|
b.Property(x => x.Budget).HasPrecision(18, 2).HasDefaultValue(0);
|
||||||
|
b.Property(x => x.ActualCost).HasPrecision(18, 2).HasDefaultValue(0);
|
||||||
|
b.Property(x => x.Progress).HasDefaultValue(0);
|
||||||
|
|
||||||
|
b.Property(x => x.IsActive).HasDefaultValue(true);
|
||||||
|
|
||||||
|
b.HasOne(x => x.ProjectType)
|
||||||
|
.WithMany(x => x.Projects)
|
||||||
|
.HasForeignKey(x => x.ProjectTypeId)
|
||||||
|
.OnDelete(DeleteBehavior.Restrict);
|
||||||
|
|
||||||
|
b.HasOne(x => x.Status)
|
||||||
|
.WithMany(x => x.Projects)
|
||||||
|
.HasForeignKey(x => x.StatusId)
|
||||||
|
.OnDelete(DeleteBehavior.Restrict);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
|
||||||
namespace Erp.Platform.Migrations
|
namespace Erp.Platform.Migrations
|
||||||
{
|
{
|
||||||
[DbContext(typeof(PlatformDbContext))]
|
[DbContext(typeof(PlatformDbContext))]
|
||||||
[Migration("20251126193252_Initial")]
|
[Migration("20251126210300_Initial")]
|
||||||
partial class Initial
|
partial class Initial
|
||||||
{
|
{
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
|
|
@ -9750,6 +9750,239 @@ namespace Erp.Platform.Migrations
|
||||||
b.ToTable("Crd_T_Program", (string)null);
|
b.ToTable("Crd_T_Program", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
modelBuilder.Entity("Erp.Platform.Entities.Project", b =>
|
||||||
|
{
|
||||||
|
b.Property<Guid>("Id")
|
||||||
|
.HasColumnType("uniqueidentifier");
|
||||||
|
|
||||||
|
b.Property<decimal>("ActualCost")
|
||||||
|
.ValueGeneratedOnAdd()
|
||||||
|
.HasPrecision(18, 2)
|
||||||
|
.HasColumnType("decimal(18,2)")
|
||||||
|
.HasDefaultValue(0m);
|
||||||
|
|
||||||
|
b.Property<DateTime?>("ActualEndDate")
|
||||||
|
.HasColumnType("datetime2");
|
||||||
|
|
||||||
|
b.Property<DateTime?>("ActualStartDate")
|
||||||
|
.HasColumnType("datetime2");
|
||||||
|
|
||||||
|
b.Property<decimal>("Budget")
|
||||||
|
.ValueGeneratedOnAdd()
|
||||||
|
.HasPrecision(18, 2)
|
||||||
|
.HasColumnType("decimal(18,2)")
|
||||||
|
.HasDefaultValue(0m);
|
||||||
|
|
||||||
|
b.Property<string>("Code")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(100)
|
||||||
|
.HasColumnType("nvarchar(100)");
|
||||||
|
|
||||||
|
b.Property<DateTime>("CreationTime")
|
||||||
|
.HasColumnType("datetime2")
|
||||||
|
.HasColumnName("CreationTime");
|
||||||
|
|
||||||
|
b.Property<Guid?>("CreatorId")
|
||||||
|
.HasColumnType("uniqueidentifier")
|
||||||
|
.HasColumnName("CreatorId");
|
||||||
|
|
||||||
|
b.Property<string>("Currency")
|
||||||
|
.HasMaxLength(10)
|
||||||
|
.HasColumnType("nvarchar(10)");
|
||||||
|
|
||||||
|
b.Property<Guid?>("CustomerId")
|
||||||
|
.HasColumnType("uniqueidentifier");
|
||||||
|
|
||||||
|
b.Property<Guid?>("DeleterId")
|
||||||
|
.HasColumnType("uniqueidentifier")
|
||||||
|
.HasColumnName("DeleterId");
|
||||||
|
|
||||||
|
b.Property<DateTime?>("DeletionTime")
|
||||||
|
.HasColumnType("datetime2")
|
||||||
|
.HasColumnName("DeletionTime");
|
||||||
|
|
||||||
|
b.Property<string>("Description")
|
||||||
|
.HasMaxLength(500)
|
||||||
|
.HasColumnType("nvarchar(500)");
|
||||||
|
|
||||||
|
b.Property<DateTime>("EndDate")
|
||||||
|
.HasColumnType("datetime2");
|
||||||
|
|
||||||
|
b.Property<bool>("IsActive")
|
||||||
|
.ValueGeneratedOnAdd()
|
||||||
|
.HasColumnType("bit")
|
||||||
|
.HasDefaultValue(true);
|
||||||
|
|
||||||
|
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<Guid>("ManagerId")
|
||||||
|
.HasColumnType("uniqueidentifier");
|
||||||
|
|
||||||
|
b.Property<string>("Name")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(200)
|
||||||
|
.HasColumnType("nvarchar(200)");
|
||||||
|
|
||||||
|
b.Property<string>("Priority")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(50)
|
||||||
|
.HasColumnType("nvarchar(50)");
|
||||||
|
|
||||||
|
b.Property<int>("Progress")
|
||||||
|
.ValueGeneratedOnAdd()
|
||||||
|
.HasColumnType("int")
|
||||||
|
.HasDefaultValue(0);
|
||||||
|
|
||||||
|
b.Property<Guid>("ProjectTypeId")
|
||||||
|
.HasColumnType("uniqueidentifier");
|
||||||
|
|
||||||
|
b.Property<DateTime>("StartDate")
|
||||||
|
.HasColumnType("datetime2");
|
||||||
|
|
||||||
|
b.Property<Guid>("StatusId")
|
||||||
|
.HasColumnType("uniqueidentifier");
|
||||||
|
|
||||||
|
b.Property<Guid?>("TenantId")
|
||||||
|
.HasColumnType("uniqueidentifier")
|
||||||
|
.HasColumnName("TenantId");
|
||||||
|
|
||||||
|
b.HasKey("Id");
|
||||||
|
|
||||||
|
b.HasIndex("ProjectTypeId");
|
||||||
|
|
||||||
|
b.HasIndex("StatusId");
|
||||||
|
|
||||||
|
b.ToTable("Prj_T_Project", (string)null);
|
||||||
|
});
|
||||||
|
|
||||||
|
modelBuilder.Entity("Erp.Platform.Entities.ProjectStatus", b =>
|
||||||
|
{
|
||||||
|
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<string>("Description")
|
||||||
|
.HasMaxLength(500)
|
||||||
|
.HasColumnType("nvarchar(500)");
|
||||||
|
|
||||||
|
b.Property<bool>("IsActive")
|
||||||
|
.ValueGeneratedOnAdd()
|
||||||
|
.HasColumnType("bit")
|
||||||
|
.HasDefaultValue(true);
|
||||||
|
|
||||||
|
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)
|
||||||
|
.HasColumnType("nvarchar(50)");
|
||||||
|
|
||||||
|
b.Property<Guid?>("TenantId")
|
||||||
|
.HasColumnType("uniqueidentifier")
|
||||||
|
.HasColumnName("TenantId");
|
||||||
|
|
||||||
|
b.HasKey("Id");
|
||||||
|
|
||||||
|
b.ToTable("Prj_T_ProjectStatus", (string)null);
|
||||||
|
});
|
||||||
|
|
||||||
|
modelBuilder.Entity("Erp.Platform.Entities.ProjectType", b =>
|
||||||
|
{
|
||||||
|
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<string>("Description")
|
||||||
|
.HasMaxLength(500)
|
||||||
|
.HasColumnType("nvarchar(500)");
|
||||||
|
|
||||||
|
b.Property<bool>("IsActive")
|
||||||
|
.ValueGeneratedOnAdd()
|
||||||
|
.HasColumnType("bit")
|
||||||
|
.HasDefaultValue(true);
|
||||||
|
|
||||||
|
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)
|
||||||
|
.HasColumnType("nvarchar(50)");
|
||||||
|
|
||||||
|
b.Property<Guid?>("TenantId")
|
||||||
|
.HasColumnType("uniqueidentifier")
|
||||||
|
.HasColumnName("TenantId");
|
||||||
|
|
||||||
|
b.HasKey("Id");
|
||||||
|
|
||||||
|
b.ToTable("Prj_T_ProjectType", (string)null);
|
||||||
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Erp.Platform.Entities.Psychologist", b =>
|
modelBuilder.Entity("Erp.Platform.Entities.Psychologist", b =>
|
||||||
{
|
{
|
||||||
b.Property<Guid>("Id")
|
b.Property<Guid>("Id")
|
||||||
|
|
@ -16871,6 +17104,25 @@ namespace Erp.Platform.Migrations
|
||||||
b.Navigation("Template");
|
b.Navigation("Template");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
modelBuilder.Entity("Erp.Platform.Entities.Project", b =>
|
||||||
|
{
|
||||||
|
b.HasOne("Erp.Platform.Entities.ProjectType", "ProjectType")
|
||||||
|
.WithMany("Projects")
|
||||||
|
.HasForeignKey("ProjectTypeId")
|
||||||
|
.OnDelete(DeleteBehavior.Restrict)
|
||||||
|
.IsRequired();
|
||||||
|
|
||||||
|
b.HasOne("Erp.Platform.Entities.ProjectStatus", "Status")
|
||||||
|
.WithMany("Projects")
|
||||||
|
.HasForeignKey("StatusId")
|
||||||
|
.OnDelete(DeleteBehavior.Restrict)
|
||||||
|
.IsRequired();
|
||||||
|
|
||||||
|
b.Navigation("ProjectType");
|
||||||
|
|
||||||
|
b.Navigation("Status");
|
||||||
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Erp.Platform.Entities.PutawayCondition", b =>
|
modelBuilder.Entity("Erp.Platform.Entities.PutawayCondition", b =>
|
||||||
{
|
{
|
||||||
b.HasOne("Erp.Platform.Entities.Putaway", "Rule")
|
b.HasOne("Erp.Platform.Entities.Putaway", "Rule")
|
||||||
|
|
@ -17748,6 +18000,16 @@ namespace Erp.Platform.Migrations
|
||||||
b.Navigation("Items");
|
b.Navigation("Items");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
modelBuilder.Entity("Erp.Platform.Entities.ProjectStatus", b =>
|
||||||
|
{
|
||||||
|
b.Navigation("Projects");
|
||||||
|
});
|
||||||
|
|
||||||
|
modelBuilder.Entity("Erp.Platform.Entities.ProjectType", b =>
|
||||||
|
{
|
||||||
|
b.Navigation("Projects");
|
||||||
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Erp.Platform.Entities.Putaway", b =>
|
modelBuilder.Entity("Erp.Platform.Entities.Putaway", b =>
|
||||||
{
|
{
|
||||||
b.Navigation("Conditions");
|
b.Navigation("Conditions");
|
||||||
|
|
@ -1823,6 +1823,50 @@ namespace Erp.Platform.Migrations
|
||||||
table.PrimaryKey("PK_Plat_H_SettingDefinition", x => x.Id);
|
table.PrimaryKey("PK_Plat_H_SettingDefinition", x => x.Id);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
migrationBuilder.CreateTable(
|
||||||
|
name: "Prj_T_ProjectStatus",
|
||||||
|
columns: table => new
|
||||||
|
{
|
||||||
|
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),
|
||||||
|
Description = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true),
|
||||||
|
IsActive = table.Column<bool>(type: "bit", nullable: false, defaultValue: 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 =>
|
||||||
|
{
|
||||||
|
table.PrimaryKey("PK_Prj_T_ProjectStatus", x => x.Id);
|
||||||
|
});
|
||||||
|
|
||||||
|
migrationBuilder.CreateTable(
|
||||||
|
name: "Prj_T_ProjectType",
|
||||||
|
columns: table => new
|
||||||
|
{
|
||||||
|
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),
|
||||||
|
Description = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true),
|
||||||
|
IsActive = table.Column<bool>(type: "bit", nullable: false, defaultValue: 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 =>
|
||||||
|
{
|
||||||
|
table.PrimaryKey("PK_Prj_T_ProjectType", x => x.Id);
|
||||||
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Prt_T_Interesting",
|
name: "Prt_T_Interesting",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
|
|
@ -3482,6 +3526,54 @@ namespace Erp.Platform.Migrations
|
||||||
onDelete: ReferentialAction.Cascade);
|
onDelete: ReferentialAction.Cascade);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
migrationBuilder.CreateTable(
|
||||||
|
name: "Prj_T_Project",
|
||||||
|
columns: table => new
|
||||||
|
{
|
||||||
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
TenantId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||||
|
Code = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: false),
|
||||||
|
Name = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: false),
|
||||||
|
Description = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true),
|
||||||
|
ProjectTypeId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
StatusId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
Priority = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
|
||||||
|
ManagerId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
|
StartDate = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||||
|
EndDate = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||||
|
ActualStartDate = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||||
|
ActualEndDate = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||||
|
CustomerId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||||
|
Budget = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: false, defaultValue: 0m),
|
||||||
|
ActualCost = table.Column<decimal>(type: "decimal(18,2)", precision: 18, scale: 2, nullable: false, defaultValue: 0m),
|
||||||
|
Currency = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true),
|
||||||
|
Progress = table.Column<int>(type: "int", nullable: false, defaultValue: 0),
|
||||||
|
IsActive = table.Column<bool>(type: "bit", nullable: false, defaultValue: 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 =>
|
||||||
|
{
|
||||||
|
table.PrimaryKey("PK_Prj_T_Project", x => x.Id);
|
||||||
|
table.ForeignKey(
|
||||||
|
name: "FK_Prj_T_Project_Prj_T_ProjectStatus_StatusId",
|
||||||
|
column: x => x.StatusId,
|
||||||
|
principalTable: "Prj_T_ProjectStatus",
|
||||||
|
principalColumn: "Id",
|
||||||
|
onDelete: ReferentialAction.Restrict);
|
||||||
|
table.ForeignKey(
|
||||||
|
name: "FK_Prj_T_Project_Prj_T_ProjectType_ProjectTypeId",
|
||||||
|
column: x => x.ProjectTypeId,
|
||||||
|
principalTable: "Prj_T_ProjectType",
|
||||||
|
principalColumn: "Id",
|
||||||
|
onDelete: ReferentialAction.Restrict);
|
||||||
|
});
|
||||||
|
|
||||||
migrationBuilder.CreateTable(
|
migrationBuilder.CreateTable(
|
||||||
name: "Sas_H_Country",
|
name: "Sas_H_Country",
|
||||||
columns: table => new
|
columns: table => new
|
||||||
|
|
@ -7562,6 +7654,16 @@ namespace Erp.Platform.Migrations
|
||||||
table: "Plat_H_Notification",
|
table: "Plat_H_Notification",
|
||||||
column: "NotificationRuleId");
|
column: "NotificationRuleId");
|
||||||
|
|
||||||
|
migrationBuilder.CreateIndex(
|
||||||
|
name: "IX_Prj_T_Project_ProjectTypeId",
|
||||||
|
table: "Prj_T_Project",
|
||||||
|
column: "ProjectTypeId");
|
||||||
|
|
||||||
|
migrationBuilder.CreateIndex(
|
||||||
|
name: "IX_Prj_T_Project_StatusId",
|
||||||
|
table: "Prj_T_Project",
|
||||||
|
column: "StatusId");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_Sas_H_City_Country_Code",
|
name: "IX_Sas_H_City_Country_Code",
|
||||||
table: "Sas_H_City",
|
table: "Sas_H_City",
|
||||||
|
|
@ -8210,6 +8312,9 @@ namespace Erp.Platform.Migrations
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Plat_H_SettingDefinition");
|
name: "Plat_H_SettingDefinition");
|
||||||
|
|
||||||
|
migrationBuilder.DropTable(
|
||||||
|
name: "Prj_T_Project");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Prt_T_Interesting");
|
name: "Prt_T_Interesting");
|
||||||
|
|
||||||
|
|
@ -8402,6 +8507,12 @@ namespace Erp.Platform.Migrations
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Plat_H_NotificationRule");
|
name: "Plat_H_NotificationRule");
|
||||||
|
|
||||||
|
migrationBuilder.DropTable(
|
||||||
|
name: "Prj_T_ProjectStatus");
|
||||||
|
|
||||||
|
migrationBuilder.DropTable(
|
||||||
|
name: "Prj_T_ProjectType");
|
||||||
|
|
||||||
migrationBuilder.DropTable(
|
migrationBuilder.DropTable(
|
||||||
name: "Sas_H_City");
|
name: "Sas_H_City");
|
||||||
|
|
||||||
|
|
@ -9747,6 +9747,239 @@ namespace Erp.Platform.Migrations
|
||||||
b.ToTable("Crd_T_Program", (string)null);
|
b.ToTable("Crd_T_Program", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
modelBuilder.Entity("Erp.Platform.Entities.Project", b =>
|
||||||
|
{
|
||||||
|
b.Property<Guid>("Id")
|
||||||
|
.HasColumnType("uniqueidentifier");
|
||||||
|
|
||||||
|
b.Property<decimal>("ActualCost")
|
||||||
|
.ValueGeneratedOnAdd()
|
||||||
|
.HasPrecision(18, 2)
|
||||||
|
.HasColumnType("decimal(18,2)")
|
||||||
|
.HasDefaultValue(0m);
|
||||||
|
|
||||||
|
b.Property<DateTime?>("ActualEndDate")
|
||||||
|
.HasColumnType("datetime2");
|
||||||
|
|
||||||
|
b.Property<DateTime?>("ActualStartDate")
|
||||||
|
.HasColumnType("datetime2");
|
||||||
|
|
||||||
|
b.Property<decimal>("Budget")
|
||||||
|
.ValueGeneratedOnAdd()
|
||||||
|
.HasPrecision(18, 2)
|
||||||
|
.HasColumnType("decimal(18,2)")
|
||||||
|
.HasDefaultValue(0m);
|
||||||
|
|
||||||
|
b.Property<string>("Code")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(100)
|
||||||
|
.HasColumnType("nvarchar(100)");
|
||||||
|
|
||||||
|
b.Property<DateTime>("CreationTime")
|
||||||
|
.HasColumnType("datetime2")
|
||||||
|
.HasColumnName("CreationTime");
|
||||||
|
|
||||||
|
b.Property<Guid?>("CreatorId")
|
||||||
|
.HasColumnType("uniqueidentifier")
|
||||||
|
.HasColumnName("CreatorId");
|
||||||
|
|
||||||
|
b.Property<string>("Currency")
|
||||||
|
.HasMaxLength(10)
|
||||||
|
.HasColumnType("nvarchar(10)");
|
||||||
|
|
||||||
|
b.Property<Guid?>("CustomerId")
|
||||||
|
.HasColumnType("uniqueidentifier");
|
||||||
|
|
||||||
|
b.Property<Guid?>("DeleterId")
|
||||||
|
.HasColumnType("uniqueidentifier")
|
||||||
|
.HasColumnName("DeleterId");
|
||||||
|
|
||||||
|
b.Property<DateTime?>("DeletionTime")
|
||||||
|
.HasColumnType("datetime2")
|
||||||
|
.HasColumnName("DeletionTime");
|
||||||
|
|
||||||
|
b.Property<string>("Description")
|
||||||
|
.HasMaxLength(500)
|
||||||
|
.HasColumnType("nvarchar(500)");
|
||||||
|
|
||||||
|
b.Property<DateTime>("EndDate")
|
||||||
|
.HasColumnType("datetime2");
|
||||||
|
|
||||||
|
b.Property<bool>("IsActive")
|
||||||
|
.ValueGeneratedOnAdd()
|
||||||
|
.HasColumnType("bit")
|
||||||
|
.HasDefaultValue(true);
|
||||||
|
|
||||||
|
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<Guid>("ManagerId")
|
||||||
|
.HasColumnType("uniqueidentifier");
|
||||||
|
|
||||||
|
b.Property<string>("Name")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(200)
|
||||||
|
.HasColumnType("nvarchar(200)");
|
||||||
|
|
||||||
|
b.Property<string>("Priority")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(50)
|
||||||
|
.HasColumnType("nvarchar(50)");
|
||||||
|
|
||||||
|
b.Property<int>("Progress")
|
||||||
|
.ValueGeneratedOnAdd()
|
||||||
|
.HasColumnType("int")
|
||||||
|
.HasDefaultValue(0);
|
||||||
|
|
||||||
|
b.Property<Guid>("ProjectTypeId")
|
||||||
|
.HasColumnType("uniqueidentifier");
|
||||||
|
|
||||||
|
b.Property<DateTime>("StartDate")
|
||||||
|
.HasColumnType("datetime2");
|
||||||
|
|
||||||
|
b.Property<Guid>("StatusId")
|
||||||
|
.HasColumnType("uniqueidentifier");
|
||||||
|
|
||||||
|
b.Property<Guid?>("TenantId")
|
||||||
|
.HasColumnType("uniqueidentifier")
|
||||||
|
.HasColumnName("TenantId");
|
||||||
|
|
||||||
|
b.HasKey("Id");
|
||||||
|
|
||||||
|
b.HasIndex("ProjectTypeId");
|
||||||
|
|
||||||
|
b.HasIndex("StatusId");
|
||||||
|
|
||||||
|
b.ToTable("Prj_T_Project", (string)null);
|
||||||
|
});
|
||||||
|
|
||||||
|
modelBuilder.Entity("Erp.Platform.Entities.ProjectStatus", b =>
|
||||||
|
{
|
||||||
|
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<string>("Description")
|
||||||
|
.HasMaxLength(500)
|
||||||
|
.HasColumnType("nvarchar(500)");
|
||||||
|
|
||||||
|
b.Property<bool>("IsActive")
|
||||||
|
.ValueGeneratedOnAdd()
|
||||||
|
.HasColumnType("bit")
|
||||||
|
.HasDefaultValue(true);
|
||||||
|
|
||||||
|
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)
|
||||||
|
.HasColumnType("nvarchar(50)");
|
||||||
|
|
||||||
|
b.Property<Guid?>("TenantId")
|
||||||
|
.HasColumnType("uniqueidentifier")
|
||||||
|
.HasColumnName("TenantId");
|
||||||
|
|
||||||
|
b.HasKey("Id");
|
||||||
|
|
||||||
|
b.ToTable("Prj_T_ProjectStatus", (string)null);
|
||||||
|
});
|
||||||
|
|
||||||
|
modelBuilder.Entity("Erp.Platform.Entities.ProjectType", b =>
|
||||||
|
{
|
||||||
|
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<string>("Description")
|
||||||
|
.HasMaxLength(500)
|
||||||
|
.HasColumnType("nvarchar(500)");
|
||||||
|
|
||||||
|
b.Property<bool>("IsActive")
|
||||||
|
.ValueGeneratedOnAdd()
|
||||||
|
.HasColumnType("bit")
|
||||||
|
.HasDefaultValue(true);
|
||||||
|
|
||||||
|
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)
|
||||||
|
.HasColumnType("nvarchar(50)");
|
||||||
|
|
||||||
|
b.Property<Guid?>("TenantId")
|
||||||
|
.HasColumnType("uniqueidentifier")
|
||||||
|
.HasColumnName("TenantId");
|
||||||
|
|
||||||
|
b.HasKey("Id");
|
||||||
|
|
||||||
|
b.ToTable("Prj_T_ProjectType", (string)null);
|
||||||
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Erp.Platform.Entities.Psychologist", b =>
|
modelBuilder.Entity("Erp.Platform.Entities.Psychologist", b =>
|
||||||
{
|
{
|
||||||
b.Property<Guid>("Id")
|
b.Property<Guid>("Id")
|
||||||
|
|
@ -16868,6 +17101,25 @@ namespace Erp.Platform.Migrations
|
||||||
b.Navigation("Template");
|
b.Navigation("Template");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
modelBuilder.Entity("Erp.Platform.Entities.Project", b =>
|
||||||
|
{
|
||||||
|
b.HasOne("Erp.Platform.Entities.ProjectType", "ProjectType")
|
||||||
|
.WithMany("Projects")
|
||||||
|
.HasForeignKey("ProjectTypeId")
|
||||||
|
.OnDelete(DeleteBehavior.Restrict)
|
||||||
|
.IsRequired();
|
||||||
|
|
||||||
|
b.HasOne("Erp.Platform.Entities.ProjectStatus", "Status")
|
||||||
|
.WithMany("Projects")
|
||||||
|
.HasForeignKey("StatusId")
|
||||||
|
.OnDelete(DeleteBehavior.Restrict)
|
||||||
|
.IsRequired();
|
||||||
|
|
||||||
|
b.Navigation("ProjectType");
|
||||||
|
|
||||||
|
b.Navigation("Status");
|
||||||
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Erp.Platform.Entities.PutawayCondition", b =>
|
modelBuilder.Entity("Erp.Platform.Entities.PutawayCondition", b =>
|
||||||
{
|
{
|
||||||
b.HasOne("Erp.Platform.Entities.Putaway", "Rule")
|
b.HasOne("Erp.Platform.Entities.Putaway", "Rule")
|
||||||
|
|
@ -17745,6 +17997,16 @@ namespace Erp.Platform.Migrations
|
||||||
b.Navigation("Items");
|
b.Navigation("Items");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
modelBuilder.Entity("Erp.Platform.Entities.ProjectStatus", b =>
|
||||||
|
{
|
||||||
|
b.Navigation("Projects");
|
||||||
|
});
|
||||||
|
|
||||||
|
modelBuilder.Entity("Erp.Platform.Entities.ProjectType", b =>
|
||||||
|
{
|
||||||
|
b.Navigation("Projects");
|
||||||
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Erp.Platform.Entities.Putaway", b =>
|
modelBuilder.Entity("Erp.Platform.Entities.Putaway", b =>
|
||||||
{
|
{
|
||||||
b.Navigation("Conditions");
|
b.Navigation("Conditions");
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,9 @@
|
||||||
"props": null,
|
"props": null,
|
||||||
"description": null,
|
"description": null,
|
||||||
"isActive": true,
|
"isActive": true,
|
||||||
"dependencies": ["DynamicEntityComponent"]
|
"dependencies": [
|
||||||
|
"DynamicEntityComponent"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"ReportCategories": [
|
"ReportCategories": [
|
||||||
|
|
@ -2429,7 +2431,12 @@
|
||||||
"minSalary": 80000,
|
"minSalary": 80000,
|
||||||
"maxSalary": 120000,
|
"maxSalary": 120000,
|
||||||
"currency": "USD",
|
"currency": "USD",
|
||||||
"requiredSkills": ["JavaScript", "TypeScript", "React", "Node.js"],
|
"requiredSkills": [
|
||||||
|
"JavaScript",
|
||||||
|
"TypeScript",
|
||||||
|
"React",
|
||||||
|
"Node.js"
|
||||||
|
],
|
||||||
"responsibilities": [
|
"responsibilities": [
|
||||||
"Develop frontend and backend applications",
|
"Develop frontend and backend applications",
|
||||||
"Write clean and maintainable code",
|
"Write clean and maintainable code",
|
||||||
|
|
@ -4124,7 +4131,9 @@
|
||||||
{
|
{
|
||||||
"postContent": "CI/CD pipeline güncellememiz tamamlandı! Deployment süremiz %40 azaldı. Otomasyonun gücü 💪",
|
"postContent": "CI/CD pipeline güncellememiz tamamlandı! Deployment süremiz %40 azaldı. Otomasyonun gücü 💪",
|
||||||
"type": "video",
|
"type": "video",
|
||||||
"urls": ["https://www.w3schools.com/html/mov_bbb.mp4"]
|
"urls": [
|
||||||
|
"https://www.w3schools.com/html/mov_bbb.mp4"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"SocialPollOptions": [
|
"SocialPollOptions": [
|
||||||
|
|
@ -5806,5 +5815,59 @@
|
||||||
"isActive": true,
|
"isActive": true,
|
||||||
"isParallel": false
|
"isParallel": false
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"ProjectTypes": [
|
||||||
|
{
|
||||||
|
"name": "Dahili",
|
||||||
|
"description": "Şirket içi projeler için kullanılan tür",
|
||||||
|
"isActive": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Müşteri",
|
||||||
|
"description": "Müşteri projeleri için kullanılan tür",
|
||||||
|
"isActive": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Araştırma",
|
||||||
|
"description": "Araştırma ve geliştirme projeleri için kullanılan tür",
|
||||||
|
"isActive": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Bakım",
|
||||||
|
"description": "Bakım ve iyileştirme projeleri için kullanılan tür",
|
||||||
|
"isActive": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Geliştirme",
|
||||||
|
"description": "Yeni ürün ve süreç geliştirme projeleri için kullanılan tür",
|
||||||
|
"isActive": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"ProjectStatuses": [
|
||||||
|
{
|
||||||
|
"name": "Planlama",
|
||||||
|
"description": "Projenin planlama aşamasında olduğunu ifade eder",
|
||||||
|
"isActive": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Aktif",
|
||||||
|
"description": "Projenin aktif olarak yürütüldüğünü ifade eder",
|
||||||
|
"isActive": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Beklemede",
|
||||||
|
"description": "Projenin belirli nedenlerle geçici olarak durdurulduğunu ifade eder",
|
||||||
|
"isActive": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Tamamlandı",
|
||||||
|
"description": "Projenin tüm çalışmalarının başarıyla tamamlandığını ifade eder",
|
||||||
|
"isActive": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "İptal Edildi",
|
||||||
|
"description": "Projenin iptal edildiğini ifade eder",
|
||||||
|
"isActive": true
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -128,6 +128,8 @@ public class TenantDataSeeder : IDataSeedContributor, ITransientDependency
|
||||||
private readonly IRepository<Bom, Guid> _bomRepository;
|
private readonly IRepository<Bom, Guid> _bomRepository;
|
||||||
private readonly IRepository<BomComponent, Guid> _bomComponentRepository;
|
private readonly IRepository<BomComponent, Guid> _bomComponentRepository;
|
||||||
private readonly IRepository<BomOperation, Guid> _bomOperationRepository;
|
private readonly IRepository<BomOperation, Guid> _bomOperationRepository;
|
||||||
|
private readonly IRepository<ProjectType, Guid> _projectTypeRepository;
|
||||||
|
private readonly IRepository<ProjectStatus, Guid> _projectStatusRepository;
|
||||||
|
|
||||||
public TenantDataSeeder(
|
public TenantDataSeeder(
|
||||||
IClock clock,
|
IClock clock,
|
||||||
|
|
@ -238,7 +240,9 @@ public class TenantDataSeeder : IDataSeedContributor, ITransientDependency
|
||||||
IRepository<BomType, Guid> bomTypeRepository,
|
IRepository<BomType, Guid> bomTypeRepository,
|
||||||
IRepository<Bom, Guid> bomRepository,
|
IRepository<Bom, Guid> bomRepository,
|
||||||
IRepository<BomComponent, Guid> bomComponentRepository,
|
IRepository<BomComponent, Guid> bomComponentRepository,
|
||||||
IRepository<BomOperation, Guid> bomOperationRepository
|
IRepository<BomOperation, Guid> bomOperationRepository,
|
||||||
|
IRepository<ProjectType, Guid> projectTypeRepository,
|
||||||
|
IRepository<ProjectStatus, Guid> projectStatusRepository
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
_clock = clock;
|
_clock = clock;
|
||||||
|
|
@ -351,6 +355,8 @@ public class TenantDataSeeder : IDataSeedContributor, ITransientDependency
|
||||||
_bomRepository = bomRepository;
|
_bomRepository = bomRepository;
|
||||||
_bomComponentRepository = bomComponentRepository;
|
_bomComponentRepository = bomComponentRepository;
|
||||||
_bomOperationRepository = bomOperationRepository;
|
_bomOperationRepository = bomOperationRepository;
|
||||||
|
_projectTypeRepository = projectTypeRepository;
|
||||||
|
_projectStatusRepository = projectStatusRepository;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static IConfigurationRoot BuildConfiguration()
|
private static IConfigurationRoot BuildConfiguration()
|
||||||
|
|
@ -2446,6 +2452,34 @@ public class TenantDataSeeder : IDataSeedContributor, ITransientDependency
|
||||||
IsParallel = item.IsParallel
|
IsParallel = item.IsParallel
|
||||||
}, autoSave: true);
|
}, autoSave: true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
foreach (var item in items.ProjectTypes)
|
||||||
|
{
|
||||||
|
var exists = await _projectTypeRepository.AnyAsync(x => x.Name == item.Name);
|
||||||
|
if (exists)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
await _projectTypeRepository.InsertAsync(new ProjectType
|
||||||
|
{
|
||||||
|
Name = item.Name,
|
||||||
|
Description = item.Description,
|
||||||
|
IsActive = item.IsActive
|
||||||
|
}, autoSave: true);
|
||||||
|
}
|
||||||
|
|
||||||
|
foreach (var item in items.ProjectStatuses)
|
||||||
|
{
|
||||||
|
var exists = await _projectStatusRepository.AnyAsync(x => x.Name == item.Name);
|
||||||
|
if (exists)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
await _projectStatusRepository.InsertAsync(new ProjectStatus
|
||||||
|
{
|
||||||
|
Name = item.Name,
|
||||||
|
Description = item.Description,
|
||||||
|
IsActive = item.IsActive
|
||||||
|
}, autoSave: true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -126,6 +126,24 @@ public class TenantSeederDto
|
||||||
public List<BomSeedDto> Boms { get; set; }
|
public List<BomSeedDto> Boms { get; set; }
|
||||||
public List<BomComponentSeedDto> BomComponents { get; set; }
|
public List<BomComponentSeedDto> BomComponents { get; set; }
|
||||||
public List<BomOperationSeedDto> BomOperations { get; set; }
|
public List<BomOperationSeedDto> BomOperations { get; set; }
|
||||||
|
|
||||||
|
//Project
|
||||||
|
public List<ProjectTypeSeedDto> ProjectTypes { get; set; }
|
||||||
|
public List<ProjectStatusSeedDto> ProjectStatuses { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class ProjectStatusSeedDto
|
||||||
|
{
|
||||||
|
public string Name { get; set; }
|
||||||
|
public string Description { get; set; }
|
||||||
|
public bool IsActive { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class ProjectTypeSeedDto
|
||||||
|
{
|
||||||
|
public string Name { get; set; }
|
||||||
|
public string Description { get; set; }
|
||||||
|
public bool IsActive { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class BomOperationSeedDto
|
public class BomOperationSeedDto
|
||||||
|
|
|
||||||
|
|
@ -127,7 +127,7 @@ const IntranetDashboard: React.FC = () => {
|
||||||
permission: 'App.Intranet.Announcement.Widget',
|
permission: 'App.Intranet.Announcement.Widget',
|
||||||
column: 'right',
|
column: 'right',
|
||||||
},
|
},
|
||||||
{ id: 'priority-tasks', permission: 'App.Projects.Tasks.Widget', column: 'right' },
|
{ id: 'priority-tasks', permission: 'App.Project.Tasks.Widget', column: 'right' },
|
||||||
{ id: 'meal-weekly-menu', permission: 'App.Intranet.Meal.Widget', column: 'right' },
|
{ id: 'meal-weekly-menu', permission: 'App.Intranet.Meal.Widget', column: 'right' },
|
||||||
{ id: 'shuttle-route', permission: 'App.Intranet.ShuttleRoute.Widget', column: 'right' },
|
{ id: 'shuttle-route', permission: 'App.Intranet.ShuttleRoute.Widget', column: 'right' },
|
||||||
{ id: 'leave-management', permission: 'App.Hr.Leave.Widget', column: 'right' },
|
{ id: 'leave-management', permission: 'App.Hr.Leave.Widget', column: 'right' },
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue