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
| package com.talentcard.server.response;
|
| import java.time.LocalDateTime;
|
| import com.talentcard.server.entity.DependentCardApplyStatusLog;
| import io.swagger.v3.oas.annotations.media.Schema;
|
| @Schema(name = "DependentCardApplyStatusLogResponse", description = "家属附属卡申请状态变更记录")
| public record DependentCardApplyStatusLogResponse(
| Long id,
| Long applyId,
| String applyNo,
| Integer fromStatus,
| Integer toStatus,
| String operatorType,
| Long operatorId,
| String remark,
| LocalDateTime createdAt
| ) {
|
| public static DependentCardApplyStatusLogResponse from(DependentCardApplyStatusLog log) {
| return new DependentCardApplyStatusLogResponse(
| log.getId(),
| log.getApplyId(),
| log.getApplyNo(),
| log.getFromStatus(),
| log.getToStatus(),
| log.getOperatorType(),
| log.getOperatorId(),
| log.getRemark(),
| log.getCreatedAt()
| );
| }
| }
|
|