using System.ComponentModel.DataAnnotations; using Abp.AutoMapper; using WePlatform.Configuration; namespace WePlatform.WeLib.Scene.Dto { [AutoMapTo(typeof(EnvironResourceRelatedInfo)),AutoMapFrom(typeof(EnvironResourceRelatedInfo))] public class EnvironResourceRelatedDto { /// /// 关联编码 /// [MaxLength(IwbConsts.PrimaryKey)] public string RelatedNo { get; set; } /// /// 关联类型 /// public int RelatedType { get; set; } /// /// 资源信息 /// [MaxLength(IwbConsts.PrimaryKey)] public string EnvironResourceNo { get; set; } } }