liujie
2026-08-04 e9e42b621afdf6ac94f5327ee843b32b10a401b4
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
package com.tourguide.modules.finance.dto;
 
import com.tourguide.modules.finance.entity.GuideWithdrawal;
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
public class WithdrawalResponse {
    private final Long id;
    private final String withdrawalNo;
    private final Long guideId;
    private final String guideName;
    private final String guideMobile;
    private final BigDecimal amount;
    private final String status;
    private final String auditRemark;
    private final String processor;
    private final LocalDateTime appliedAt;
    private final LocalDateTime processedAt;
 
    public WithdrawalResponse(GuideWithdrawal withdrawal) {
        this.id = withdrawal.getId();
        this.withdrawalNo = withdrawal.getWithdrawalNo();
        this.guideId = withdrawal.getGuideId();
        this.guideName = withdrawal.getGuideName();
        this.guideMobile = withdrawal.getGuideMobile();
        this.amount = withdrawal.getAmount();
        this.status = withdrawal.getStatus();
        this.auditRemark = withdrawal.getAuditRemark();
        this.processor = withdrawal.getProcessor();
        this.appliedAt = withdrawal.getAppliedAt();
        this.processedAt = withdrawal.getProcessedAt();
    }
 
    public Long getId() { return id; }
    public String getWithdrawalNo() { return withdrawalNo; }
    public Long getGuideId() { return guideId; }
    public String getGuideName() { return guideName; }
    public String getGuideMobile() { return guideMobile; }
    public BigDecimal getAmount() { return amount; }
    public String getStatus() { return status; }
    public String getAuditRemark() { return auditRemark; }
    public String getProcessor() { return processor; }
    public LocalDateTime getAppliedAt() { return appliedAt; }
    public LocalDateTime getProcessedAt() { return processedAt; }
}