| 123456789101112131415161718192021222324252627282930313233343536 |
- using System.ComponentModel.DataAnnotations;
- using Abp.AutoMapper;
- using WePlatform.BaseInfo;
- using IwbZero.Authorization.Base.SystemInfo;
- namespace WePlatform.BaseSystem.Functions.Dto
- {
- [AutoMapTo(typeof(SysFunction))]
- public class FunctionCreateDto
- {
- [MaxLength(SysFunctionBase.FunctionNoMaxLength)]
- public string FunctionNo { get; set; }
- [MaxLength(SysFunctionBase.FunctionNoMaxLength)]
- public string ParentNo { get; set; }
- [MaxLength(SysFunctionBase.FunctionNameMaxLength)]
- public string FunctionName { get; set; }
- [MaxLength(SysFunctionBase.PermissionNameMaxLength)]
- public string PermissionName { get; set; }
- public int FunctionType { get; set; }
- [MaxLength(SysFunctionBase.FunctionPathMaxLength)]
- public string FunctionPath { get; set; }
- [StringLength(SysFunctionBase.ActionMaxLength)]
- public string Action { get; set; }
- [StringLength(SysFunctionBase.ControllerMaxLength)]
- public string Controller { get; set; }
- public string Url { get; set; }
- [StringLength(SysFunctionBase.IconMaxLength)]
- public string Icon { get; set; }
- [StringLength(SysFunctionBase.ClassMaxLength)]
- public string Class { get; set; }
- public string Script { get; set; }
- public int Sort { get; set; }
- public int Depth { get; set; }
- public bool NeedAuth { get; set; }
- }
- }
|