8 changed files with 60 additions and 31 deletions
@ -1,15 +1,15 @@ |
|||||
using System.ComponentModel.DataAnnotations; |
using System.ComponentModel.DataAnnotations; |
||||
using Volo.Abp.Validation; |
using Volo.Abp.Validation; |
||||
|
|
||||
namespace LINGYUN.Abp.Saas.Tenants; |
namespace LINGYUN.Abp.Saas.Tenants; |
||||
|
|
||||
public class TenantConnectionStringCreateOrUpdate |
public class TenantConnectionStringSetInput |
||||
{ |
{ |
||||
[Required] |
[Required] |
||||
[DynamicStringLength(typeof(TenantConnectionStringConsts), nameof(TenantConnectionStringConsts.MaxNameLength))] |
[DynamicStringLength(typeof(TenantConnectionStringConsts), nameof(TenantConnectionStringConsts.MaxNameLength))] |
||||
public string Name { get; set; } |
public string Name { get; set; } |
||||
|
|
||||
[Required] |
[Required] |
||||
[DynamicStringLength(typeof(TenantConnectionStringConsts), nameof(TenantConnectionStringConsts.MaxValueLength))] |
[DynamicStringLength(typeof(TenantConnectionStringConsts), nameof(TenantConnectionStringConsts.MaxValueLength))] |
||||
public string Value { get; set; } |
public string Value { get; set; } |
||||
} |
} |
||||
Loading…
Reference in new issue