From fa782dca2a00e9a4a48c5b3588f5eb3b47af93cf Mon Sep 17 00:00:00 2001 From: wayne <wayne8692wayne8692@gmail.com> Date: 星期二, 01 三月 2022 15:41:05 +0800 Subject: [PATCH] [update] [todo 136031] 諮詢度表現,提供前端該顧問所有預約單數量以及近一個月的預約單數量 --- pamapi/src/main/java/com/pollex/pam/service/dto/SatisfactionCustomerScoreDTO.java | 19 ++++++++++++++----- 1 files changed, 14 insertions(+), 5 deletions(-) diff --git a/pamapi/src/main/java/com/pollex/pam/service/dto/SatisfactionCustomerScoreDTO.java b/pamapi/src/main/java/com/pollex/pam/service/dto/SatisfactionCustomerScoreDTO.java index 47b892e..1cbf0e3 100644 --- a/pamapi/src/main/java/com/pollex/pam/service/dto/SatisfactionCustomerScoreDTO.java +++ b/pamapi/src/main/java/com/pollex/pam/service/dto/SatisfactionCustomerScoreDTO.java @@ -1,15 +1,18 @@ package com.pollex.pam.service.dto; +import com.pollex.pam.enums.SatisfactionTypeEnum; + public class SatisfactionCustomerScoreDTO { - private Long satisfactionId; + private Long appointmentId; private Float score; + private SatisfactionTypeEnum type; - public Long getSatisfactionId() { - return satisfactionId; + public Long getAppointmentId() { + return appointmentId; } - public void setSatisfactionId(Long satisfactionId) { - this.satisfactionId = satisfactionId; + public void setAppointmentId(Long appointmentId) { + this.appointmentId = appointmentId; } public Float getScore() { return score; @@ -17,4 +20,10 @@ public void setScore(Float score) { this.score = score; } + public SatisfactionTypeEnum getType() { + return type; + } + public void setType(SatisfactionTypeEnum type) { + this.type = type; + } } -- Gitblit v1.8.0