Abp模块
abp
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
624 B

using System.ComponentModel.DataAnnotations;
using Volo.Abp.Validation;
namespace Sanhe.Abp.LocalizationManagement;
public class CreateOrUpdateResourceInput
{
public bool Enable { get; set; }
[Required]
[DynamicStringLength(typeof(ResourceConsts), nameof(ResourceConsts.MaxNameLength))]
public string Name { get; set; }
[DynamicStringLength(typeof(ResourceConsts), nameof(ResourceConsts.MaxDisplayNameLength))]
public string DisplayName { get; set; }
[DynamicStringLength(typeof(ResourceConsts), nameof(ResourceConsts.MaxDescriptionLength))]
public string Description { get; set; }
}