using Mapster; using MediatR; using Newtonsoft.Json; using Swashbuckle.AspNetCore.Annotations; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FlexJobApi.Core { /// /// 查询用户简历-详细信息 /// [Resource([EnumResourceController.UserServerUserResume])] public class GetUserResumeDetailQuery : IRequest { } /// /// 查询用户简历-详细信息-结果 /// public class GetUserResumeDetailQueryResult { public GetUserResumeDetailQueryResult() { Photos = []; } /// /// 身高 /// public int? Height { get; set; } /// /// 体重 /// public int? Weight { get; set; } /// /// 生活照 /// [JsonIgnore, SwaggerIgnore] public List Photos { get; set; } /// /// 生活照 /// [AdaptIgnore] [JsonProperty("photos")] public List PhotoImgs => Photos.Select(it => it.Img).ToList(); } }