sunpengfei
2025-08-13 94161f59f85ab482f283aaf861d7109bef326980
FlexJobApi.Core/Models/UserServer/UserResumes/Queries/GetUserResumeDetailQuery.cs
@@ -1,4 +1,7 @@
using MediatR;
using Mapster;
using MediatR;
using Newtonsoft.Json;
using Swashbuckle.AspNetCore.Annotations;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
@@ -40,6 +43,14 @@
        /// <summary>
        /// 生活照
        /// </summary>
        public List<string> Photos { get; set; }
        [JsonIgnore, SwaggerIgnore]
        public List<GetUserResumeQueryResultPhoto> Photos { get; set; }
        /// <summary>
        /// 生活照
        /// </summary>
        [AdaptIgnore]
        [JsonProperty("photos")]
        public List<string> PhotoImgs => Photos.Select(it => it.Img).ToList();
    }
}