sunpengfei
1 天以前 20af9888642273b5ff389f1fd8e80582083ef0b5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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
{
    /// <summary>
    /// 查询用户简历-详细信息
    /// </summary>
    [Resource([EnumResourceController.UserServerUserResume])]
    public class GetUserResumeDetailQuery : IRequest<GetUserResumeDetailQueryResult>
    { 
    
    }
 
    /// <summary>
    /// 查询用户简历-详细信息-结果
    /// </summary>
    public class GetUserResumeDetailQueryResult
    {
        public GetUserResumeDetailQueryResult()
        {
            Photos = [];
        }
 
        /// <summary>
        /// 身高
        /// </summary>
        public int? Height { get; set; }
 
        /// <summary>
        /// 体重
        /// </summary>
        public int? Weight { get; set; }
 
        /// <summary>
        /// 生活照
        /// </summary>
        [JsonIgnore, SwaggerIgnore]
        public List<GetUserResumeQueryResultPhoto> Photos { get; set; }
 
        /// <summary>
        /// 生活照
        /// </summary>
        [AdaptIgnore]
        [JsonProperty("photos")]
        public List<string> PhotoImgs => Photos.Select(it => it.Img).ToList();
    }
}