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
| package com.talentcard.server.response;
|
| import java.time.LocalDateTime;
|
| import com.talentcard.server.entity.DependentCardApply;
| import io.swagger.v3.oas.annotations.media.Schema;
|
| @Schema(name = "DependentCardApplyAdminResponse", description = "管理后台家属附属卡申请信息")
| public record DependentCardApplyAdminResponse(
| Long id,
| String applyNo,
| Long talentId,
| Long talentCardId,
| String talentName,
| String talentMobile,
| String talentCardNo,
| String cardLevel,
| String dependentName,
| String dependentMobile,
| String dependentIdCardNo,
| String relation,
| Integer status,
| LocalDateTime applyTime,
| Long auditBy,
| LocalDateTime auditTime,
| String auditRemark
| ) {
|
| public static DependentCardApplyAdminResponse from(DependentCardApply apply) {
| return new DependentCardApplyAdminResponse(
| apply.getId(),
| apply.getApplyNo(),
| apply.getTalentId(),
| apply.getTalentCardId(),
| apply.getTalentName(),
| apply.getTalentMobile(),
| apply.getTalentCardNo(),
| apply.getCardLevel(),
| apply.getDependentName(),
| apply.getDependentMobile(),
| apply.getDependentIdCardNo(),
| apply.getRelation(),
| apply.getStatus(),
| apply.getApplyTime(),
| apply.getAuditBy(),
| apply.getAuditTime(),
| apply.getAuditRemark()
| );
| }
| }
|
|