You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
590 B
19 lines
590 B
using System.ComponentModel.DataAnnotations; |
|
using Volo.Abp.Validation; |
|
|
|
namespace Sanhe.Abp.LocalizationManagement; |
|
|
|
public class GetTextByKeyInput |
|
{ |
|
[Required] |
|
[DynamicStringLength(typeof(TextConsts), nameof(TextConsts.MaxKeyLength))] |
|
public string Key { get; set; } |
|
|
|
[Required] |
|
[DynamicStringLength(typeof(LanguageConsts), nameof(LanguageConsts.MaxCultureNameLength))] |
|
public string CultureName { get; set; } |
|
|
|
[Required] |
|
[DynamicStringLength(typeof(ResourceConsts), nameof(ResourceConsts.MaxNameLength))] |
|
public string ResourceName { get; set; } |
|
}
|
|
|