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; }
|
}
|