| 123456789101112131415161718192021222324252627282930313233 |
- using System.ComponentModel.DataAnnotations;
- using Abp.AutoMapper;
- using VberZero.AppService.Base.TreeBase.Dto;
- using VberZero.BaseSystem;
- namespace VberZero.AppService.Functions.Dto;
- [AutoMapTo(typeof(SysFunction))]
- public class FunctionCreateDto : VzTreeEntityDto<int?>
- {
- [MaxLength(SysFunction.NameMaxLength)]
- public string Name { get; set; }
- [MaxLength(SysFunction.DisplayNameMaxLength)]
- public string DisplayName { get; set; }
- [MaxLength(SysFunction.PermissionNameMaxLength)]
- public string PermissionName { get; set; }
- public int FunctionType { get; set; }
- public string Url { get; set; }
- [StringLength(SysFunction.IconMaxLength)]
- public string Icon { get; set; }
- [StringLength(SysFunction.ClassMaxLength)]
- public string Class { get; set; }
- public string Script { get; set; }
- public bool NeedAuth { get; set; }
- }
|