Saas ve Administration Menüsü ayrıldı
This commit is contained in:
parent
35006880bd
commit
6a06bf24c8
35 changed files with 8069 additions and 8275 deletions
|
|
@ -26,7 +26,7 @@ public class PublicAppService : PlatformAppService
|
||||||
private readonly IRepository<BlogPost, Guid> _postRepository;
|
private readonly IRepository<BlogPost, Guid> _postRepository;
|
||||||
private readonly IRepository<BlogCategory, Guid> _categoryRepository;
|
private readonly IRepository<BlogCategory, Guid> _categoryRepository;
|
||||||
private readonly IRepository<Product, Guid> _productRepository;
|
private readonly IRepository<Product, Guid> _productRepository;
|
||||||
private readonly IRepository<PaymentMethod, string> _paymentMethodRepository;
|
private readonly IRepository<PaymentMethod, Guid> _paymentMethodRepository;
|
||||||
private readonly IRepository<InstallmentOption> _installmentOptionRepository;
|
private readonly IRepository<InstallmentOption> _installmentOptionRepository;
|
||||||
private readonly IRepository<Order, Guid> _orderRepository;
|
private readonly IRepository<Order, Guid> _orderRepository;
|
||||||
private readonly IRepository<About, Guid> _aboutRepository;
|
private readonly IRepository<About, Guid> _aboutRepository;
|
||||||
|
|
@ -41,7 +41,7 @@ public class PublicAppService : PlatformAppService
|
||||||
IRepository<BlogPost, Guid> postRepository,
|
IRepository<BlogPost, Guid> postRepository,
|
||||||
IRepository<BlogCategory, Guid> categoryRepository,
|
IRepository<BlogCategory, Guid> categoryRepository,
|
||||||
IRepository<Product, Guid> productRepository,
|
IRepository<Product, Guid> productRepository,
|
||||||
IRepository<PaymentMethod, string> paymentMethodRepository,
|
IRepository<PaymentMethod, Guid> paymentMethodRepository,
|
||||||
IRepository<InstallmentOption> installmentOptionRepository,
|
IRepository<InstallmentOption> installmentOptionRepository,
|
||||||
IRepository<Order, Guid> orderRepository,
|
IRepository<Order, Guid> orderRepository,
|
||||||
IRepository<About, Guid> aboutRepository,
|
IRepository<About, Guid> aboutRepository,
|
||||||
|
|
|
||||||
|
|
@ -55,19 +55,6 @@ public class NotificationRuleSeedDto
|
||||||
public bool IsCustomized { get; set; }
|
public bool IsCustomized { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class MenuSeedDto
|
|
||||||
{
|
|
||||||
public string ParentCode { get; set; }
|
|
||||||
public string Code { get; set; }
|
|
||||||
public string DisplayName { get; set; }
|
|
||||||
public int Order { get; set; }
|
|
||||||
public string Url { get; set; }
|
|
||||||
public string Icon { get; set; }
|
|
||||||
public string RequiredPermissionName { get; set; }
|
|
||||||
public bool IsDisabled { get; set; }
|
|
||||||
public string ShortName { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
public class PermissionGroupDefinitionRecordSeedDto
|
public class PermissionGroupDefinitionRecordSeedDto
|
||||||
{
|
{
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -19,6 +19,19 @@ public class RouteSeedDto
|
||||||
public string[] Authority { get; set; }
|
public string[] Authority { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class MenuSeedDto
|
||||||
|
{
|
||||||
|
public string ParentCode { get; set; }
|
||||||
|
public string Code { get; set; }
|
||||||
|
public string DisplayName { get; set; }
|
||||||
|
public int Order { get; set; }
|
||||||
|
public string Url { get; set; }
|
||||||
|
public string Icon { get; set; }
|
||||||
|
public string RequiredPermissionName { get; set; }
|
||||||
|
public bool IsDisabled { get; set; }
|
||||||
|
public string ShortName { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
public class MenuSeederDto
|
public class MenuSeederDto
|
||||||
{
|
{
|
||||||
public List<RouteSeedDto> Routes { get; set; }
|
public List<RouteSeedDto> Routes { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -377,31 +377,11 @@
|
||||||
"IsDisabled": false,
|
"IsDisabled": false,
|
||||||
"ShortName": "Sas"
|
"ShortName": "Sas"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"ParentCode": "App.Saas",
|
|
||||||
"Code": "App.AiBot",
|
|
||||||
"DisplayName": "App.AiBot",
|
|
||||||
"Order": 1,
|
|
||||||
"Url": "/admin/list/App.AiBot",
|
|
||||||
"Icon": "FcMindMap",
|
|
||||||
"RequiredPermissionName": "App.AiBot",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "App.Saas",
|
|
||||||
"Code": "App.Settings.GlobalSearch",
|
|
||||||
"DisplayName": "App.Settings.GlobalSearch",
|
|
||||||
"Order": 2,
|
|
||||||
"Url": "/admin/list/App.Settings.GlobalSearch",
|
|
||||||
"Icon": "FcSearch",
|
|
||||||
"RequiredPermissionName": "App.Settings.GlobalSearch",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"ParentCode": "App.Saas",
|
"ParentCode": "App.Saas",
|
||||||
"Code": "AbpTenantManagement.Tenants",
|
"Code": "AbpTenantManagement.Tenants",
|
||||||
"DisplayName": "AbpTenantManagement.Tenants",
|
"DisplayName": "AbpTenantManagement.Tenants",
|
||||||
"Order": 3,
|
"Order": 1,
|
||||||
"Url": "/admin/list/AbpTenantManagement.Tenants",
|
"Url": "/admin/list/AbpTenantManagement.Tenants",
|
||||||
"Icon": "FcDepartment",
|
"Icon": "FcDepartment",
|
||||||
"RequiredPermissionName": "AbpTenantManagement.Tenants",
|
"RequiredPermissionName": "AbpTenantManagement.Tenants",
|
||||||
|
|
@ -411,12 +391,122 @@
|
||||||
"ParentCode": "App.Saas",
|
"ParentCode": "App.Saas",
|
||||||
"Code": "App.Branches",
|
"Code": "App.Branches",
|
||||||
"DisplayName": "App.Branches",
|
"DisplayName": "App.Branches",
|
||||||
"Order": 4,
|
"Order": 2,
|
||||||
"Url": "/admin/list/App.Branches",
|
"Url": "/admin/list/App.Branches",
|
||||||
"Icon": "FcTreeStructure",
|
"Icon": "FcTreeStructure",
|
||||||
"RequiredPermissionName": "App.Branches",
|
"RequiredPermissionName": "App.Branches",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "App.Saas",
|
||||||
|
"Code": "App.Saas.Definitions",
|
||||||
|
"DisplayName": "App.Definitions",
|
||||||
|
"Order": 3,
|
||||||
|
"Url": null,
|
||||||
|
"Icon": "FcFilingCabinet",
|
||||||
|
"RequiredPermissionName": null,
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "App.Saas.Definitions",
|
||||||
|
"Code": "App.AiBot",
|
||||||
|
"DisplayName": "App.AiBot",
|
||||||
|
"Order": 1,
|
||||||
|
"Url": "/admin/list/App.AiBot",
|
||||||
|
"Icon": "FcMindMap",
|
||||||
|
"RequiredPermissionName": "App.AiBot",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "App.Saas.Definitions",
|
||||||
|
"Code": "App.Settings.GlobalSearch",
|
||||||
|
"DisplayName": "App.Settings.GlobalSearch",
|
||||||
|
"Order": 2,
|
||||||
|
"Url": "/admin/list/App.Settings.GlobalSearch",
|
||||||
|
"Icon": "FcSearch",
|
||||||
|
"RequiredPermissionName": "App.Settings.GlobalSearch",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "App.Saas.Definitions",
|
||||||
|
"Code": "App.Definitions.ContactTitle",
|
||||||
|
"DisplayName": "App.Definitions.ContactTitle",
|
||||||
|
"Order": 3,
|
||||||
|
"Url": "/admin/list/App.Definitions.ContactTitle",
|
||||||
|
"Icon": "FcNeutralDecision",
|
||||||
|
"RequiredPermissionName": "App.Definitions.ContactTitle",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "App.Saas.Definitions",
|
||||||
|
"Code": "App.Definitions.Currency",
|
||||||
|
"DisplayName": "App.Definitions.Currency",
|
||||||
|
"Order": 4,
|
||||||
|
"Url": "/admin/list/App.Definitions.Currency",
|
||||||
|
"Icon": "FcCurrencyExchange",
|
||||||
|
"RequiredPermissionName": "App.Definitions.Currency",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "App.Saas.Definitions",
|
||||||
|
"Code": "App.Definitions.CountryGroup",
|
||||||
|
"DisplayName": "App.Definitions.CountryGroup",
|
||||||
|
"Order": 5,
|
||||||
|
"Url": "/admin/list/App.Definitions.CountryGroup",
|
||||||
|
"Icon": "FaFlag",
|
||||||
|
"RequiredPermissionName": "App.Definitions.CountryGroup",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "App.Saas.Definitions",
|
||||||
|
"Code": "App.Definitions.Country",
|
||||||
|
"DisplayName": "App.Definitions.Country",
|
||||||
|
"Order": 6,
|
||||||
|
"Url": "/admin/list/App.Definitions.Country",
|
||||||
|
"Icon": "FaFlagCheckered",
|
||||||
|
"RequiredPermissionName": "App.Definitions.Country",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "App.Saas.Definitions",
|
||||||
|
"Code": "App.Definitions.City",
|
||||||
|
"DisplayName": "App.Definitions.City",
|
||||||
|
"Order": 7,
|
||||||
|
"Url": "/admin/list/App.Definitions.City",
|
||||||
|
"Icon": "FaFontAwesomeFlag",
|
||||||
|
"RequiredPermissionName": "App.Definitions.City",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "App.Saas.Definitions",
|
||||||
|
"Code": "App.Definitions.District",
|
||||||
|
"DisplayName": "App.Definitions.District",
|
||||||
|
"Order": 8,
|
||||||
|
"Url": "/admin/list/App.Definitions.District",
|
||||||
|
"Icon": "FaFontAwesome",
|
||||||
|
"RequiredPermissionName": "App.Definitions.District",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "App.Saas.Definitions",
|
||||||
|
"Code": "App.Definitions.SkillType",
|
||||||
|
"DisplayName": "App.Definitions.SkillType",
|
||||||
|
"Order": 9,
|
||||||
|
"Url": "/admin/list/App.Definitions.SkillType",
|
||||||
|
"Icon": "FcMindMap",
|
||||||
|
"RequiredPermissionName": "App.Definitions.SkillType",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "App.Saas.Definitions",
|
||||||
|
"Code": "App.Definitions.UomCategory",
|
||||||
|
"DisplayName": "App.Definitions.UomCategory",
|
||||||
|
"Order": 10,
|
||||||
|
"Url": "/admin/list/App.Definitions.UomCategory",
|
||||||
|
"Icon": "FcWorkflow",
|
||||||
|
"RequiredPermissionName": "App.Definitions.UomCategory",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"ParentCode": "App.Saas",
|
"ParentCode": "App.Saas",
|
||||||
"Code": "App.Settings.SettingDefinitions",
|
"Code": "App.Settings.SettingDefinitions",
|
||||||
|
|
@ -517,242 +607,12 @@
|
||||||
"RequiredPermissionName": "App.BackgroundWorkers",
|
"RequiredPermissionName": "App.BackgroundWorkers",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"ParentCode": "App.Saas",
|
"ParentCode": "App.Saas",
|
||||||
"Code": "App.ForumManagement",
|
|
||||||
"DisplayName": "App.ForumManagement",
|
|
||||||
"Order": 12,
|
|
||||||
"Url": "/admin/forumManagement",
|
|
||||||
"Icon": "FcReading",
|
|
||||||
"RequiredPermissionName": "App.ForumManagement",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": null,
|
|
||||||
"Code": "App.Administration",
|
|
||||||
"DisplayName": "App.Administration",
|
|
||||||
"Order": 200,
|
|
||||||
"Url": null,
|
|
||||||
"Icon": "FcOrganization",
|
|
||||||
"RequiredPermissionName": null,
|
|
||||||
"IsDisabled": false,
|
|
||||||
"ShortName": "Adm"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "App.Administration",
|
|
||||||
"Code": "App.Setting",
|
|
||||||
"DisplayName": "App.Setting",
|
|
||||||
"Order": 1,
|
|
||||||
"Url": "/admin/settings",
|
|
||||||
"Icon": "FcSettings",
|
|
||||||
"RequiredPermissionName": "App.Setting",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "App.Administration",
|
|
||||||
"Code": "App.Definitions",
|
|
||||||
"DisplayName": "App.Definitions",
|
|
||||||
"Order": 2,
|
|
||||||
"Url": null,
|
|
||||||
"Icon": "FcFilingCabinet",
|
|
||||||
"RequiredPermissionName": null,
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "App.Definitions",
|
|
||||||
"Code": "App.Definitions.ContactTitle",
|
|
||||||
"DisplayName": "App.Definitions.ContactTitle",
|
|
||||||
"Order": 1,
|
|
||||||
"Url": "/admin/list/App.Definitions.ContactTitle",
|
|
||||||
"Icon": "FcNeutralDecision",
|
|
||||||
"RequiredPermissionName": "App.Definitions.ContactTitle",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "App.Definitions",
|
|
||||||
"Code": "App.Definitions.Sector",
|
|
||||||
"DisplayName": "App.Definitions.Sector",
|
|
||||||
"Order": 2,
|
|
||||||
"Url": "/admin/list/App.Definitions.Sector",
|
|
||||||
"Icon": "FcBiomass",
|
|
||||||
"RequiredPermissionName": "App.Definitions.Sector",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "App.Definitions",
|
|
||||||
"Code": "App.Definitions.Currency",
|
|
||||||
"DisplayName": "App.Definitions.Currency",
|
|
||||||
"Order": 3,
|
|
||||||
"Url": "/admin/list/App.Definitions.Currency",
|
|
||||||
"Icon": "FcCurrencyExchange",
|
|
||||||
"RequiredPermissionName": "App.Definitions.Currency",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "App.Definitions",
|
|
||||||
"Code": "App.Definitions.CountryGroup",
|
|
||||||
"DisplayName": "App.Definitions.CountryGroup",
|
|
||||||
"Order": 4,
|
|
||||||
"Url": "/admin/list/App.Definitions.CountryGroup",
|
|
||||||
"Icon": "FaFlag",
|
|
||||||
"RequiredPermissionName": "App.Definitions.CountryGroup",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "App.Definitions",
|
|
||||||
"Code": "App.Definitions.Country",
|
|
||||||
"DisplayName": "App.Definitions.Country",
|
|
||||||
"Order": 5,
|
|
||||||
"Url": "/admin/list/App.Definitions.Country",
|
|
||||||
"Icon": "FaFlagCheckered",
|
|
||||||
"RequiredPermissionName": "App.Definitions.Country",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "App.Definitions",
|
|
||||||
"Code": "App.Definitions.City",
|
|
||||||
"DisplayName": "App.Definitions.City",
|
|
||||||
"Order": 6,
|
|
||||||
"Url": "/admin/list/App.Definitions.City",
|
|
||||||
"Icon": "FaFontAwesomeFlag",
|
|
||||||
"RequiredPermissionName": "App.Definitions.City",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "App.Definitions",
|
|
||||||
"Code": "App.Definitions.District",
|
|
||||||
"DisplayName": "App.Definitions.District",
|
|
||||||
"Order": 7,
|
|
||||||
"Url": "/admin/list/App.Definitions.District",
|
|
||||||
"Icon": "FaFontAwesome",
|
|
||||||
"RequiredPermissionName": "App.Definitions.District",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "App.Definitions",
|
|
||||||
"Code": "App.Definitions.WorkHour",
|
|
||||||
"DisplayName": "App.Definitions.WorkHour",
|
|
||||||
"Order": 8,
|
|
||||||
"Url": "/admin/list/App.Definitions.WorkHour",
|
|
||||||
"Icon": "FcClock",
|
|
||||||
"RequiredPermissionName": "App.Definitions.WorkHour",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "App.Definitions",
|
|
||||||
"Code": "App.Definitions.SkillType",
|
|
||||||
"DisplayName": "App.Definitions.SkillType",
|
|
||||||
"Order": 9,
|
|
||||||
"Url": "/admin/list/App.Definitions.SkillType",
|
|
||||||
"Icon": "FcMindMap",
|
|
||||||
"RequiredPermissionName": "App.Definitions.SkillType",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "App.Definitions",
|
|
||||||
"Code": "App.Definitions.UomCategory",
|
|
||||||
"DisplayName": "App.Definitions.UomCategory",
|
|
||||||
"Order": 10,
|
|
||||||
"Url": "/admin/list/App.Definitions.UomCategory",
|
|
||||||
"Icon": "FcWorkflow",
|
|
||||||
"RequiredPermissionName": "App.Definitions.UomCategory",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "App.Administration",
|
|
||||||
"Code": "Abp.Identity",
|
|
||||||
"DisplayName": "Abp.Identity",
|
|
||||||
"Order": 3,
|
|
||||||
"Url": null,
|
|
||||||
"Icon": "FcConferenceCall",
|
|
||||||
"RequiredPermissionName": null,
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "Abp.Identity",
|
|
||||||
"Code": "Abp.Identity.PermissionGroups",
|
|
||||||
"DisplayName": "Abp.Identity.PermissionGroups",
|
|
||||||
"Order": 1,
|
|
||||||
"Url": "/admin/list/Abp.Identity.PermissionGroups",
|
|
||||||
"Icon": "FcEngineering",
|
|
||||||
"RequiredPermissionName": "Abp.Identity.PermissionGroups",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "Abp.Identity",
|
|
||||||
"Code": "Abp.Identity.Permissions",
|
|
||||||
"DisplayName": "Abp.Identity.Permissions",
|
|
||||||
"Order": 2,
|
|
||||||
"Url": "/admin/list/Abp.Identity.Permissions",
|
|
||||||
"Icon": "FcSupport",
|
|
||||||
"RequiredPermissionName": "Abp.Identity.Permissions",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "Abp.Identity",
|
|
||||||
"Code": "App.ClaimType",
|
|
||||||
"DisplayName": "App.ClaimType",
|
|
||||||
"Order": 3,
|
|
||||||
"Url": "/admin/list/App.ClaimType",
|
|
||||||
"Icon": "FcOrganization",
|
|
||||||
"RequiredPermissionName": "App.ClaimType",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "Abp.Identity",
|
|
||||||
"Code": "AbpIdentity.Roles",
|
|
||||||
"DisplayName": "AbpIdentity.Roles",
|
|
||||||
"Order": 4,
|
|
||||||
"Url": "/admin/list/AbpIdentity.Roles",
|
|
||||||
"Icon": "FcFlowChart",
|
|
||||||
"RequiredPermissionName": "AbpIdentity.Roles",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "Abp.Identity",
|
|
||||||
"Code": "AbpIdentity.Users",
|
|
||||||
"DisplayName": "AbpIdentity.Users",
|
|
||||||
"Order": 5,
|
|
||||||
"Url": "/admin/list/AbpIdentity.Users",
|
|
||||||
"Icon": "FcBusinessman",
|
|
||||||
"RequiredPermissionName": "AbpIdentity.Users",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "Abp.Identity",
|
|
||||||
"Code": "Abp.Identity.OrganizationUnits",
|
|
||||||
"DisplayName": "Abp.Identity.OrganizationUnits",
|
|
||||||
"Order": 6,
|
|
||||||
"Url": "/admin/ous",
|
|
||||||
"Icon": "FcOrganization",
|
|
||||||
"RequiredPermissionName": "Abp.Identity.OrganizationUnits",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "Abp.Identity",
|
|
||||||
"Code": "App.IpRestrictions",
|
|
||||||
"DisplayName": "App.IpRestrictions",
|
|
||||||
"Order": 7,
|
|
||||||
"Url": "/admin/list/App.IpRestrictions",
|
|
||||||
"Icon": "FcNfcSign",
|
|
||||||
"RequiredPermissionName": "App.IpRestrictions",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "Abp.Identity",
|
|
||||||
"Code": "App.AuditLogs",
|
|
||||||
"DisplayName": "App.AuditLogs",
|
|
||||||
"Order": 8,
|
|
||||||
"Url": "/admin/list/App.AuditLogs",
|
|
||||||
"Icon": "FcMultipleInputs",
|
|
||||||
"RequiredPermissionName": "App.AuditLogs",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "App.Administration",
|
|
||||||
"Code": "App.Public",
|
"Code": "App.Public",
|
||||||
"DisplayName": "App.Public",
|
"DisplayName": "App.Public",
|
||||||
"Order": 4,
|
"Order": 12,
|
||||||
"Url": null,
|
"Url": null,
|
||||||
"Icon": "FcGenealogy",
|
"Icon": "FcGenealogy",
|
||||||
"RequiredPermissionName": null,
|
"RequiredPermissionName": null,
|
||||||
|
|
@ -858,31 +718,32 @@
|
||||||
"RequiredPermissionName": "App.Contact",
|
"RequiredPermissionName": "App.Contact",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"ParentCode": "App.Administration",
|
"ParentCode": "App.Saas",
|
||||||
"Code": "App.Routes",
|
|
||||||
"DisplayName": "App.Routes",
|
|
||||||
"Order": 5,
|
|
||||||
"Url": "/admin/list/App.Routes",
|
|
||||||
"Icon": "FaSynagogue",
|
|
||||||
"RequiredPermissionName": "App.Routes",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "App.Administration",
|
|
||||||
"Code": "App.Menus",
|
"Code": "App.Menus",
|
||||||
"DisplayName": "App.Menus",
|
"DisplayName": "App.Menus",
|
||||||
"Order": 6,
|
"Order": 13,
|
||||||
"Url": null,
|
"Url": null,
|
||||||
"Icon": "FaSchlix",
|
"Icon": "FaSchlix",
|
||||||
"RequiredPermissionName": null,
|
"RequiredPermissionName": null,
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "App.Menus",
|
||||||
|
"Code": "App.Routes",
|
||||||
|
"DisplayName": "App.Routes",
|
||||||
|
"Order": 1,
|
||||||
|
"Url": "/admin/list/App.Routes",
|
||||||
|
"Icon": "FaSynagogue",
|
||||||
|
"RequiredPermissionName": "App.Routes",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"ParentCode": "App.Menus",
|
"ParentCode": "App.Menus",
|
||||||
"Code": "App.Menus.Menu",
|
"Code": "App.Menus.Menu",
|
||||||
"DisplayName": "App.Menus.Menu",
|
"DisplayName": "App.Menus.Menu",
|
||||||
"Order": 1,
|
"Order": 2,
|
||||||
"Url": "/admin/list/App.Menus.Menu",
|
"Url": "/admin/list/App.Menus.Menu",
|
||||||
"Icon": "FcMenu",
|
"Icon": "FcMenu",
|
||||||
"RequiredPermissionName": "App.Menus.Menu",
|
"RequiredPermissionName": "App.Menus.Menu",
|
||||||
|
|
@ -892,57 +753,27 @@
|
||||||
"ParentCode": "App.Menus",
|
"ParentCode": "App.Menus",
|
||||||
"Code": "App.Menus.Manager",
|
"Code": "App.Menus.Manager",
|
||||||
"DisplayName": "App.Menus.Manager",
|
"DisplayName": "App.Menus.Manager",
|
||||||
"Order": 2,
|
"Order": 3,
|
||||||
"Url": "/admin/menuManager",
|
"Url": "/admin/menuManager",
|
||||||
"Icon": "FaRegListAlt",
|
"Icon": "FaRegListAlt",
|
||||||
"RequiredPermissionName": "App.Menus.Manager",
|
"RequiredPermissionName": "App.Menus.Manager",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ParentCode": "App.Administration",
|
"ParentCode": "App.Saas",
|
||||||
"Code": "App.Files",
|
"Code": "App.Files",
|
||||||
"DisplayName": "App.Files",
|
"DisplayName": "App.Files",
|
||||||
"Order": 7,
|
"Order": 14,
|
||||||
"Url": "/admin/files",
|
"Url": "/admin/files",
|
||||||
"Icon": "FcFolder",
|
"Icon": "FcFolder",
|
||||||
"RequiredPermissionName": "App.Files",
|
"RequiredPermissionName": "App.Files",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ParentCode": "App.Administration",
|
"ParentCode": "App.Saas",
|
||||||
"Code": "App.Reports.Management",
|
|
||||||
"DisplayName": "App.Reports.Management",
|
|
||||||
"Order": 8,
|
|
||||||
"Url": null,
|
|
||||||
"Icon": "FcDocument",
|
|
||||||
"RequiredPermissionName": null,
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "App.Reports.Management",
|
|
||||||
"Code": "App.Reports.Categories",
|
|
||||||
"DisplayName": "App.Reports.Categories",
|
|
||||||
"Order": 1,
|
|
||||||
"Url": "/admin/list/App.Reports.Categories",
|
|
||||||
"Icon": "FcProcess",
|
|
||||||
"RequiredPermissionName": "App.Reports.Categories",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "App.Reports.Management",
|
|
||||||
"Code": "App.Reports.ReportTemplates",
|
|
||||||
"DisplayName": "App.Reports.ReportTemplates",
|
|
||||||
"Order": 2,
|
|
||||||
"Url": "/admin/list/App.Reports.ReportTemplates",
|
|
||||||
"Icon": "FcSimCardChip",
|
|
||||||
"RequiredPermissionName": "App.Reports.ReportTemplates",
|
|
||||||
"IsDisabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"ParentCode": "App.Administration",
|
|
||||||
"Code": "App.DeveloperKit",
|
"Code": "App.DeveloperKit",
|
||||||
"DisplayName": "App.DeveloperKit",
|
"DisplayName": "App.DeveloperKit",
|
||||||
"Order": 9,
|
"Order": 15,
|
||||||
"Url": null,
|
"Url": null,
|
||||||
"Icon": "FcAndroidOs",
|
"Icon": "FcAndroidOs",
|
||||||
"RequiredPermissionName": null,
|
"RequiredPermissionName": null,
|
||||||
|
|
@ -1008,11 +839,193 @@
|
||||||
"RequiredPermissionName": "App.Listforms.Wizard",
|
"RequiredPermissionName": "App.Listforms.Wizard",
|
||||||
"IsDisabled": false
|
"IsDisabled": false
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"ParentCode": "App.Saas",
|
||||||
|
"Code": "App.ForumManagement",
|
||||||
|
"DisplayName": "App.ForumManagement",
|
||||||
|
"Order": 16,
|
||||||
|
"Url": "/admin/forumManagement",
|
||||||
|
"Icon": "FcReading",
|
||||||
|
"RequiredPermissionName": "App.ForumManagement",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": null,
|
||||||
|
"Code": "App.Administration",
|
||||||
|
"DisplayName": "App.Administration",
|
||||||
|
"Order": 200,
|
||||||
|
"Url": null,
|
||||||
|
"Icon": "FcOrganization",
|
||||||
|
"RequiredPermissionName": null,
|
||||||
|
"IsDisabled": false,
|
||||||
|
"ShortName": "Adm"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "App.Administration",
|
||||||
|
"Code": "App.Setting",
|
||||||
|
"DisplayName": "App.Setting",
|
||||||
|
"Order": 1,
|
||||||
|
"Url": "/admin/settings",
|
||||||
|
"Icon": "FcSettings",
|
||||||
|
"RequiredPermissionName": "App.Setting",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "App.Administration",
|
||||||
|
"Code": "App.Administration.Definitions",
|
||||||
|
"DisplayName": "App.Definitions",
|
||||||
|
"Order": 2,
|
||||||
|
"Url": null,
|
||||||
|
"Icon": "FcFilingCabinet",
|
||||||
|
"RequiredPermissionName": null,
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "App.Administration.Definitions",
|
||||||
|
"Code": "App.Definitions.Sector",
|
||||||
|
"DisplayName": "App.Definitions.Sector",
|
||||||
|
"Order": 1,
|
||||||
|
"Url": "/admin/list/App.Definitions.Sector",
|
||||||
|
"Icon": "FcBiomass",
|
||||||
|
"RequiredPermissionName": "App.Definitions.Sector",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "App.Administration.Definitions",
|
||||||
|
"Code": "App.Definitions.WorkHour",
|
||||||
|
"DisplayName": "App.Definitions.WorkHour",
|
||||||
|
"Order": 2,
|
||||||
|
"Url": "/admin/list/App.Definitions.WorkHour",
|
||||||
|
"Icon": "FcClock",
|
||||||
|
"RequiredPermissionName": "App.Definitions.WorkHour",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "App.Administration",
|
||||||
|
"Code": "Abp.Identity",
|
||||||
|
"DisplayName": "Abp.Identity",
|
||||||
|
"Order": 3,
|
||||||
|
"Url": null,
|
||||||
|
"Icon": "FcConferenceCall",
|
||||||
|
"RequiredPermissionName": null,
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "Abp.Identity",
|
||||||
|
"Code": "Abp.Identity.PermissionGroups",
|
||||||
|
"DisplayName": "Abp.Identity.PermissionGroups",
|
||||||
|
"Order": 1,
|
||||||
|
"Url": "/admin/list/Abp.Identity.PermissionGroups",
|
||||||
|
"Icon": "FcEngineering",
|
||||||
|
"RequiredPermissionName": "Abp.Identity.PermissionGroups",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "Abp.Identity",
|
||||||
|
"Code": "Abp.Identity.Permissions",
|
||||||
|
"DisplayName": "Abp.Identity.Permissions",
|
||||||
|
"Order": 2,
|
||||||
|
"Url": "/admin/list/Abp.Identity.Permissions",
|
||||||
|
"Icon": "FcSupport",
|
||||||
|
"RequiredPermissionName": "Abp.Identity.Permissions",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "Abp.Identity",
|
||||||
|
"Code": "App.ClaimType",
|
||||||
|
"DisplayName": "App.ClaimType",
|
||||||
|
"Order": 3,
|
||||||
|
"Url": "/admin/list/App.ClaimType",
|
||||||
|
"Icon": "FcOrganization",
|
||||||
|
"RequiredPermissionName": "App.ClaimType",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "Abp.Identity",
|
||||||
|
"Code": "AbpIdentity.Roles",
|
||||||
|
"DisplayName": "AbpIdentity.Roles",
|
||||||
|
"Order": 4,
|
||||||
|
"Url": "/admin/list/AbpIdentity.Roles",
|
||||||
|
"Icon": "FcFlowChart",
|
||||||
|
"RequiredPermissionName": "AbpIdentity.Roles",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "Abp.Identity",
|
||||||
|
"Code": "AbpIdentity.Users",
|
||||||
|
"DisplayName": "AbpIdentity.Users",
|
||||||
|
"Order": 5,
|
||||||
|
"Url": "/admin/list/AbpIdentity.Users",
|
||||||
|
"Icon": "FcBusinessman",
|
||||||
|
"RequiredPermissionName": "AbpIdentity.Users",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "Abp.Identity",
|
||||||
|
"Code": "Abp.Identity.OrganizationUnits",
|
||||||
|
"DisplayName": "Abp.Identity.OrganizationUnits",
|
||||||
|
"Order": 6,
|
||||||
|
"Url": "/admin/ous",
|
||||||
|
"Icon": "FcOrganization",
|
||||||
|
"RequiredPermissionName": "Abp.Identity.OrganizationUnits",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "Abp.Identity",
|
||||||
|
"Code": "App.IpRestrictions",
|
||||||
|
"DisplayName": "App.IpRestrictions",
|
||||||
|
"Order": 7,
|
||||||
|
"Url": "/admin/list/App.IpRestrictions",
|
||||||
|
"Icon": "FcNfcSign",
|
||||||
|
"RequiredPermissionName": "App.IpRestrictions",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "Abp.Identity",
|
||||||
|
"Code": "App.AuditLogs",
|
||||||
|
"DisplayName": "App.AuditLogs",
|
||||||
|
"Order": 8,
|
||||||
|
"Url": "/admin/list/App.AuditLogs",
|
||||||
|
"Icon": "FcMultipleInputs",
|
||||||
|
"RequiredPermissionName": "App.AuditLogs",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "App.Administration",
|
||||||
|
"Code": "App.Reports.Management",
|
||||||
|
"DisplayName": "App.Reports.Management",
|
||||||
|
"Order": 4,
|
||||||
|
"Url": null,
|
||||||
|
"Icon": "FcDocument",
|
||||||
|
"RequiredPermissionName": null,
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "App.Reports.Management",
|
||||||
|
"Code": "App.Reports.Categories",
|
||||||
|
"DisplayName": "App.Reports.Categories",
|
||||||
|
"Order": 1,
|
||||||
|
"Url": "/admin/list/App.Reports.Categories",
|
||||||
|
"Icon": "FcProcess",
|
||||||
|
"RequiredPermissionName": "App.Reports.Categories",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ParentCode": "App.Reports.Management",
|
||||||
|
"Code": "App.Reports.ReportTemplates",
|
||||||
|
"DisplayName": "App.Reports.ReportTemplates",
|
||||||
|
"Order": 2,
|
||||||
|
"Url": "/admin/list/App.Reports.ReportTemplates",
|
||||||
|
"Icon": "FcSimCardChip",
|
||||||
|
"RequiredPermissionName": "App.Reports.ReportTemplates",
|
||||||
|
"IsDisabled": false
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"ParentCode": "App.Administration",
|
"ParentCode": "App.Administration",
|
||||||
"Code": "App.Forum",
|
"Code": "App.Forum",
|
||||||
"DisplayName": "App.Forum",
|
"DisplayName": "App.Forum",
|
||||||
"Order": 11,
|
"Order": 5,
|
||||||
"Url": "/admin/forum",
|
"Url": "/admin/forum",
|
||||||
"Icon": "FcLink",
|
"Icon": "FcLink",
|
||||||
"RequiredPermissionName": "App.ForumManagement.Publish",
|
"RequiredPermissionName": "App.ForumManagement.Publish",
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -15,6 +15,17 @@ public static class TableNameResolver
|
||||||
{ nameof(TableNameEnum.LogEntry), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
{ nameof(TableNameEnum.LogEntry), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
{ nameof(TableNameEnum.AiBot), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
{ nameof(TableNameEnum.AiBot), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
{ nameof(TableNameEnum.GlobalSearch), (TablePrefix.TenantByName, MenuPrefix.Saas) },
|
{ nameof(TableNameEnum.GlobalSearch), (TablePrefix.TenantByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.ContactTitle), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.Currency), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.CountryGroup), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.Country), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.City), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.District), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.SkillType), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.Skill), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.SkillLevel), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.UomCategory), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.Uom), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
{ nameof(TableNameEnum.Branch), (TablePrefix.TenantByName, MenuPrefix.Saas) },
|
{ nameof(TableNameEnum.Branch), (TablePrefix.TenantByName, MenuPrefix.Saas) },
|
||||||
{ nameof(TableNameEnum.BranchUsers), (TablePrefix.TenantByName, MenuPrefix.Saas) },
|
{ nameof(TableNameEnum.BranchUsers), (TablePrefix.TenantByName, MenuPrefix.Saas) },
|
||||||
{ nameof(TableNameEnum.SettingDefinition), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
{ nameof(TableNameEnum.SettingDefinition), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
|
@ -36,42 +47,31 @@ public static class TableNameResolver
|
||||||
{ nameof(TableNameEnum.ForumCategory), (TablePrefix.TenantByName, MenuPrefix.Saas) },
|
{ nameof(TableNameEnum.ForumCategory), (TablePrefix.TenantByName, MenuPrefix.Saas) },
|
||||||
{ nameof(TableNameEnum.ForumTopic), (TablePrefix.TenantByName, MenuPrefix.Saas) },
|
{ nameof(TableNameEnum.ForumTopic), (TablePrefix.TenantByName, MenuPrefix.Saas) },
|
||||||
{ nameof(TableNameEnum.ForumPost), (TablePrefix.TenantByName, MenuPrefix.Saas) },
|
{ nameof(TableNameEnum.ForumPost), (TablePrefix.TenantByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.About), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.Service), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.Product), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.PaymentMethod), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.InstallmentOption), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.Order), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.OrderItem), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.BlogCategory), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.BlogPost), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.Demo), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.Contact), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.Route), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.Menu), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.CrudEndpoint), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.CustomEndpoint), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.CustomComponent), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
{ nameof(TableNameEnum.DynamicService), (TablePrefix.PlatformByName, MenuPrefix.Saas) },
|
||||||
|
|
||||||
// 🔹 ADMINISTRATION TABLOLARI
|
// 🔹 ADMINISTRATION TABLOLARI
|
||||||
{ nameof(TableNameEnum.ContactTitle), (TablePrefix.PlatformByName, MenuPrefix.Administration) },
|
{ nameof(TableNameEnum.Sector), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
||||||
{ nameof(TableNameEnum.Sector), (TablePrefix.PlatformByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.Currency), (TablePrefix.PlatformByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.CountryGroup), (TablePrefix.PlatformByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.Country), (TablePrefix.PlatformByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.City), (TablePrefix.PlatformByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.District), (TablePrefix.PlatformByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.WorkHour), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
{ nameof(TableNameEnum.WorkHour), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
||||||
{ nameof(TableNameEnum.SkillType), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.Skill), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.SkillLevel), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.UomCategory), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.Uom), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.IpRestriction), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
{ nameof(TableNameEnum.IpRestriction), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
||||||
{ nameof(TableNameEnum.About), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.Service), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.Product), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.PaymentMethod), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.InstallmentOption), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.Order), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.OrderItem), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.BlogCategory), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.BlogPost), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.Demo), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.Contact), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.Route), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.Menu), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.Note), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
{ nameof(TableNameEnum.Note), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
||||||
{ nameof(TableNameEnum.ReportCategory), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
{ nameof(TableNameEnum.ReportCategory), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
||||||
{ nameof(TableNameEnum.ReportTemplate), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
{ nameof(TableNameEnum.ReportTemplate), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
||||||
{ nameof(TableNameEnum.CrudEndpoint), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.CustomEndpoint), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.CustomComponent), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
|
||||||
{ nameof(TableNameEnum.DynamicService), (TablePrefix.TenantByName, MenuPrefix.Administration) },
|
|
||||||
};
|
};
|
||||||
|
|
||||||
public static string GetFullTableName(string tableName)
|
public static string GetFullTableName(string tableName)
|
||||||
|
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
using Volo.Abp.Domain.Entities.Auditing;
|
|
||||||
|
|
||||||
namespace Sozsoft.Platform.Entities;
|
|
||||||
|
|
||||||
public class Sector : FullAuditedEntity<string>
|
|
||||||
{
|
|
||||||
public string Name { get; set; }
|
|
||||||
|
|
||||||
public Sector(string id)
|
|
||||||
{
|
|
||||||
Id = id;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,12 +1,9 @@
|
||||||
using System;
|
using Volo.Abp.Domain.Entities.Auditing;
|
||||||
using Volo.Abp.Domain.Entities.Auditing;
|
|
||||||
|
|
||||||
namespace Sozsoft.Platform.Entities;
|
namespace Sozsoft.Platform.Entities;
|
||||||
|
|
||||||
public class Skill : FullAuditedEntity<string>
|
public class Skill : FullAuditedEntity<string>
|
||||||
{
|
{
|
||||||
public Guid? TenantId { get; set; }
|
|
||||||
|
|
||||||
public string SkillTypeId { get; set; }
|
public string SkillTypeId { get; set; }
|
||||||
public SkillType SkillType { get; set; }
|
public SkillType SkillType { get; set; }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,9 @@
|
||||||
using System;
|
using Volo.Abp.Domain.Entities.Auditing;
|
||||||
using Volo.Abp.Domain.Entities.Auditing;
|
|
||||||
using Volo.Abp.MultiTenancy;
|
|
||||||
|
|
||||||
namespace Sozsoft.Platform.Entities;
|
namespace Sozsoft.Platform.Entities;
|
||||||
|
|
||||||
public class SkillLevel : FullAuditedEntity<string>
|
public class SkillLevel : FullAuditedEntity<string>
|
||||||
{
|
{
|
||||||
public Guid? TenantId { get; set; }
|
|
||||||
|
|
||||||
public string SkillTypeId { get; set; }
|
public string SkillTypeId { get; set; }
|
||||||
public SkillType SkillType { get; set; }
|
public SkillType SkillType { get; set; }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,11 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Volo.Abp.Domain.Entities.Auditing;
|
using Volo.Abp.Domain.Entities.Auditing;
|
||||||
using Volo.Abp.MultiTenancy;
|
|
||||||
|
|
||||||
namespace Sozsoft.Platform.Entities;
|
namespace Sozsoft.Platform.Entities;
|
||||||
|
|
||||||
public class SkillType : FullAuditedEntity<string>
|
public class SkillType : FullAuditedEntity<string>
|
||||||
{
|
{
|
||||||
public Guid? TenantId { get; set; }
|
|
||||||
|
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
|
|
||||||
public ICollection<Skill> Skills { get; set; }
|
public ICollection<Skill> Skills { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,10 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using Volo.Abp.Domain.Entities.Auditing;
|
using Volo.Abp.Domain.Entities.Auditing;
|
||||||
using Volo.Abp.MultiTenancy;
|
|
||||||
|
|
||||||
namespace Sozsoft.Platform.Entities;
|
namespace Sozsoft.Platform.Entities;
|
||||||
|
|
||||||
public class Uom : FullAuditedEntity<string>
|
public class Uom : FullAuditedEntity<string>
|
||||||
{
|
{
|
||||||
public Guid? TenantId { get; set; }
|
|
||||||
|
|
||||||
public string UomCategoryId { get; set; }
|
public string UomCategoryId { get; set; }
|
||||||
public UomCategory UomCategory { get; set; }
|
public UomCategory UomCategory { get; set; }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,10 @@
|
||||||
using System;
|
using System.Collections.Generic;
|
||||||
using System.Collections.Generic;
|
|
||||||
using Volo.Abp.Domain.Entities.Auditing;
|
using Volo.Abp.Domain.Entities.Auditing;
|
||||||
using Volo.Abp.MultiTenancy;
|
|
||||||
|
|
||||||
namespace Sozsoft.Platform.Entities;
|
namespace Sozsoft.Platform.Entities;
|
||||||
|
|
||||||
public class UomCategory : FullAuditedEntity<string>
|
public class UomCategory : FullAuditedEntity<string>
|
||||||
{
|
{
|
||||||
public Guid? TenantId { get; set; }
|
|
||||||
|
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
|
|
||||||
public ICollection<Uom> Uoms { get; set; }
|
public ICollection<Uom> Uoms { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,10 @@
|
||||||
using System;
|
using System;
|
||||||
using Volo.Abp.Domain.Entities.Auditing;
|
using Volo.Abp.Domain.Entities.Auditing;
|
||||||
using Volo.Abp.MultiTenancy;
|
|
||||||
|
|
||||||
namespace Sozsoft.Platform.Entities;
|
namespace Sozsoft.Platform.Entities;
|
||||||
|
|
||||||
public class Menu : FullAuditedEntity<Guid>, IMultiTenant
|
public class Menu : FullAuditedEntity<Guid>
|
||||||
{
|
{
|
||||||
public Guid? TenantId { get; set; }
|
|
||||||
|
|
||||||
public string Code { get; set; }
|
public string Code { get; set; }
|
||||||
public string DisplayName { get; set; }
|
public string DisplayName { get; set; }
|
||||||
public int Order { get; set; }
|
public int Order { get; set; }
|
||||||
|
|
@ -25,6 +22,5 @@ public class Menu : FullAuditedEntity<Guid>, IMultiTenant
|
||||||
public string UserId { get; set; } // External kullanici id (orn: ali.akman. ihtiyaca gore guid veya int de olabilir)
|
public string UserId { get; set; } // External kullanici id (orn: ali.akman. ihtiyaca gore guid veya int de olabilir)
|
||||||
public string RoleId { get; set; } // External role id (orn: ihracat)
|
public string RoleId { get; set; } // External role id (orn: ihracat)
|
||||||
public string CultureName { get; set; } // Bu tanim hangi dil icin "en", "tr"
|
public string CultureName { get; set; } // Bu tanim hangi dil icin "en", "tr"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -4,10 +4,8 @@ using Volo.Abp.MultiTenancy;
|
||||||
|
|
||||||
namespace Sozsoft.Platform.Entities;
|
namespace Sozsoft.Platform.Entities;
|
||||||
|
|
||||||
public class Route : FullAuditedEntity<Guid>, IMultiTenant
|
public class Route : FullAuditedEntity<Guid>
|
||||||
{
|
{
|
||||||
public Guid? TenantId { get; set; }
|
|
||||||
|
|
||||||
public string Key { get; set; }
|
public string Key { get; set; }
|
||||||
public string Path { get; set; }
|
public string Path { get; set; }
|
||||||
public string ComponentPath { get; set; }
|
public string ComponentPath { get; set; }
|
||||||
|
|
@ -1,13 +1,10 @@
|
||||||
using System;
|
using System;
|
||||||
using Volo.Abp.Domain.Entities.Auditing;
|
using Volo.Abp.Domain.Entities.Auditing;
|
||||||
using Volo.Abp.MultiTenancy;
|
|
||||||
|
|
||||||
namespace Sozsoft.Platform.Entities;
|
namespace Sozsoft.Platform.Entities;
|
||||||
|
|
||||||
public class About : FullAuditedEntity<Guid>, IMultiTenant
|
public class About : FullAuditedEntity<Guid>
|
||||||
{
|
{
|
||||||
public Guid? TenantId { get; set; }
|
|
||||||
|
|
||||||
public string StatsJson { get; set; }
|
public string StatsJson { get; set; }
|
||||||
public string DescriptionsJson { get; set; }
|
public string DescriptionsJson { get; set; }
|
||||||
public string SectionsJson { get; set; }
|
public string SectionsJson { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,11 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Volo.Abp.Domain.Entities.Auditing;
|
using Volo.Abp.Domain.Entities.Auditing;
|
||||||
using Volo.Abp.MultiTenancy;
|
|
||||||
|
|
||||||
namespace Sozsoft.Platform.Entities;
|
namespace Sozsoft.Platform.Entities;
|
||||||
|
|
||||||
public class BlogCategory : FullAuditedEntity<Guid>, IMultiTenant
|
public class BlogCategory : FullAuditedEntity<Guid>
|
||||||
{
|
{
|
||||||
public Guid? TenantId { get; set; }
|
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public string Slug { get; set; }
|
public string Slug { get; set; }
|
||||||
public string Description { get; set; }
|
public string Description { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,10 @@
|
||||||
using System;
|
using System;
|
||||||
using Volo.Abp.Domain.Entities.Auditing;
|
using Volo.Abp.Domain.Entities.Auditing;
|
||||||
using Volo.Abp.MultiTenancy;
|
|
||||||
|
|
||||||
namespace Sozsoft.Platform.Entities;
|
namespace Sozsoft.Platform.Entities;
|
||||||
|
|
||||||
public class BlogPost : FullAuditedEntity<Guid>, IMultiTenant
|
public class BlogPost : FullAuditedEntity<Guid>
|
||||||
{
|
{
|
||||||
public Guid? TenantId { get; set; }
|
|
||||||
|
|
||||||
public string Title { get; set; }
|
public string Title { get; set; }
|
||||||
public string Slug { get; set; }
|
public string Slug { get; set; }
|
||||||
public string ContentTr { get; set; }
|
public string ContentTr { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,10 @@
|
||||||
using System;
|
using System;
|
||||||
using Volo.Abp.Domain.Entities.Auditing;
|
using Volo.Abp.Domain.Entities.Auditing;
|
||||||
using Volo.Abp.MultiTenancy;
|
|
||||||
|
|
||||||
namespace Sozsoft.Platform.Entities;
|
namespace Sozsoft.Platform.Entities;
|
||||||
|
|
||||||
public class Contact : FullAuditedEntity<Guid>, IMultiTenant
|
public class Contact : FullAuditedEntity<Guid>
|
||||||
{
|
{
|
||||||
public Guid? TenantId { get; set; }
|
|
||||||
|
|
||||||
public string Address { get; set; }
|
public string Address { get; set; }
|
||||||
public string PhoneNumber { get; set; }
|
public string PhoneNumber { get; set; }
|
||||||
public string Email { get; set; }
|
public string Email { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,10 @@
|
||||||
using System;
|
using System;
|
||||||
using Volo.Abp.Domain.Entities.Auditing;
|
using Volo.Abp.Domain.Entities.Auditing;
|
||||||
using Volo.Abp.MultiTenancy;
|
|
||||||
|
|
||||||
namespace Sozsoft.Platform.Entities;
|
namespace Sozsoft.Platform.Entities;
|
||||||
|
|
||||||
public class Demo : FullAuditedEntity<Guid>, IMultiTenant
|
public class Demo : FullAuditedEntity<Guid>
|
||||||
{
|
{
|
||||||
public Guid? TenantId { get; set; }
|
|
||||||
|
|
||||||
public string OrganizationName { get; set; }
|
public string OrganizationName { get; set; }
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public string Email { get; set; }
|
public string Email { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,9 @@
|
||||||
using System;
|
using System;
|
||||||
using Volo.Abp.Domain.Entities.Auditing;
|
using Volo.Abp.Domain.Entities.Auditing;
|
||||||
using Volo.Abp.MultiTenancy;
|
|
||||||
|
|
||||||
namespace Sozsoft.Platform.Entities;
|
namespace Sozsoft.Platform.Entities;
|
||||||
|
|
||||||
public class InstallmentOption : FullAuditedEntity<Guid>, IMultiTenant
|
public class InstallmentOption : FullAuditedEntity<Guid>
|
||||||
{
|
{
|
||||||
public Guid? TenantId { get; set; }
|
public Guid? TenantId { get; set; }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,11 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Volo.Abp.Domain.Entities.Auditing;
|
using Volo.Abp.Domain.Entities.Auditing;
|
||||||
using Volo.Abp.MultiTenancy;
|
|
||||||
|
|
||||||
namespace Sozsoft.Platform.Entities;
|
namespace Sozsoft.Platform.Entities;
|
||||||
|
|
||||||
public class Order : FullAuditedEntity<Guid>, IMultiTenant
|
public class Order : FullAuditedEntity<Guid>
|
||||||
{
|
{
|
||||||
public Guid? TenantId { get; set; }
|
|
||||||
|
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public bool IsActive { get; set; }
|
public bool IsActive { get; set; }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,22 +1,12 @@
|
||||||
using System;
|
using System;
|
||||||
using Volo.Abp.Domain.Entities.Auditing;
|
using Volo.Abp.Domain.Entities.Auditing;
|
||||||
using Volo.Abp.MultiTenancy;
|
|
||||||
|
|
||||||
namespace Sozsoft.Platform.Entities;
|
namespace Sozsoft.Platform.Entities;
|
||||||
|
|
||||||
public class PaymentMethod : FullAuditedEntity<string>, IMultiTenant
|
public class PaymentMethod : FullAuditedEntity<Guid>
|
||||||
{
|
{
|
||||||
public Guid? TenantId { get; set; }
|
|
||||||
|
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public decimal Commission { get; set; }
|
public decimal Commission { get; set; }
|
||||||
public string Logo { get; set; }
|
public string Logo { get; set; }
|
||||||
|
|
||||||
Guid? IMultiTenant.TenantId => TenantId;
|
|
||||||
|
|
||||||
public PaymentMethod(string id)
|
|
||||||
{
|
|
||||||
Id = id;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,10 @@
|
||||||
using System;
|
using System;
|
||||||
using Volo.Abp.Domain.Entities.Auditing;
|
using Volo.Abp.Domain.Entities.Auditing;
|
||||||
using Volo.Abp.MultiTenancy;
|
|
||||||
|
|
||||||
namespace Sozsoft.Platform.Entities;
|
namespace Sozsoft.Platform.Entities;
|
||||||
|
|
||||||
public class Product : FullAuditedEntity<Guid>, IMultiTenant
|
public class Product : FullAuditedEntity<Guid>
|
||||||
{
|
{
|
||||||
public Guid? TenantId { get; set; }
|
|
||||||
|
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public string Description { get; set; }
|
public string Description { get; set; }
|
||||||
public string Category { get; set; }
|
public string Category { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,10 @@
|
||||||
using System;
|
using System;
|
||||||
using Volo.Abp.Domain.Entities.Auditing;
|
using Volo.Abp.Domain.Entities.Auditing;
|
||||||
using Volo.Abp.MultiTenancy;
|
|
||||||
|
|
||||||
namespace Sozsoft.Platform.Entities;
|
namespace Sozsoft.Platform.Entities;
|
||||||
|
|
||||||
public class Service : FullAuditedEntity<Guid>, IMultiTenant
|
public class Service : FullAuditedEntity<Guid>
|
||||||
{
|
{
|
||||||
public Guid? TenantId { get; set; }
|
|
||||||
|
|
||||||
public string? Icon { get; set; }
|
public string? Icon { get; set; }
|
||||||
public string Title { get; set; }
|
public string Title { get; set; }
|
||||||
public string? Description { get; set; }
|
public string? Description { get; set; }
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
using System;
|
||||||
|
using Volo.Abp.Domain.Entities.Auditing;
|
||||||
|
using Volo.Abp.MultiTenancy;
|
||||||
|
|
||||||
|
namespace Sozsoft.Platform.Entities;
|
||||||
|
|
||||||
|
public class Sector : FullAuditedEntity<Guid>, IMultiTenant
|
||||||
|
{
|
||||||
|
public Guid? TenantId { get; set; }
|
||||||
|
|
||||||
|
public string Name { get; set; }
|
||||||
|
|
||||||
|
Guid? IMultiTenant.TenantId => TenantId;
|
||||||
|
}
|
||||||
|
|
@ -4,7 +4,7 @@ using Volo.Abp.MultiTenancy;
|
||||||
|
|
||||||
namespace Sozsoft.Platform.Entities;
|
namespace Sozsoft.Platform.Entities;
|
||||||
|
|
||||||
public class WorkHour : FullAuditedEntity<string>, IMultiTenant
|
public class WorkHour : FullAuditedEntity<Guid>, IMultiTenant
|
||||||
{
|
{
|
||||||
public Guid? TenantId { get; set; }
|
public Guid? TenantId { get; set; }
|
||||||
|
|
||||||
|
|
@ -21,10 +21,5 @@ public class WorkHour : FullAuditedEntity<string>, IMultiTenant
|
||||||
public bool? Sunday { get; set; }
|
public bool? Sunday { get; set; }
|
||||||
|
|
||||||
Guid? IMultiTenant.TenantId => TenantId;
|
Guid? IMultiTenant.TenantId => TenantId;
|
||||||
|
|
||||||
public WorkHour(string id)
|
|
||||||
{
|
|
||||||
Id = id;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -401,7 +401,7 @@ public class SelectQueryManager : PlatformDomainService, ISelectQueryManager
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
whereParts.Add($"(\"TenantId\" IS NULL OR \"TenantId\" = '{Guid.Empty}')");
|
whereParts.Add($"\"TenantId\" IS NULL");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -209,8 +209,6 @@ public class PlatformDbContext :
|
||||||
b.ToTable(TableNameResolver.GetFullTableName(nameof(TableNameEnum.Route)), Prefix.DbSchema);
|
b.ToTable(TableNameResolver.GetFullTableName(nameof(TableNameEnum.Route)), Prefix.DbSchema);
|
||||||
b.ConfigureByConvention();
|
b.ConfigureByConvention();
|
||||||
|
|
||||||
b.HasIndex(x => x.Key).IsUnique();
|
|
||||||
|
|
||||||
b.Property(x => x.Key).IsRequired().HasMaxLength(128);
|
b.Property(x => x.Key).IsRequired().HasMaxLength(128);
|
||||||
b.Property(x => x.Path).IsRequired().HasMaxLength(256);
|
b.Property(x => x.Path).IsRequired().HasMaxLength(256);
|
||||||
b.Property(x => x.ComponentPath).IsRequired().HasMaxLength(256);
|
b.Property(x => x.ComponentPath).IsRequired().HasMaxLength(256);
|
||||||
|
|
@ -598,7 +596,6 @@ public class PlatformDbContext :
|
||||||
b.ToTable(TableNameResolver.GetFullTableName(nameof(TableNameEnum.Sector)), Prefix.DbSchema);
|
b.ToTable(TableNameResolver.GetFullTableName(nameof(TableNameEnum.Sector)), Prefix.DbSchema);
|
||||||
b.ConfigureByConvention();
|
b.ConfigureByConvention();
|
||||||
|
|
||||||
b.Property(x => x.Id).HasMaxLength(128);
|
|
||||||
b.Property(x => x.Name).IsRequired().HasMaxLength(128);
|
b.Property(x => x.Name).IsRequired().HasMaxLength(128);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -756,8 +753,6 @@ public class PlatformDbContext :
|
||||||
b.ToTable(TableNameResolver.GetFullTableName(nameof(TableNameEnum.WorkHour)), Prefix.DbSchema);
|
b.ToTable(TableNameResolver.GetFullTableName(nameof(TableNameEnum.WorkHour)), Prefix.DbSchema);
|
||||||
b.ConfigureByConvention();
|
b.ConfigureByConvention();
|
||||||
|
|
||||||
b.HasKey(x => new { x.Id, x.TenantId });
|
|
||||||
b.Property(x => x.Id).HasMaxLength(64);
|
|
||||||
b.Property(x => x.Name).HasMaxLength(64).IsRequired();
|
b.Property(x => x.Name).HasMaxLength(64).IsRequired();
|
||||||
b.Property(x => x.StartTime).HasMaxLength(8).IsRequired();
|
b.Property(x => x.StartTime).HasMaxLength(8).IsRequired();
|
||||||
b.Property(x => x.EndTime).HasMaxLength(8).IsRequired();
|
b.Property(x => x.EndTime).HasMaxLength(8).IsRequired();
|
||||||
|
|
@ -825,7 +820,6 @@ public class PlatformDbContext :
|
||||||
{
|
{
|
||||||
b.ToTable(TableNameResolver.GetFullTableName(nameof(TableNameEnum.PaymentMethod)), Prefix.DbSchema);
|
b.ToTable(TableNameResolver.GetFullTableName(nameof(TableNameEnum.PaymentMethod)), Prefix.DbSchema);
|
||||||
b.ConfigureByConvention();
|
b.ConfigureByConvention();
|
||||||
b.HasKey(x => new { x.Id, x.TenantId });
|
|
||||||
|
|
||||||
b.Property(x => x.Name).IsRequired().HasMaxLength(64);
|
b.Property(x => x.Name).IsRequired().HasMaxLength(64);
|
||||||
b.Property(x => x.Logo).HasMaxLength(32);
|
b.Property(x => x.Logo).HasMaxLength(32);
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
|
||||||
namespace Sozsoft.Platform.Migrations
|
namespace Sozsoft.Platform.Migrations
|
||||||
{
|
{
|
||||||
[DbContext(typeof(PlatformDbContext))]
|
[DbContext(typeof(PlatformDbContext))]
|
||||||
[Migration("20260310134051_Initial")]
|
[Migration("20260310211156_Initial")]
|
||||||
partial class Initial
|
partial class Initial
|
||||||
{
|
{
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
|
|
@ -618,13 +618,9 @@ namespace Sozsoft.Platform.Migrations
|
||||||
b.Property<string>("StatsJson")
|
b.Property<string>("StatsJson")
|
||||||
.HasColumnType("text");
|
.HasColumnType("text");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier")
|
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_About", (string)null);
|
b.ToTable("Sas_H_About", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.AiBot", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.AiBot", b =>
|
||||||
|
|
@ -788,15 +784,11 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasMaxLength(128)
|
.HasMaxLength(128)
|
||||||
.HasColumnType("nvarchar(128)");
|
.HasColumnType("nvarchar(128)");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier")
|
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.HasIndex("Slug");
|
b.HasIndex("Slug");
|
||||||
|
|
||||||
b.ToTable("Adm_T_BlogCategory", (string)null);
|
b.ToTable("Sas_H_BlogCategory", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.BlogPost", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.BlogPost", b =>
|
||||||
|
|
@ -875,10 +867,6 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasMaxLength(512)
|
.HasMaxLength(512)
|
||||||
.HasColumnType("nvarchar(512)");
|
.HasColumnType("nvarchar(512)");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier")
|
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.Property<string>("Title")
|
b.Property<string>("Title")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasMaxLength(256)
|
.HasMaxLength(256)
|
||||||
|
|
@ -900,7 +888,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("Slug");
|
b.HasIndex("Slug");
|
||||||
|
|
||||||
b.ToTable("Adm_T_BlogPost", (string)null);
|
b.ToTable("Sas_H_BlogPost", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.Branch", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.Branch", b =>
|
||||||
|
|
@ -1098,7 +1086,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.IsUnique()
|
.IsUnique()
|
||||||
.HasFilter("[Country] IS NOT NULL");
|
.HasFilter("[Country] IS NOT NULL");
|
||||||
|
|
||||||
b.ToTable("Adm_H_City", (string)null);
|
b.ToTable("Sas_H_City", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.Contact", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.Contact", b =>
|
||||||
|
|
@ -1161,16 +1149,12 @@ namespace Sozsoft.Platform.Migrations
|
||||||
b.Property<long?>("TaxNumber")
|
b.Property<long?>("TaxNumber")
|
||||||
.HasColumnType("bigint");
|
.HasColumnType("bigint");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier")
|
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.Property<string>("WorkHoursJson")
|
b.Property<string>("WorkHoursJson")
|
||||||
.HasColumnType("text");
|
.HasColumnType("text");
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_Contact", (string)null);
|
b.ToTable("Sas_H_Contact", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.ContactTitle", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.ContactTitle", b =>
|
||||||
|
|
@ -1219,7 +1203,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_H_ContactTitle", (string)null);
|
b.ToTable("Sas_H_ContactTitle", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.Country", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.Country", b =>
|
||||||
|
|
@ -1292,7 +1276,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
b.HasIndex("Name")
|
b.HasIndex("Name")
|
||||||
.IsUnique();
|
.IsUnique();
|
||||||
|
|
||||||
b.ToTable("Adm_H_Country", (string)null);
|
b.ToTable("Sas_H_Country", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.CountryGroup", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.CountryGroup", b =>
|
||||||
|
|
@ -1340,7 +1324,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
b.HasIndex("Name")
|
b.HasIndex("Name")
|
||||||
.IsUnique();
|
.IsUnique();
|
||||||
|
|
||||||
b.ToTable("Adm_H_CountryGroup", (string)null);
|
b.ToTable("Sas_H_CountryGroup", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.CrudEndpoint", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.CrudEndpoint", b =>
|
||||||
|
|
@ -1411,7 +1395,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_CrudEndpoint", (string)null);
|
b.ToTable("Sas_H_CrudEndpoint", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.Currency", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.Currency", b =>
|
||||||
|
|
@ -1473,7 +1457,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_H_Currency", (string)null);
|
b.ToTable("Sas_H_Currency", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.CustomComponent", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.CustomComponent", b =>
|
||||||
|
|
@ -1541,7 +1525,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_CustomComponent", (string)null);
|
b.ToTable("Sas_H_CustomComponent", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.CustomEndpoint", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.CustomEndpoint", b =>
|
||||||
|
|
@ -1619,7 +1603,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_CustomEndpoint", (string)null);
|
b.ToTable("Sas_H_CustomEndpoint", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.DataSource", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.DataSource", b =>
|
||||||
|
|
@ -1745,13 +1729,9 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasMaxLength(20)
|
.HasMaxLength(20)
|
||||||
.HasColumnType("nvarchar(20)");
|
.HasColumnType("nvarchar(20)");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier")
|
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_Demo", (string)null);
|
b.ToTable("Sas_H_Demo", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.District", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.District", b =>
|
||||||
|
|
@ -1818,7 +1798,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.IsUnique()
|
.IsUnique()
|
||||||
.HasFilter("[Country] IS NOT NULL AND [Township] IS NOT NULL");
|
.HasFilter("[Country] IS NOT NULL AND [Township] IS NOT NULL");
|
||||||
|
|
||||||
b.ToTable("Adm_H_District", (string)null);
|
b.ToTable("Sas_H_District", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.DynamicService", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.DynamicService", b =>
|
||||||
|
|
@ -1912,7 +1892,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_DynamicService", (string)null);
|
b.ToTable("Sas_H_DynamicService", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.GlobalSearch", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.GlobalSearch", b =>
|
||||||
|
|
@ -2001,12 +1981,11 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasColumnType("nvarchar(32)");
|
.HasColumnType("nvarchar(32)");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
b.Property<Guid?>("TenantId")
|
||||||
.HasColumnType("uniqueidentifier")
|
.HasColumnType("uniqueidentifier");
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_InstallmentOption", (string)null);
|
b.ToTable("Sas_H_InstallmentOption", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.IpRestriction", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.IpRestriction", b =>
|
||||||
|
|
@ -2871,10 +2850,6 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasMaxLength(64)
|
.HasMaxLength(64)
|
||||||
.HasColumnType("nvarchar(64)");
|
.HasColumnType("nvarchar(64)");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier")
|
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.Property<string>("Url")
|
b.Property<string>("Url")
|
||||||
.HasMaxLength(256)
|
.HasMaxLength(256)
|
||||||
.HasColumnType("nvarchar(256)");
|
.HasColumnType("nvarchar(256)");
|
||||||
|
|
@ -2885,7 +2860,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_Menu", (string)null);
|
b.ToTable("Sas_H_Menu", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.Note", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.Note", b =>
|
||||||
|
|
@ -3076,10 +3051,6 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasMaxLength(128)
|
.HasMaxLength(128)
|
||||||
.HasColumnType("nvarchar(128)");
|
.HasColumnType("nvarchar(128)");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier")
|
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.Property<decimal>("Total")
|
b.Property<decimal>("Total")
|
||||||
.HasPrecision(18, 2)
|
.HasPrecision(18, 2)
|
||||||
.HasColumnType("decimal(18,2)");
|
.HasColumnType("decimal(18,2)");
|
||||||
|
|
@ -3093,7 +3064,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_Order", (string)null);
|
b.ToTable("Sas_H_Order", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.OrderItem", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.OrderItem", b =>
|
||||||
|
|
@ -3158,17 +3129,13 @@ namespace Sozsoft.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("OrderId");
|
b.HasIndex("OrderId");
|
||||||
|
|
||||||
b.ToTable("Adm_T_OrderItem", (string)null);
|
b.ToTable("Sas_H_OrderItem", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.PaymentMethod", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.PaymentMethod", b =>
|
||||||
{
|
{
|
||||||
b.Property<string>("Id")
|
b.Property<Guid>("Id")
|
||||||
.HasColumnType("nvarchar(450)");
|
.HasColumnType("uniqueidentifier");
|
||||||
|
|
||||||
b.Property<Guid>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier")
|
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.Property<decimal>("Commission")
|
b.Property<decimal>("Commission")
|
||||||
.HasPrecision(5, 3)
|
.HasPrecision(5, 3)
|
||||||
|
|
@ -3213,9 +3180,9 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasMaxLength(64)
|
.HasMaxLength(64)
|
||||||
.HasColumnType("nvarchar(64)");
|
.HasColumnType("nvarchar(64)");
|
||||||
|
|
||||||
b.HasKey("Id", "TenantId");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_PaymentMethod", (string)null);
|
b.ToTable("Sas_H_PaymentMethod", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.Product", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.Product", b =>
|
||||||
|
|
@ -3281,17 +3248,13 @@ namespace Sozsoft.Platform.Migrations
|
||||||
b.Property<int>("Order")
|
b.Property<int>("Order")
|
||||||
.HasColumnType("int");
|
.HasColumnType("int");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier")
|
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.Property<decimal?>("YearlyPrice")
|
b.Property<decimal?>("YearlyPrice")
|
||||||
.HasPrecision(18, 2)
|
.HasPrecision(18, 2)
|
||||||
.HasColumnType("decimal(18,2)");
|
.HasColumnType("decimal(18,2)");
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_Product", (string)null);
|
b.ToTable("Sas_H_Product", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.ReportCategory", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.ReportCategory", b =>
|
||||||
|
|
@ -3474,23 +3437,15 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasMaxLength(64)
|
.HasMaxLength(64)
|
||||||
.HasColumnType("nvarchar(64)");
|
.HasColumnType("nvarchar(64)");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier")
|
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.HasIndex("Key")
|
b.ToTable("Sas_H_Route", (string)null);
|
||||||
.IsUnique();
|
|
||||||
|
|
||||||
b.ToTable("Adm_T_Route", (string)null);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.Sector", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.Sector", b =>
|
||||||
{
|
{
|
||||||
b.Property<string>("Id")
|
b.Property<Guid>("Id")
|
||||||
.HasMaxLength(128)
|
.HasColumnType("uniqueidentifier");
|
||||||
.HasColumnType("nvarchar(128)");
|
|
||||||
|
|
||||||
b.Property<DateTime>("CreationTime")
|
b.Property<DateTime>("CreationTime")
|
||||||
.HasColumnType("datetime2")
|
.HasColumnType("datetime2")
|
||||||
|
|
@ -3527,9 +3482,13 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasMaxLength(128)
|
.HasMaxLength(128)
|
||||||
.HasColumnType("nvarchar(128)");
|
.HasColumnType("nvarchar(128)");
|
||||||
|
|
||||||
|
b.Property<Guid?>("TenantId")
|
||||||
|
.HasColumnType("uniqueidentifier")
|
||||||
|
.HasColumnName("TenantId");
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_H_Sector", (string)null);
|
b.ToTable("Adm_T_Sector", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.Service", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.Service", b =>
|
||||||
|
|
@ -3578,10 +3537,6 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasColumnType("uniqueidentifier")
|
.HasColumnType("uniqueidentifier")
|
||||||
.HasColumnName("LastModifierId");
|
.HasColumnName("LastModifierId");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier")
|
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.Property<string>("Title")
|
b.Property<string>("Title")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasMaxLength(128)
|
.HasMaxLength(128)
|
||||||
|
|
@ -3593,7 +3548,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_Service", (string)null);
|
b.ToTable("Sas_H_Service", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.Skill", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.Skill", b =>
|
||||||
|
|
@ -3642,14 +3597,11 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasMaxLength(128)
|
.HasMaxLength(128)
|
||||||
.HasColumnType("nvarchar(128)");
|
.HasColumnType("nvarchar(128)");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier");
|
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.HasIndex("SkillTypeId");
|
b.HasIndex("SkillTypeId");
|
||||||
|
|
||||||
b.ToTable("Adm_T_Skill", (string)null);
|
b.ToTable("Sas_H_Skill", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.SkillLevel", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.SkillLevel", b =>
|
||||||
|
|
@ -3708,14 +3660,11 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasMaxLength(128)
|
.HasMaxLength(128)
|
||||||
.HasColumnType("nvarchar(128)");
|
.HasColumnType("nvarchar(128)");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier");
|
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.HasIndex("SkillTypeId");
|
b.HasIndex("SkillTypeId");
|
||||||
|
|
||||||
b.ToTable("Adm_T_SkillLevel", (string)null);
|
b.ToTable("Sas_H_SkillLevel", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.SkillType", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.SkillType", b =>
|
||||||
|
|
@ -3759,12 +3708,9 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasMaxLength(128)
|
.HasMaxLength(128)
|
||||||
.HasColumnType("nvarchar(128)");
|
.HasColumnType("nvarchar(128)");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier");
|
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_SkillType", (string)null);
|
b.ToTable("Sas_H_SkillType", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.Uom", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.Uom", b =>
|
||||||
|
|
@ -3819,9 +3765,6 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasPrecision(18, 6)
|
.HasPrecision(18, 6)
|
||||||
.HasColumnType("decimal(18,6)");
|
.HasColumnType("decimal(18,6)");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier");
|
|
||||||
|
|
||||||
b.Property<string>("Type")
|
b.Property<string>("Type")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasMaxLength(32)
|
.HasMaxLength(32)
|
||||||
|
|
@ -3836,7 +3779,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("UomCategoryId");
|
b.HasIndex("UomCategoryId");
|
||||||
|
|
||||||
b.ToTable("Adm_T_Uom", (string)null);
|
b.ToTable("Sas_H_Uom", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.UomCategory", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.UomCategory", b =>
|
||||||
|
|
@ -3880,23 +3823,15 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasMaxLength(128)
|
.HasMaxLength(128)
|
||||||
.HasColumnType("nvarchar(128)");
|
.HasColumnType("nvarchar(128)");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier");
|
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_UomCategory", (string)null);
|
b.ToTable("Sas_H_UomCategory", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.WorkHour", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.WorkHour", b =>
|
||||||
{
|
{
|
||||||
b.Property<string>("Id")
|
b.Property<Guid>("Id")
|
||||||
.HasMaxLength(64)
|
.HasColumnType("uniqueidentifier");
|
||||||
.HasColumnType("nvarchar(64)");
|
|
||||||
|
|
||||||
b.Property<Guid>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier")
|
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.Property<DateTime>("CreationTime")
|
b.Property<DateTime>("CreationTime")
|
||||||
.HasColumnType("datetime2")
|
.HasColumnType("datetime2")
|
||||||
|
|
@ -3953,6 +3888,10 @@ namespace Sozsoft.Platform.Migrations
|
||||||
b.Property<bool?>("Sunday")
|
b.Property<bool?>("Sunday")
|
||||||
.HasColumnType("bit");
|
.HasColumnType("bit");
|
||||||
|
|
||||||
|
b.Property<Guid?>("TenantId")
|
||||||
|
.HasColumnType("uniqueidentifier")
|
||||||
|
.HasColumnName("TenantId");
|
||||||
|
|
||||||
b.Property<bool?>("Thursday")
|
b.Property<bool?>("Thursday")
|
||||||
.HasColumnType("bit");
|
.HasColumnType("bit");
|
||||||
|
|
||||||
|
|
@ -3962,7 +3901,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
b.Property<bool?>("Wednesday")
|
b.Property<bool?>("Wednesday")
|
||||||
.HasColumnType("bit");
|
.HasColumnType("bit");
|
||||||
|
|
||||||
b.HasKey("Id", "TenantId");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_WorkHour", (string)null);
|
b.ToTable("Adm_T_WorkHour", (string)null);
|
||||||
});
|
});
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -615,13 +615,9 @@ namespace Sozsoft.Platform.Migrations
|
||||||
b.Property<string>("StatsJson")
|
b.Property<string>("StatsJson")
|
||||||
.HasColumnType("text");
|
.HasColumnType("text");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier")
|
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_About", (string)null);
|
b.ToTable("Sas_H_About", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.AiBot", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.AiBot", b =>
|
||||||
|
|
@ -785,15 +781,11 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasMaxLength(128)
|
.HasMaxLength(128)
|
||||||
.HasColumnType("nvarchar(128)");
|
.HasColumnType("nvarchar(128)");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier")
|
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.HasIndex("Slug");
|
b.HasIndex("Slug");
|
||||||
|
|
||||||
b.ToTable("Adm_T_BlogCategory", (string)null);
|
b.ToTable("Sas_H_BlogCategory", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.BlogPost", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.BlogPost", b =>
|
||||||
|
|
@ -872,10 +864,6 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasMaxLength(512)
|
.HasMaxLength(512)
|
||||||
.HasColumnType("nvarchar(512)");
|
.HasColumnType("nvarchar(512)");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier")
|
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.Property<string>("Title")
|
b.Property<string>("Title")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasMaxLength(256)
|
.HasMaxLength(256)
|
||||||
|
|
@ -897,7 +885,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("Slug");
|
b.HasIndex("Slug");
|
||||||
|
|
||||||
b.ToTable("Adm_T_BlogPost", (string)null);
|
b.ToTable("Sas_H_BlogPost", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.Branch", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.Branch", b =>
|
||||||
|
|
@ -1095,7 +1083,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.IsUnique()
|
.IsUnique()
|
||||||
.HasFilter("[Country] IS NOT NULL");
|
.HasFilter("[Country] IS NOT NULL");
|
||||||
|
|
||||||
b.ToTable("Adm_H_City", (string)null);
|
b.ToTable("Sas_H_City", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.Contact", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.Contact", b =>
|
||||||
|
|
@ -1158,16 +1146,12 @@ namespace Sozsoft.Platform.Migrations
|
||||||
b.Property<long?>("TaxNumber")
|
b.Property<long?>("TaxNumber")
|
||||||
.HasColumnType("bigint");
|
.HasColumnType("bigint");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier")
|
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.Property<string>("WorkHoursJson")
|
b.Property<string>("WorkHoursJson")
|
||||||
.HasColumnType("text");
|
.HasColumnType("text");
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_Contact", (string)null);
|
b.ToTable("Sas_H_Contact", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.ContactTitle", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.ContactTitle", b =>
|
||||||
|
|
@ -1216,7 +1200,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_H_ContactTitle", (string)null);
|
b.ToTable("Sas_H_ContactTitle", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.Country", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.Country", b =>
|
||||||
|
|
@ -1289,7 +1273,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
b.HasIndex("Name")
|
b.HasIndex("Name")
|
||||||
.IsUnique();
|
.IsUnique();
|
||||||
|
|
||||||
b.ToTable("Adm_H_Country", (string)null);
|
b.ToTable("Sas_H_Country", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.CountryGroup", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.CountryGroup", b =>
|
||||||
|
|
@ -1337,7 +1321,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
b.HasIndex("Name")
|
b.HasIndex("Name")
|
||||||
.IsUnique();
|
.IsUnique();
|
||||||
|
|
||||||
b.ToTable("Adm_H_CountryGroup", (string)null);
|
b.ToTable("Sas_H_CountryGroup", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.CrudEndpoint", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.CrudEndpoint", b =>
|
||||||
|
|
@ -1408,7 +1392,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_CrudEndpoint", (string)null);
|
b.ToTable("Sas_H_CrudEndpoint", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.Currency", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.Currency", b =>
|
||||||
|
|
@ -1470,7 +1454,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_H_Currency", (string)null);
|
b.ToTable("Sas_H_Currency", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.CustomComponent", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.CustomComponent", b =>
|
||||||
|
|
@ -1538,7 +1522,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_CustomComponent", (string)null);
|
b.ToTable("Sas_H_CustomComponent", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.CustomEndpoint", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.CustomEndpoint", b =>
|
||||||
|
|
@ -1616,7 +1600,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_CustomEndpoint", (string)null);
|
b.ToTable("Sas_H_CustomEndpoint", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.DataSource", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.DataSource", b =>
|
||||||
|
|
@ -1742,13 +1726,9 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasMaxLength(20)
|
.HasMaxLength(20)
|
||||||
.HasColumnType("nvarchar(20)");
|
.HasColumnType("nvarchar(20)");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier")
|
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_Demo", (string)null);
|
b.ToTable("Sas_H_Demo", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.District", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.District", b =>
|
||||||
|
|
@ -1815,7 +1795,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.IsUnique()
|
.IsUnique()
|
||||||
.HasFilter("[Country] IS NOT NULL AND [Township] IS NOT NULL");
|
.HasFilter("[Country] IS NOT NULL AND [Township] IS NOT NULL");
|
||||||
|
|
||||||
b.ToTable("Adm_H_District", (string)null);
|
b.ToTable("Sas_H_District", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.DynamicService", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.DynamicService", b =>
|
||||||
|
|
@ -1909,7 +1889,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_DynamicService", (string)null);
|
b.ToTable("Sas_H_DynamicService", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.GlobalSearch", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.GlobalSearch", b =>
|
||||||
|
|
@ -1998,12 +1978,11 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasColumnType("nvarchar(32)");
|
.HasColumnType("nvarchar(32)");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
b.Property<Guid?>("TenantId")
|
||||||
.HasColumnType("uniqueidentifier")
|
.HasColumnType("uniqueidentifier");
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_InstallmentOption", (string)null);
|
b.ToTable("Sas_H_InstallmentOption", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.IpRestriction", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.IpRestriction", b =>
|
||||||
|
|
@ -2868,10 +2847,6 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasMaxLength(64)
|
.HasMaxLength(64)
|
||||||
.HasColumnType("nvarchar(64)");
|
.HasColumnType("nvarchar(64)");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier")
|
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.Property<string>("Url")
|
b.Property<string>("Url")
|
||||||
.HasMaxLength(256)
|
.HasMaxLength(256)
|
||||||
.HasColumnType("nvarchar(256)");
|
.HasColumnType("nvarchar(256)");
|
||||||
|
|
@ -2882,7 +2857,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_Menu", (string)null);
|
b.ToTable("Sas_H_Menu", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.Note", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.Note", b =>
|
||||||
|
|
@ -3073,10 +3048,6 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasMaxLength(128)
|
.HasMaxLength(128)
|
||||||
.HasColumnType("nvarchar(128)");
|
.HasColumnType("nvarchar(128)");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier")
|
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.Property<decimal>("Total")
|
b.Property<decimal>("Total")
|
||||||
.HasPrecision(18, 2)
|
.HasPrecision(18, 2)
|
||||||
.HasColumnType("decimal(18,2)");
|
.HasColumnType("decimal(18,2)");
|
||||||
|
|
@ -3090,7 +3061,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_Order", (string)null);
|
b.ToTable("Sas_H_Order", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.OrderItem", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.OrderItem", b =>
|
||||||
|
|
@ -3155,17 +3126,13 @@ namespace Sozsoft.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("OrderId");
|
b.HasIndex("OrderId");
|
||||||
|
|
||||||
b.ToTable("Adm_T_OrderItem", (string)null);
|
b.ToTable("Sas_H_OrderItem", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.PaymentMethod", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.PaymentMethod", b =>
|
||||||
{
|
{
|
||||||
b.Property<string>("Id")
|
b.Property<Guid>("Id")
|
||||||
.HasColumnType("nvarchar(450)");
|
.HasColumnType("uniqueidentifier");
|
||||||
|
|
||||||
b.Property<Guid>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier")
|
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.Property<decimal>("Commission")
|
b.Property<decimal>("Commission")
|
||||||
.HasPrecision(5, 3)
|
.HasPrecision(5, 3)
|
||||||
|
|
@ -3210,9 +3177,9 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasMaxLength(64)
|
.HasMaxLength(64)
|
||||||
.HasColumnType("nvarchar(64)");
|
.HasColumnType("nvarchar(64)");
|
||||||
|
|
||||||
b.HasKey("Id", "TenantId");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_PaymentMethod", (string)null);
|
b.ToTable("Sas_H_PaymentMethod", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.Product", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.Product", b =>
|
||||||
|
|
@ -3278,17 +3245,13 @@ namespace Sozsoft.Platform.Migrations
|
||||||
b.Property<int>("Order")
|
b.Property<int>("Order")
|
||||||
.HasColumnType("int");
|
.HasColumnType("int");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier")
|
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.Property<decimal?>("YearlyPrice")
|
b.Property<decimal?>("YearlyPrice")
|
||||||
.HasPrecision(18, 2)
|
.HasPrecision(18, 2)
|
||||||
.HasColumnType("decimal(18,2)");
|
.HasColumnType("decimal(18,2)");
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_Product", (string)null);
|
b.ToTable("Sas_H_Product", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.ReportCategory", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.ReportCategory", b =>
|
||||||
|
|
@ -3471,23 +3434,15 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasMaxLength(64)
|
.HasMaxLength(64)
|
||||||
.HasColumnType("nvarchar(64)");
|
.HasColumnType("nvarchar(64)");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier")
|
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.HasIndex("Key")
|
b.ToTable("Sas_H_Route", (string)null);
|
||||||
.IsUnique();
|
|
||||||
|
|
||||||
b.ToTable("Adm_T_Route", (string)null);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.Sector", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.Sector", b =>
|
||||||
{
|
{
|
||||||
b.Property<string>("Id")
|
b.Property<Guid>("Id")
|
||||||
.HasMaxLength(128)
|
.HasColumnType("uniqueidentifier");
|
||||||
.HasColumnType("nvarchar(128)");
|
|
||||||
|
|
||||||
b.Property<DateTime>("CreationTime")
|
b.Property<DateTime>("CreationTime")
|
||||||
.HasColumnType("datetime2")
|
.HasColumnType("datetime2")
|
||||||
|
|
@ -3524,9 +3479,13 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasMaxLength(128)
|
.HasMaxLength(128)
|
||||||
.HasColumnType("nvarchar(128)");
|
.HasColumnType("nvarchar(128)");
|
||||||
|
|
||||||
|
b.Property<Guid?>("TenantId")
|
||||||
|
.HasColumnType("uniqueidentifier")
|
||||||
|
.HasColumnName("TenantId");
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_H_Sector", (string)null);
|
b.ToTable("Adm_T_Sector", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.Service", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.Service", b =>
|
||||||
|
|
@ -3575,10 +3534,6 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasColumnType("uniqueidentifier")
|
.HasColumnType("uniqueidentifier")
|
||||||
.HasColumnName("LastModifierId");
|
.HasColumnName("LastModifierId");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier")
|
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.Property<string>("Title")
|
b.Property<string>("Title")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasMaxLength(128)
|
.HasMaxLength(128)
|
||||||
|
|
@ -3590,7 +3545,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_Service", (string)null);
|
b.ToTable("Sas_H_Service", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.Skill", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.Skill", b =>
|
||||||
|
|
@ -3639,14 +3594,11 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasMaxLength(128)
|
.HasMaxLength(128)
|
||||||
.HasColumnType("nvarchar(128)");
|
.HasColumnType("nvarchar(128)");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier");
|
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.HasIndex("SkillTypeId");
|
b.HasIndex("SkillTypeId");
|
||||||
|
|
||||||
b.ToTable("Adm_T_Skill", (string)null);
|
b.ToTable("Sas_H_Skill", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.SkillLevel", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.SkillLevel", b =>
|
||||||
|
|
@ -3705,14 +3657,11 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasMaxLength(128)
|
.HasMaxLength(128)
|
||||||
.HasColumnType("nvarchar(128)");
|
.HasColumnType("nvarchar(128)");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier");
|
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.HasIndex("SkillTypeId");
|
b.HasIndex("SkillTypeId");
|
||||||
|
|
||||||
b.ToTable("Adm_T_SkillLevel", (string)null);
|
b.ToTable("Sas_H_SkillLevel", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.SkillType", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.SkillType", b =>
|
||||||
|
|
@ -3756,12 +3705,9 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasMaxLength(128)
|
.HasMaxLength(128)
|
||||||
.HasColumnType("nvarchar(128)");
|
.HasColumnType("nvarchar(128)");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier");
|
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_SkillType", (string)null);
|
b.ToTable("Sas_H_SkillType", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.Uom", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.Uom", b =>
|
||||||
|
|
@ -3816,9 +3762,6 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasPrecision(18, 6)
|
.HasPrecision(18, 6)
|
||||||
.HasColumnType("decimal(18,6)");
|
.HasColumnType("decimal(18,6)");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier");
|
|
||||||
|
|
||||||
b.Property<string>("Type")
|
b.Property<string>("Type")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasMaxLength(32)
|
.HasMaxLength(32)
|
||||||
|
|
@ -3833,7 +3776,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
|
|
||||||
b.HasIndex("UomCategoryId");
|
b.HasIndex("UomCategoryId");
|
||||||
|
|
||||||
b.ToTable("Adm_T_Uom", (string)null);
|
b.ToTable("Sas_H_Uom", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.UomCategory", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.UomCategory", b =>
|
||||||
|
|
@ -3877,23 +3820,15 @@ namespace Sozsoft.Platform.Migrations
|
||||||
.HasMaxLength(128)
|
.HasMaxLength(128)
|
||||||
.HasColumnType("nvarchar(128)");
|
.HasColumnType("nvarchar(128)");
|
||||||
|
|
||||||
b.Property<Guid?>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier");
|
|
||||||
|
|
||||||
b.HasKey("Id");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_UomCategory", (string)null);
|
b.ToTable("Sas_H_UomCategory", (string)null);
|
||||||
});
|
});
|
||||||
|
|
||||||
modelBuilder.Entity("Sozsoft.Platform.Entities.WorkHour", b =>
|
modelBuilder.Entity("Sozsoft.Platform.Entities.WorkHour", b =>
|
||||||
{
|
{
|
||||||
b.Property<string>("Id")
|
b.Property<Guid>("Id")
|
||||||
.HasMaxLength(64)
|
.HasColumnType("uniqueidentifier");
|
||||||
.HasColumnType("nvarchar(64)");
|
|
||||||
|
|
||||||
b.Property<Guid>("TenantId")
|
|
||||||
.HasColumnType("uniqueidentifier")
|
|
||||||
.HasColumnName("TenantId");
|
|
||||||
|
|
||||||
b.Property<DateTime>("CreationTime")
|
b.Property<DateTime>("CreationTime")
|
||||||
.HasColumnType("datetime2")
|
.HasColumnType("datetime2")
|
||||||
|
|
@ -3950,6 +3885,10 @@ namespace Sozsoft.Platform.Migrations
|
||||||
b.Property<bool?>("Sunday")
|
b.Property<bool?>("Sunday")
|
||||||
.HasColumnType("bit");
|
.HasColumnType("bit");
|
||||||
|
|
||||||
|
b.Property<Guid?>("TenantId")
|
||||||
|
.HasColumnType("uniqueidentifier")
|
||||||
|
.HasColumnName("TenantId");
|
||||||
|
|
||||||
b.Property<bool?>("Thursday")
|
b.Property<bool?>("Thursday")
|
||||||
.HasColumnType("bit");
|
.HasColumnType("bit");
|
||||||
|
|
||||||
|
|
@ -3959,7 +3898,7 @@ namespace Sozsoft.Platform.Migrations
|
||||||
b.Property<bool?>("Wednesday")
|
b.Property<bool?>("Wednesday")
|
||||||
.HasColumnType("bit");
|
.HasColumnType("bit");
|
||||||
|
|
||||||
b.HasKey("Id", "TenantId");
|
b.HasKey("Id");
|
||||||
|
|
||||||
b.ToTable("Adm_T_WorkHour", (string)null);
|
b.ToTable("Adm_T_WorkHour", (string)null);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -249,20 +249,20 @@ public class TenantDataSeeder : IDataSeedContributor, ITransientDependency
|
||||||
private readonly IRepository<ReportCategory, Guid> _reportCategoriesRepository;
|
private readonly IRepository<ReportCategory, Guid> _reportCategoriesRepository;
|
||||||
private readonly IRepository<ReportTemplate, Guid> _reportTemplatesRepository;
|
private readonly IRepository<ReportTemplate, Guid> _reportTemplatesRepository;
|
||||||
private readonly IRepository<About, Guid> _aboutRepository;
|
private readonly IRepository<About, Guid> _aboutRepository;
|
||||||
private readonly IRepository<PaymentMethod, string> _paymentMethodRepository;
|
private readonly IRepository<PaymentMethod, Guid> _paymentMethodRepository;
|
||||||
private readonly IRepository<InstallmentOption, Guid> _installmentOptionRepository;
|
private readonly IRepository<InstallmentOption, Guid> _installmentOptionRepository;
|
||||||
private readonly IRepository<Service, Guid> _servicesRepository;
|
private readonly IRepository<Service, Guid> _servicesRepository;
|
||||||
private readonly IRepository<BlogCategory, Guid> _blogCategoryRepository;
|
private readonly IRepository<BlogCategory, Guid> _blogCategoryRepository;
|
||||||
private readonly IRepository<BlogPost, Guid> _blogPostsRepository;
|
private readonly IRepository<BlogPost, Guid> _blogPostsRepository;
|
||||||
private readonly IRepository<Contact, Guid> _contactRepository;
|
private readonly IRepository<Contact, Guid> _contactRepository;
|
||||||
private readonly IRepository<Sector, string> _sectorRepository;
|
private readonly IRepository<Sector, Guid> _sectorRepository;
|
||||||
private readonly IRepository<SkillType, string> _skillTypeRepository;
|
private readonly IRepository<SkillType, string> _skillTypeRepository;
|
||||||
private readonly IRepository<Skill, string> _skillRepository;
|
private readonly IRepository<Skill, string> _skillRepository;
|
||||||
private readonly IRepository<SkillLevel, string> _skillLevelRepository;
|
private readonly IRepository<SkillLevel, string> _skillLevelRepository;
|
||||||
private readonly IRepository<UomCategory, string> _uomCategoryRepository;
|
private readonly IRepository<UomCategory, string> _uomCategoryRepository;
|
||||||
private readonly IRepository<Uom, string> _uomRepository;
|
private readonly IRepository<Uom, string> _uomRepository;
|
||||||
private readonly IRepository<ForumCategory, Guid> _forumCategoryRepository;
|
private readonly IRepository<ForumCategory, Guid> _forumCategoryRepository;
|
||||||
private readonly IRepository<WorkHour, string> _workHourRepository;
|
private readonly IRepository<WorkHour, Guid> _workHourRepository;
|
||||||
private readonly IRepository<Currency, string> _currencyRepository;
|
private readonly IRepository<Currency, string> _currencyRepository;
|
||||||
private readonly IRepository<OrganizationUnit, Guid> _organizationUnitRepository;
|
private readonly IRepository<OrganizationUnit, Guid> _organizationUnitRepository;
|
||||||
private readonly OrganizationUnitManager _organizationUnitManager;
|
private readonly OrganizationUnitManager _organizationUnitManager;
|
||||||
|
|
@ -274,7 +274,7 @@ public class TenantDataSeeder : IDataSeedContributor, ITransientDependency
|
||||||
IClock clock,
|
IClock clock,
|
||||||
IIdentityUserRepository repositoryUser,
|
IIdentityUserRepository repositoryUser,
|
||||||
IRepository<GlobalSearch, int> globalSearch,
|
IRepository<GlobalSearch, int> globalSearch,
|
||||||
IRepository<Sector, string> sectorRepository,
|
IRepository<Sector, Guid> sectorRepository,
|
||||||
IRepository<UomCategory, string> uomCategoryRepository,
|
IRepository<UomCategory, string> uomCategoryRepository,
|
||||||
IRepository<Uom, string> uomRepository,
|
IRepository<Uom, string> uomRepository,
|
||||||
IRepository<SkillType, string> skillTypeRepository,
|
IRepository<SkillType, string> skillTypeRepository,
|
||||||
|
|
@ -287,12 +287,12 @@ public class TenantDataSeeder : IDataSeedContributor, ITransientDependency
|
||||||
IRepository<About, Guid> aboutRepository,
|
IRepository<About, Guid> aboutRepository,
|
||||||
IRepository<Service, Guid> servicesRepository,
|
IRepository<Service, Guid> servicesRepository,
|
||||||
IRepository<Product, Guid> productRepository,
|
IRepository<Product, Guid> productRepository,
|
||||||
IRepository<PaymentMethod, string> paymentMethodRepository,
|
IRepository<PaymentMethod, Guid> paymentMethodRepository,
|
||||||
IRepository<InstallmentOption, Guid> installmentOptionRepository,
|
IRepository<InstallmentOption, Guid> installmentOptionRepository,
|
||||||
IRepository<BlogCategory, Guid> blogCategoryRepository,
|
IRepository<BlogCategory, Guid> blogCategoryRepository,
|
||||||
IRepository<BlogPost, Guid> blogPostsRepository,
|
IRepository<BlogPost, Guid> blogPostsRepository,
|
||||||
IRepository<Contact, Guid> contactRepository,
|
IRepository<Contact, Guid> contactRepository,
|
||||||
IRepository<WorkHour, string> workHourRepository,
|
IRepository<WorkHour, Guid> workHourRepository,
|
||||||
IRepository<ForumCategory, Guid> forumCategoryRepository,
|
IRepository<ForumCategory, Guid> forumCategoryRepository,
|
||||||
IRepository<Currency, string> currencyRepository,
|
IRepository<Currency, string> currencyRepository,
|
||||||
IRepository<OrganizationUnit, Guid> organizationUnitRepository,
|
IRepository<OrganizationUnit, Guid> organizationUnitRepository,
|
||||||
|
|
@ -364,7 +364,7 @@ public class TenantDataSeeder : IDataSeedContributor, ITransientDependency
|
||||||
|
|
||||||
if (!exists)
|
if (!exists)
|
||||||
{
|
{
|
||||||
await _sectorRepository.InsertAsync(new Sector(item.Name)
|
await _sectorRepository.InsertAsync(new Sector
|
||||||
{
|
{
|
||||||
Name = item.Name,
|
Name = item.Name,
|
||||||
}, autoSave: true);
|
}, autoSave: true);
|
||||||
|
|
@ -492,16 +492,15 @@ public class TenantDataSeeder : IDataSeedContributor, ITransientDependency
|
||||||
|
|
||||||
foreach (var item in items.PaymentMethods)
|
foreach (var item in items.PaymentMethods)
|
||||||
{
|
{
|
||||||
var exists = await _paymentMethodRepository.AnyAsync(x => x.Id == item.Name);
|
var exists = await _paymentMethodRepository.AnyAsync(x => x.Name == item.Name);
|
||||||
|
|
||||||
if (!exists)
|
if (!exists)
|
||||||
{
|
{
|
||||||
await _paymentMethodRepository.InsertAsync(new PaymentMethod(item.Name)
|
await _paymentMethodRepository.InsertAsync(new PaymentMethod
|
||||||
{
|
{
|
||||||
Name = item.Name,
|
Name = item.Name,
|
||||||
Commission = item.Commission,
|
Commission = item.Commission,
|
||||||
Logo = item.Logo,
|
Logo = item.Logo,
|
||||||
TenantId = _currentTenant.Id ?? Guid.Empty
|
|
||||||
}, autoSave: true);
|
}, autoSave: true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -568,7 +567,7 @@ public class TenantDataSeeder : IDataSeedContributor, ITransientDependency
|
||||||
Name = item.Name,
|
Name = item.Name,
|
||||||
Description = item.Description,
|
Description = item.Description,
|
||||||
Icon = item.Icon
|
Icon = item.Icon
|
||||||
});
|
}, autoSave: true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -624,13 +623,12 @@ public class TenantDataSeeder : IDataSeedContributor, ITransientDependency
|
||||||
|
|
||||||
foreach (var item in items.WorkHours)
|
foreach (var item in items.WorkHours)
|
||||||
{
|
{
|
||||||
var exists = await _workHourRepository.AnyAsync(x => x.Id == item.Name);
|
var exists = await _workHourRepository.AnyAsync(x => x.Name == item.Name);
|
||||||
|
|
||||||
if (!exists)
|
if (!exists)
|
||||||
{
|
{
|
||||||
await _workHourRepository.InsertAsync(new WorkHour(item.Name)
|
await _workHourRepository.InsertAsync(new WorkHour
|
||||||
{
|
{
|
||||||
TenantId = _currentTenant.Id ?? Guid.Empty,
|
|
||||||
Name = item.Name,
|
Name = item.Name,
|
||||||
StartTime = item.StartTime,
|
StartTime = item.StartTime,
|
||||||
EndTime = item.EndTime,
|
EndTime = item.EndTime,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue