Phone, Fax
This commit is contained in:
parent
53a5464445
commit
aba197599c
20 changed files with 141 additions and 177 deletions
|
|
@ -22,9 +22,9 @@ public class CreateUpdateTenantInput
|
|||
public string Address1 { get; set; }
|
||||
public string Address2 { get; set; }
|
||||
public string PostalCode { get; set; }
|
||||
public string Phone { get; set; }
|
||||
public string Mobile { get; set; }
|
||||
public string Fax { get; set; }
|
||||
public long Phone { get; set; }
|
||||
public long Mobile { get; set; }
|
||||
public long Fax { get; set; }
|
||||
public string Email { get; set; }
|
||||
public string Website { get; set; }
|
||||
public string MenuGroup { get; set; }
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ public class CreateUpdateBlogPostDto
|
|||
public string ContentTr { get; set; }
|
||||
public string ContentEn { get; set; }
|
||||
public string Summary { get; set; }
|
||||
public string ReadTime { get; set; }
|
||||
public DateTime ReadTime { get; set; }
|
||||
public string CoverImage { get; set; }
|
||||
public Guid CategoryId { get; set; }
|
||||
public List<string> Tags { get; set; }
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@ public class CustomTenantDto
|
|||
public string Address1 { get; set; }
|
||||
public string Address2 { get; set; }
|
||||
public string PostalCode { get; set; }
|
||||
public string Phone { get; set; }
|
||||
public string Mobile { get; set; }
|
||||
public string Fax { get; set; }
|
||||
public long Phone { get; set; }
|
||||
public long Mobile { get; set; }
|
||||
public long Fax { get; set; }
|
||||
public string Email { get; set; }
|
||||
public string Website { get; set; }
|
||||
public string MenuGroup { get; set; }
|
||||
|
|
|
|||
|
|
@ -326,7 +326,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende
|
|||
new() {
|
||||
ListFormCode = formBank.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
SourceDbType = DbType.Int64,
|
||||
FieldName = "Phone",
|
||||
Width = 150,
|
||||
ListOrderNo = 11,
|
||||
|
|
@ -636,7 +636,7 @@ public class ListFormSeeder_Accounting : IDataSeedContributor, ITransientDepende
|
|||
new() {
|
||||
ListFormCode = listFormBank.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
SourceDbType = DbType.Int64,
|
||||
FieldName = "Phone",
|
||||
Width = 150,
|
||||
ListOrderNo = 11,
|
||||
|
|
|
|||
|
|
@ -1124,7 +1124,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
RoleId = null,
|
||||
UserId = null,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
SourceDbType = DbType.Int64,
|
||||
FieldName = "PhoneNumber",
|
||||
Width = 150,
|
||||
ListOrderNo = 5,
|
||||
|
|
@ -2978,7 +2978,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
{
|
||||
ListFormCode = listFormPurchaseOrder.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
SourceDbType = DbType.Int64,
|
||||
FieldName = "Phone",
|
||||
Width = 100,
|
||||
ListOrderNo = 11,
|
||||
|
|
@ -3517,7 +3517,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
{
|
||||
ListFormCode = listFormBlogPosts.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
SourceDbType = DbType.DateTime,
|
||||
FieldName = "ReadTime",
|
||||
Width = 80,
|
||||
ListOrderNo = 6,
|
||||
|
|
@ -3629,7 +3629,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
{
|
||||
ListFormCode = listFormBlogPosts.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.DateTime,
|
||||
SourceDbType = DbType.String,
|
||||
FieldName = "ContentTr",
|
||||
Width = 120,
|
||||
ListOrderNo = 11,
|
||||
|
|
@ -3644,7 +3644,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
{
|
||||
ListFormCode = listFormBlogPosts.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.DateTime,
|
||||
SourceDbType = DbType.String,
|
||||
FieldName = "ContentEn",
|
||||
Width = 120,
|
||||
ListOrderNo = 12,
|
||||
|
|
@ -3804,7 +3804,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
{
|
||||
ListFormCode = listFormDemo.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
SourceDbType = DbType.Int64,
|
||||
FieldName = "Phone",
|
||||
Width = 100,
|
||||
ListOrderNo = 5,
|
||||
|
|
@ -3996,7 +3996,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
{
|
||||
ListFormCode = listFormContact.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
SourceDbType = DbType.Int64,
|
||||
FieldName = "Phone",
|
||||
Width = 150,
|
||||
ListOrderNo = 3,
|
||||
|
|
@ -6097,7 +6097,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
{
|
||||
ListFormCode = listFormPsychologist.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
SourceDbType = DbType.Int64,
|
||||
FieldName = "Phone",
|
||||
Width = 150,
|
||||
ListOrderNo = 3,
|
||||
|
|
@ -6373,7 +6373,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
{
|
||||
ListFormCode = listFormLawyer.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
SourceDbType = DbType.Int64,
|
||||
FieldName = "Phone1",
|
||||
Width = 150,
|
||||
ListOrderNo = 8,
|
||||
|
|
@ -6388,7 +6388,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
{
|
||||
ListFormCode = listFormLawyer.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
SourceDbType = DbType.Int64,
|
||||
FieldName = "Phone2",
|
||||
Width = 150,
|
||||
ListOrderNo = 9,
|
||||
|
|
@ -6403,7 +6403,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
{
|
||||
ListFormCode = listFormLawyer.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
SourceDbType = DbType.Int64,
|
||||
FieldName = "Phone3",
|
||||
Width = 150,
|
||||
ListOrderNo = 10,
|
||||
|
|
@ -6418,7 +6418,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
{
|
||||
ListFormCode = listFormLawyer.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
SourceDbType = DbType.Int64,
|
||||
FieldName = "Phone4",
|
||||
Width = 150,
|
||||
ListOrderNo = 11,
|
||||
|
|
@ -6433,7 +6433,7 @@ public class ListFormSeeder_Administration : IDataSeedContributor, ITransientDep
|
|||
{
|
||||
ListFormCode = listFormLawyer.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
SourceDbType = DbType.Int64,
|
||||
FieldName = "Fax",
|
||||
Width = 150,
|
||||
ListOrderNo = 12,
|
||||
|
|
|
|||
|
|
@ -1524,7 +1524,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
new() {
|
||||
ListFormCode = listFormCostCenter.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.Int32,
|
||||
SourceDbType = DbType.Guid,
|
||||
FieldName = "CurrencyId",
|
||||
Width = 100,
|
||||
ListOrderNo = 11,
|
||||
|
|
@ -1986,7 +1986,7 @@ public class ListFormSeeder_Hr : IDataSeedContributor, ITransientDependency
|
|||
new() {
|
||||
ListFormCode = listFormEmployee.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
SourceDbType = DbType.Int64,
|
||||
FieldName = "Phone",
|
||||
Width = 100,
|
||||
ListOrderNo = 16,
|
||||
|
|
|
|||
|
|
@ -1663,7 +1663,7 @@ public class ListFormSeeder_Intranet : IDataSeedContributor, ITransientDependenc
|
|||
new() {
|
||||
ListFormCode = listFormVisitor.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.Int32,
|
||||
SourceDbType = DbType.Int64,
|
||||
FieldName = "Phone",
|
||||
Width = 100,
|
||||
ListOrderNo = 5,
|
||||
|
|
|
|||
|
|
@ -221,7 +221,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
{
|
||||
ListFormCode = formTenant.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
SourceDbType = DbType.Int64,
|
||||
FieldName = "VknTckn",
|
||||
Width = 100,
|
||||
ListOrderNo = 5,
|
||||
|
|
@ -457,7 +457,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
{
|
||||
ListFormCode = formTenant.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
SourceDbType = DbType.Int64,
|
||||
FieldName = "Phone",
|
||||
Width = 100,
|
||||
ListOrderNo = 17,
|
||||
|
|
@ -473,7 +473,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
{
|
||||
ListFormCode = formTenant.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
SourceDbType = DbType.Int64,
|
||||
FieldName = "Fax",
|
||||
Width = 100,
|
||||
ListOrderNo = 18,
|
||||
|
|
@ -844,7 +844,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
{
|
||||
ListFormCode = listFormTenants.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
SourceDbType = DbType.Int64,
|
||||
FieldName = "VknTckn",
|
||||
Width = 100,
|
||||
ListOrderNo = 5,
|
||||
|
|
@ -1077,7 +1077,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
{
|
||||
ListFormCode = listFormTenants.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
SourceDbType = DbType.Int64,
|
||||
FieldName = "Phone",
|
||||
Width = 100,
|
||||
ListOrderNo = 17,
|
||||
|
|
@ -1093,7 +1093,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
{
|
||||
ListFormCode = listFormTenants.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
SourceDbType = DbType.Int64,
|
||||
FieldName = "Fax",
|
||||
Width = 100,
|
||||
ListOrderNo = 18,
|
||||
|
|
@ -1321,7 +1321,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
{
|
||||
ListFormCode = listFormBranches.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
SourceDbType = DbType.Int64,
|
||||
FieldName = "VknTckn",
|
||||
Width = 100,
|
||||
ListOrderNo = 4,
|
||||
|
|
@ -1554,7 +1554,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
{
|
||||
ListFormCode = listFormBranches.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
SourceDbType = DbType.Int64,
|
||||
FieldName = "Phone",
|
||||
Width = 100,
|
||||
ListOrderNo = 16,
|
||||
|
|
@ -1570,7 +1570,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
{
|
||||
ListFormCode = listFormBranches.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
SourceDbType = DbType.Int64,
|
||||
FieldName = "Fax",
|
||||
Width = 100,
|
||||
ListOrderNo = 17,
|
||||
|
|
@ -5074,7 +5074,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
|
|||
{
|
||||
ListFormCode = listFormCountry.ListFormCode,
|
||||
CultureName = LanguageCodes.En,
|
||||
SourceDbType = DbType.String,
|
||||
SourceDbType = DbType.Guid,
|
||||
FieldName = "CurrencyId",
|
||||
Width = 100,
|
||||
ListOrderNo = 5,
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ public class BlogPost : FullAuditedEntity<Guid>, IMultiTenant
|
|||
public string ContentEn { get; set; }
|
||||
public string Summary { get; set; }
|
||||
public string CoverImage { get; set; }
|
||||
public string ReadTime { get; set; }
|
||||
public DateTime ReadTime { get; set; }
|
||||
|
||||
public Guid CategoryId { get; set; }
|
||||
public virtual BlogCategory Category { get; set; }
|
||||
|
|
|
|||
|
|
@ -15,11 +15,11 @@ public class Lawyer : FullAuditedEntity<Guid>, IMultiTenant
|
|||
public string TaxOffice { get; set; }
|
||||
public string TaxNumber { get; set; }
|
||||
|
||||
public string Phone1 { get; set; }
|
||||
public string Phone2 { get; set; }
|
||||
public string Phone3 { get; set; }
|
||||
public string Phone4 { get; set; }
|
||||
public string Fax { get; set; }
|
||||
public long Phone1 { get; set; }
|
||||
public long Phone2 { get; set; }
|
||||
public long Phone3 { get; set; }
|
||||
public long Phone4 { get; set; }
|
||||
public long Fax { get; set; }
|
||||
|
||||
public string Description { get; set; }
|
||||
public string Status { get; set; }
|
||||
|
|
|
|||
|
|
@ -22,9 +22,9 @@ public class Order : FullAuditedEntity<Guid>, IMultiTenant
|
|||
public string Country { get; set; }
|
||||
public string City { get; set; }
|
||||
public string PostalCode { get; set; }
|
||||
public string Phone { get; set; }
|
||||
public string Mobile { get; set; }
|
||||
public string Fax { get; set; }
|
||||
public long Phone { get; set; }
|
||||
public long Mobile { get; set; }
|
||||
public long Fax { get; set; }
|
||||
public string Email { get; set; }
|
||||
public string Website { get; set; }
|
||||
public string MenuGroup { get; set; }
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@ public class Branch : FullAuditedEntity<Guid>
|
|||
public string Address1 { get; set; }
|
||||
public string Address2 { get; set; }
|
||||
public string PostalCode { get; set; }
|
||||
public string Phone { get; set; }
|
||||
public string Mobile { get; set; }
|
||||
public string Fax { get; set; }
|
||||
public long Phone { get; set; }
|
||||
public long Mobile { get; set; }
|
||||
public long Fax { get; set; }
|
||||
public string Email { get; set; }
|
||||
public string Website { get; set; }
|
||||
public bool? IsActive { get; set; }
|
||||
|
|
|
|||
|
|
@ -112,31 +112,31 @@ public static class AbpTenantExtensions
|
|||
return tenant.GetProperty<string>(PlatformConsts.Tenants.PostalCode);
|
||||
}
|
||||
|
||||
public static void SetPhone(this Tenant tenant, string phone)
|
||||
public static void SetPhone(this Tenant tenant, long phone)
|
||||
{
|
||||
tenant.SetProperty(PlatformConsts.Tenants.Phone, phone);
|
||||
}
|
||||
public static string GetPhone(this Tenant tenant)
|
||||
public static long GetPhone(this Tenant tenant)
|
||||
{
|
||||
return tenant.GetProperty<string>(PlatformConsts.Tenants.Phone);
|
||||
return tenant.GetProperty<long>(PlatformConsts.Tenants.Phone);
|
||||
}
|
||||
|
||||
public static void SetMobile(this Tenant tenant, string mobile)
|
||||
public static void SetMobile(this Tenant tenant, long mobile)
|
||||
{
|
||||
tenant.SetProperty(PlatformConsts.Tenants.Mobile, mobile);
|
||||
}
|
||||
public static string GetMobile(this Tenant tenant)
|
||||
public static long GetMobile(this Tenant tenant)
|
||||
{
|
||||
return tenant.GetProperty<string>(PlatformConsts.Tenants.Mobile);
|
||||
return tenant.GetProperty<long>(PlatformConsts.Tenants.Mobile);
|
||||
}
|
||||
|
||||
public static void SetFax(this Tenant tenant, string fax)
|
||||
public static void SetFax(this Tenant tenant, long fax)
|
||||
{
|
||||
tenant.SetProperty(PlatformConsts.Tenants.Fax, fax);
|
||||
}
|
||||
public static string GetFax(this Tenant tenant)
|
||||
public static long GetFax(this Tenant tenant)
|
||||
{
|
||||
return tenant.GetProperty<string>(PlatformConsts.Tenants.Fax);
|
||||
return tenant.GetProperty<long>(PlatformConsts.Tenants.Fax);
|
||||
}
|
||||
|
||||
public static void SetEmail(this Tenant tenant, string email)
|
||||
|
|
|
|||
|
|
@ -1465,7 +1465,6 @@ public class PlatformDbContext :
|
|||
b.Property(x => x.ContentTr).IsRequired();
|
||||
b.Property(x => x.ContentEn).IsRequired();
|
||||
b.Property(x => x.CoverImage).HasMaxLength(512);
|
||||
b.Property(x => x.ReadTime).HasMaxLength(64);
|
||||
|
||||
b.HasIndex(x => x.Slug);
|
||||
b.HasIndex(x => x.IsPublished);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
using Kurs.Platform.Identity;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System;
|
||||
using Volo.Abp.Identity;
|
||||
using Volo.Abp.ObjectExtending;
|
||||
|
|
@ -156,29 +155,29 @@ public static class PlatformEfCoreEntityExtensionMappings
|
|||
);
|
||||
|
||||
ObjectExtensionManager.Instance
|
||||
.MapEfCoreProperty<Tenant, string>(
|
||||
.MapEfCoreProperty<Tenant, long>(
|
||||
PlatformConsts.Tenants.Phone,
|
||||
(entityBuilder, propertyBuilder) =>
|
||||
{
|
||||
propertyBuilder.HasMaxLength(20).HasDefaultValue(null);
|
||||
propertyBuilder.HasDefaultValue(null);
|
||||
}
|
||||
);
|
||||
|
||||
ObjectExtensionManager.Instance
|
||||
.MapEfCoreProperty<Tenant, string>(
|
||||
.MapEfCoreProperty<Tenant, long>(
|
||||
PlatformConsts.Tenants.Mobile,
|
||||
(entityBuilder, propertyBuilder) =>
|
||||
{
|
||||
propertyBuilder.HasMaxLength(20).HasDefaultValue(null);
|
||||
propertyBuilder.HasDefaultValue(null);
|
||||
}
|
||||
);
|
||||
|
||||
ObjectExtensionManager.Instance
|
||||
.MapEfCoreProperty<Tenant, string>(
|
||||
.MapEfCoreProperty<Tenant, long>(
|
||||
PlatformConsts.Tenants.Fax,
|
||||
(entityBuilder, propertyBuilder) =>
|
||||
{
|
||||
propertyBuilder.HasMaxLength(20).HasDefaultValue(null);
|
||||
propertyBuilder.HasDefaultValue(null);
|
||||
}
|
||||
);
|
||||
|
||||
|
|
@ -217,30 +216,6 @@ public static class PlatformEfCoreEntityExtensionMappings
|
|||
propertyBuilder.HasMaxLength(64).HasDefaultValue(null);
|
||||
}
|
||||
);
|
||||
|
||||
/* You can configure extra properties for the
|
||||
* entities defined in the modules used by your application.
|
||||
*
|
||||
* This class can be used to map these extra properties to table fields in the database.
|
||||
*
|
||||
* USE THIS CLASS ONLY TO CONFIGURE EF CORE RELATED MAPPING.
|
||||
* USE PlatformModuleExtensionConfigurator CLASS (in the Domain.Shared project)
|
||||
* FOR A HIGH LEVEL API TO DEFINE EXTRA PROPERTIES TO ENTITIES OF THE USED MODULES
|
||||
*
|
||||
* Example: Map a property to a table field:
|
||||
|
||||
ObjectExtensionManager.Instance
|
||||
.MapEfCoreProperty<IdentityUser, string>(
|
||||
"MyProperty",
|
||||
(entityBuilder, propertyBuilder) =>
|
||||
{
|
||||
propertyBuilder.HasMaxLength(128);
|
||||
}
|
||||
);
|
||||
|
||||
* See the documentation for more:
|
||||
* https://docs.abp.io/en/abp/latest/Customizing-Application-Modules-Extending-Entities
|
||||
*/
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
|
|||
namespace Kurs.Platform.Migrations
|
||||
{
|
||||
[DbContext(typeof(PlatformDbContext))]
|
||||
[Migration("20251103131643_Initial")]
|
||||
[Migration("20251103145000_Initial")]
|
||||
partial class Initial
|
||||
{
|
||||
/// <inheritdoc />
|
||||
|
|
@ -1449,9 +1449,8 @@ namespace Kurs.Platform.Migrations
|
|||
b.Property<DateTime?>("PublishedAt")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<string>("ReadTime")
|
||||
.HasMaxLength(64)
|
||||
.HasColumnType("nvarchar(64)");
|
||||
b.Property<DateTime>("ReadTime")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<string>("Slug")
|
||||
.IsRequired()
|
||||
|
|
@ -1538,9 +1537,9 @@ namespace Kurs.Platform.Migrations
|
|||
.HasMaxLength(128)
|
||||
.HasColumnType("nvarchar(128)");
|
||||
|
||||
b.Property<string>("Fax")
|
||||
b.Property<long>("Fax")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("nvarchar(20)");
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<bool?>("IsActive")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
|
@ -1561,19 +1560,18 @@ namespace Kurs.Platform.Migrations
|
|||
.HasColumnType("uniqueidentifier")
|
||||
.HasColumnName("LastModifierId");
|
||||
|
||||
b.Property<string>("Mobile")
|
||||
.IsRequired()
|
||||
b.Property<long>("Mobile")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("nvarchar(20)");
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasMaxLength(128)
|
||||
.HasColumnType("nvarchar(128)");
|
||||
|
||||
b.Property<string>("Phone")
|
||||
b.Property<long>("Phone")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("nvarchar(20)");
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("PostalCode")
|
||||
.HasMaxLength(16)
|
||||
|
|
@ -4553,9 +4551,9 @@ namespace Kurs.Platform.Migrations
|
|||
.HasMaxLength(100)
|
||||
.HasColumnType("nvarchar(100)");
|
||||
|
||||
b.Property<string>("Fax")
|
||||
b.Property<long>("Fax")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("nvarchar(20)");
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<bool>("IsDeleted")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
|
@ -4576,21 +4574,21 @@ namespace Kurs.Platform.Migrations
|
|||
.HasMaxLength(100)
|
||||
.HasColumnType("nvarchar(100)");
|
||||
|
||||
b.Property<string>("Phone1")
|
||||
b.Property<long>("Phone1")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("nvarchar(20)");
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Phone2")
|
||||
b.Property<long>("Phone2")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("nvarchar(20)");
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Phone3")
|
||||
b.Property<long>("Phone3")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("nvarchar(20)");
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Phone4")
|
||||
b.Property<long>("Phone4")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("nvarchar(20)");
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Status")
|
||||
.HasMaxLength(10)
|
||||
|
|
@ -6040,8 +6038,8 @@ namespace Kurs.Platform.Migrations
|
|||
.HasMaxLength(128)
|
||||
.HasColumnType("nvarchar(128)");
|
||||
|
||||
b.Property<string>("Fax")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
b.Property<long>("Fax")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Founder")
|
||||
.HasMaxLength(128)
|
||||
|
|
@ -6071,8 +6069,8 @@ namespace Kurs.Platform.Migrations
|
|||
.HasMaxLength(64)
|
||||
.HasColumnType("nvarchar(64)");
|
||||
|
||||
b.Property<string>("Mobile")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
b.Property<long>("Mobile")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.HasMaxLength(64)
|
||||
|
|
@ -6089,8 +6087,8 @@ namespace Kurs.Platform.Migrations
|
|||
b.Property<Guid>("PaymentMethodId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<string>("Phone")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
b.Property<long>("Phone")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("PostalCode")
|
||||
.HasMaxLength(16)
|
||||
|
|
@ -12214,9 +12212,8 @@ namespace Kurs.Platform.Migrations
|
|||
.HasColumnType("nvarchar(max)")
|
||||
.HasColumnName("ExtraProperties");
|
||||
|
||||
b.Property<string>("Fax")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("nvarchar(20)");
|
||||
b.Property<long>("Fax")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Founder")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
|
@ -12244,9 +12241,8 @@ namespace Kurs.Platform.Migrations
|
|||
.HasMaxLength(64)
|
||||
.HasColumnType("nvarchar(64)");
|
||||
|
||||
b.Property<string>("Mobile")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("nvarchar(20)");
|
||||
b.Property<long>("Mobile")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
|
|
@ -12262,9 +12258,8 @@ namespace Kurs.Platform.Migrations
|
|||
.HasMaxLength(64)
|
||||
.HasColumnType("nvarchar(64)");
|
||||
|
||||
b.Property<string>("Phone")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("nvarchar(20)");
|
||||
b.Property<long>("Phone")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("PostalCode")
|
||||
.HasMaxLength(10)
|
||||
|
|
@ -347,13 +347,13 @@ namespace Kurs.Platform.Migrations
|
|||
Country = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
|
||||
District = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
|
||||
Email = table.Column<string>(type: "nvarchar(256)", maxLength: 256, nullable: true),
|
||||
Fax = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true),
|
||||
Fax = table.Column<long>(type: "bigint", nullable: false),
|
||||
Founder = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
||||
IsActive = table.Column<bool>(type: "bit", nullable: false, defaultValue: true),
|
||||
MenuGroup = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true),
|
||||
Mobile = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true),
|
||||
Mobile = table.Column<long>(type: "bigint", nullable: false),
|
||||
OrganizationName = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true),
|
||||
Phone = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true),
|
||||
Phone = table.Column<long>(type: "bigint", nullable: false),
|
||||
PostalCode = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true),
|
||||
Street = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
|
||||
TaxOffice = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true),
|
||||
|
|
@ -681,11 +681,11 @@ namespace Kurs.Platform.Migrations
|
|||
Address = table.Column<string>(type: "nvarchar(250)", maxLength: 250, nullable: true),
|
||||
TaxOffice = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
|
||||
TaxNumber = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true),
|
||||
Phone1 = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true),
|
||||
Phone2 = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true),
|
||||
Phone3 = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true),
|
||||
Phone4 = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true),
|
||||
Fax = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true),
|
||||
Phone1 = table.Column<long>(type: "bigint", maxLength: 20, nullable: false),
|
||||
Phone2 = table.Column<long>(type: "bigint", maxLength: 20, nullable: false),
|
||||
Phone3 = table.Column<long>(type: "bigint", maxLength: 20, nullable: false),
|
||||
Phone4 = table.Column<long>(type: "bigint", maxLength: 20, nullable: false),
|
||||
Fax = table.Column<long>(type: "bigint", maxLength: 20, nullable: false),
|
||||
Description = table.Column<string>(type: "nvarchar(1000)", maxLength: 1000, nullable: true),
|
||||
Status = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true),
|
||||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
|
|
@ -719,9 +719,9 @@ namespace Kurs.Platform.Migrations
|
|||
Country = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
|
||||
City = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
|
||||
PostalCode = table.Column<string>(type: "nvarchar(16)", maxLength: 16, nullable: true),
|
||||
Phone = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
||||
Mobile = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
||||
Fax = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
||||
Phone = table.Column<long>(type: "bigint", nullable: false),
|
||||
Mobile = table.Column<long>(type: "bigint", nullable: false),
|
||||
Fax = table.Column<long>(type: "bigint", nullable: false),
|
||||
Email = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
|
||||
Website = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
|
||||
MenuGroup = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true),
|
||||
|
|
@ -2167,9 +2167,9 @@ namespace Kurs.Platform.Migrations
|
|||
Address1 = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true),
|
||||
Address2 = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true),
|
||||
PostalCode = table.Column<string>(type: "nvarchar(16)", maxLength: 16, nullable: true),
|
||||
Phone = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true),
|
||||
Mobile = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: false),
|
||||
Fax = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true),
|
||||
Phone = table.Column<long>(type: "bigint", maxLength: 20, nullable: false),
|
||||
Mobile = table.Column<long>(type: "bigint", maxLength: 20, nullable: false),
|
||||
Fax = table.Column<long>(type: "bigint", maxLength: 20, nullable: false),
|
||||
Email = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
|
||||
Website = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true),
|
||||
IsActive = table.Column<bool>(type: "bit", nullable: true, defaultValue: true),
|
||||
|
|
@ -2756,7 +2756,7 @@ namespace Kurs.Platform.Migrations
|
|||
ContentEn = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||
Summary = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: false),
|
||||
CoverImage = table.Column<string>(type: "nvarchar(512)", maxLength: 512, nullable: true),
|
||||
ReadTime = table.Column<string>(type: "nvarchar(64)", maxLength: 64, nullable: true),
|
||||
ReadTime = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
CategoryId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
AuthorId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
ViewCount = table.Column<int>(type: "int", nullable: true),
|
||||
|
|
@ -1446,9 +1446,8 @@ namespace Kurs.Platform.Migrations
|
|||
b.Property<DateTime?>("PublishedAt")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<string>("ReadTime")
|
||||
.HasMaxLength(64)
|
||||
.HasColumnType("nvarchar(64)");
|
||||
b.Property<DateTime>("ReadTime")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<string>("Slug")
|
||||
.IsRequired()
|
||||
|
|
@ -1535,9 +1534,9 @@ namespace Kurs.Platform.Migrations
|
|||
.HasMaxLength(128)
|
||||
.HasColumnType("nvarchar(128)");
|
||||
|
||||
b.Property<string>("Fax")
|
||||
b.Property<long>("Fax")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("nvarchar(20)");
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<bool?>("IsActive")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
|
@ -1558,19 +1557,18 @@ namespace Kurs.Platform.Migrations
|
|||
.HasColumnType("uniqueidentifier")
|
||||
.HasColumnName("LastModifierId");
|
||||
|
||||
b.Property<string>("Mobile")
|
||||
.IsRequired()
|
||||
b.Property<long>("Mobile")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("nvarchar(20)");
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasMaxLength(128)
|
||||
.HasColumnType("nvarchar(128)");
|
||||
|
||||
b.Property<string>("Phone")
|
||||
b.Property<long>("Phone")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("nvarchar(20)");
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("PostalCode")
|
||||
.HasMaxLength(16)
|
||||
|
|
@ -4550,9 +4548,9 @@ namespace Kurs.Platform.Migrations
|
|||
.HasMaxLength(100)
|
||||
.HasColumnType("nvarchar(100)");
|
||||
|
||||
b.Property<string>("Fax")
|
||||
b.Property<long>("Fax")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("nvarchar(20)");
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<bool>("IsDeleted")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
|
@ -4573,21 +4571,21 @@ namespace Kurs.Platform.Migrations
|
|||
.HasMaxLength(100)
|
||||
.HasColumnType("nvarchar(100)");
|
||||
|
||||
b.Property<string>("Phone1")
|
||||
b.Property<long>("Phone1")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("nvarchar(20)");
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Phone2")
|
||||
b.Property<long>("Phone2")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("nvarchar(20)");
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Phone3")
|
||||
b.Property<long>("Phone3")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("nvarchar(20)");
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Phone4")
|
||||
b.Property<long>("Phone4")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("nvarchar(20)");
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Status")
|
||||
.HasMaxLength(10)
|
||||
|
|
@ -6037,8 +6035,8 @@ namespace Kurs.Platform.Migrations
|
|||
.HasMaxLength(128)
|
||||
.HasColumnType("nvarchar(128)");
|
||||
|
||||
b.Property<string>("Fax")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
b.Property<long>("Fax")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Founder")
|
||||
.HasMaxLength(128)
|
||||
|
|
@ -6068,8 +6066,8 @@ namespace Kurs.Platform.Migrations
|
|||
.HasMaxLength(64)
|
||||
.HasColumnType("nvarchar(64)");
|
||||
|
||||
b.Property<string>("Mobile")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
b.Property<long>("Mobile")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.HasMaxLength(64)
|
||||
|
|
@ -6086,8 +6084,8 @@ namespace Kurs.Platform.Migrations
|
|||
b.Property<Guid>("PaymentMethodId")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<string>("Phone")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
b.Property<long>("Phone")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("PostalCode")
|
||||
.HasMaxLength(16)
|
||||
|
|
@ -12211,9 +12209,8 @@ namespace Kurs.Platform.Migrations
|
|||
.HasColumnType("nvarchar(max)")
|
||||
.HasColumnName("ExtraProperties");
|
||||
|
||||
b.Property<string>("Fax")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("nvarchar(20)");
|
||||
b.Property<long>("Fax")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Founder")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
|
@ -12241,9 +12238,8 @@ namespace Kurs.Platform.Migrations
|
|||
.HasMaxLength(64)
|
||||
.HasColumnType("nvarchar(64)");
|
||||
|
||||
b.Property<string>("Mobile")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("nvarchar(20)");
|
||||
b.Property<long>("Mobile")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
|
|
@ -12259,9 +12255,8 @@ namespace Kurs.Platform.Migrations
|
|||
.HasMaxLength(64)
|
||||
.HasColumnType("nvarchar(64)");
|
||||
|
||||
b.Property<string>("Phone")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("nvarchar(20)");
|
||||
b.Property<long>("Phone")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<string>("PostalCode")
|
||||
.HasMaxLength(10)
|
||||
|
|
|
|||
|
|
@ -513,7 +513,7 @@ public class BlogPostSeedDto
|
|||
public string Slug { get; set; }
|
||||
public string ContentTr { get; set; }
|
||||
public string ContentEn { get; set; }
|
||||
public string ReadTime { get; set; }
|
||||
public DateTime ReadTime { get; set; }
|
||||
public string Summary { get; set; }
|
||||
public string CoverImage { get; set; }
|
||||
public string CategoryName { get; set; }
|
||||
|
|
|
|||
|
|
@ -807,7 +807,7 @@ const Grid = (props: GridProps) => {
|
|||
}
|
||||
startEditAction={gridDto.gridOptions.editingOptionDto?.startEditAction}
|
||||
popup={{
|
||||
title: gridDto.gridOptions.editingOptionDto?.popup?.title,
|
||||
title: translate('::' + gridDto.gridOptions.editingOptionDto?.popup?.title),
|
||||
showTitle: gridDto.gridOptions.editingOptionDto?.popup?.showTitle,
|
||||
hideOnOutsideClick:
|
||||
gridDto.gridOptions.editingOptionDto?.popup?.hideOnOutsideClick,
|
||||
|
|
|
|||
Loading…
Reference in a new issue