using System.ComponentModel.DataAnnotations; using Abp.Application.Services.Dto; using Abp.AutoMapper; namespace WePlatform.WeLib.EnvironResource.Dto { /// /// 环境资源 /// [AutoMapTo(typeof(EnvironResourceInfo))] public class EnvironResourceUpdateDto: EntityDto { /// /// 资源名称 /// [StringLength(EnvironResourceInfo.NameLength)] public string ResourceName { get; set; } /// /// 资源类型 /// public int ResourceType { get; set; } /// /// 资源路径 /// [StringLength(EnvironResourceInfo.PathLength)] public string ResourcePath { get; set; } /// /// 资源描述 /// [StringLength(EnvironResourceInfo.DescLength)] public string Description { get; set; } /// /// 消息代码 /// [StringLength(EnvironResourceInfo.CodeLength)] public string MessageCode { get; set; } public string FileName { get; set; } public string FileExt { get; set; } public string FileInfo { get; set; } } }