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.
20 lines
614 B
20 lines
614 B
3 years ago
|
using System.ComponentModel.DataAnnotations;
|
||
|
using Volo.Abp.Validation;
|
||
|
|
||
|
namespace Sanhe.Abp.LocalizationManagement;
|
||
|
|
||
|
public class CreateTextInput : CreateOrUpdateTextInput
|
||
|
{
|
||
|
[Required]
|
||
|
[DynamicStringLength(typeof(ResourceConsts), nameof(ResourceConsts.MaxNameLength))]
|
||
|
public string ResourceName { get; set; }
|
||
|
|
||
|
[Required]
|
||
|
[DynamicStringLength(typeof(TextConsts), nameof(TextConsts.MaxKeyLength))]
|
||
|
public string Key { get; set; }
|
||
|
|
||
|
[Required]
|
||
|
[DynamicStringLength(typeof(LanguageConsts), nameof(LanguageConsts.MaxCultureNameLength))]
|
||
|
public string CultureName { get; set; }
|
||
|
}
|