sunpengfei
2025-08-12 234b9a97eabe4fc6ebd52204ffdd575023a1736f
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();
    }
}