Merge remote-tracking branch 'origin/master'

master
18404992668 2023-10-31 18:44:37 +08:00
commit e4451d87c3
4 changed files with 124 additions and 55 deletions

View File

@ -1,5 +1,8 @@
package com.four.common.duck.domain; package com.four.common.duck.domain;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.Date; import java.util.Date;
@ -9,51 +12,36 @@ import java.util.Date;
public class RechargeWithdrawCash { public class RechargeWithdrawCash {
/** /**
* +id * id
*/ */
private Long rechargeWithdrawCashId; private Long rechargeWithdrawCashId;
/** /**
* +id * id
*/ */
private Long userId; private Long userId;
/** /**
* + *
*/
private BigDecimal money;
/**
* +
*/ */
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT-8")
private Date time; private Date time;
/** /**
* 1: 2:+ *
*/ */
private Long status; private String description;
/** /**
* id *
*/ */
private Long certifiedBankCardId; private BigDecimal amount;
public Long getRechargeWithdrawCashId() { public Long getRechargeWithdrawCashId() {
return rechargeWithdrawCashId; return rechargeWithdrawCashId;
} }
public RechargeWithdrawCash() {
}
public RechargeWithdrawCash(Long rechargeWithdrawCashId, Long userId, BigDecimal money, Date time, Long status, Long certifiedBankCardId) {
this.rechargeWithdrawCashId = rechargeWithdrawCashId;
this.userId = userId;
this.money = money;
this.time = time;
this.status = status;
this.certifiedBankCardId = certifiedBankCardId;
}
public void setRechargeWithdrawCashId(Long rechargeWithdrawCashId) { public void setRechargeWithdrawCashId(Long rechargeWithdrawCashId) {
this.rechargeWithdrawCashId = rechargeWithdrawCashId; this.rechargeWithdrawCashId = rechargeWithdrawCashId;
} }
@ -66,14 +54,6 @@ public class RechargeWithdrawCash {
this.userId = userId; this.userId = userId;
} }
public BigDecimal getMoney() {
return money;
}
public void setMoney(BigDecimal money) {
this.money = money;
}
public Date getTime() { public Date getTime() {
return time; return time;
} }
@ -82,19 +62,30 @@ public class RechargeWithdrawCash {
this.time = time; this.time = time;
} }
public Long getStatus() { public String getDescription() {
return status; return description;
} }
public void setStatus(Long status) { public void setDescription(String description) {
this.status = status; this.description = description;
} }
public Long getCertifiedBankCardId() { public BigDecimal getAmount() {
return certifiedBankCardId; return amount;
} }
public void setCertifiedBankCardId(Long certifiedBankCardId) { public void setAmount(BigDecimal amount) {
this.certifiedBankCardId = certifiedBankCardId; this.amount = amount;
}
public RechargeWithdrawCash() {
}
public RechargeWithdrawCash(Long rechargeWithdrawCashId, Long userId, Date time, String description, BigDecimal amount) {
this.rechargeWithdrawCashId = rechargeWithdrawCashId;
this.userId = userId;
this.time = time;
this.description = description;
this.amount = amount;
} }
} }

View File

@ -1,11 +1,14 @@
package com.four.common.duck.interrogation; package com.four.common.duck.interrogation;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date; import java.util.Date;
/** /**
* *
*/ */
public class ConsultationDetails extends ConsultationDetailsType{ public class ConsultationDetails {
/** /**
* id * id
@ -25,6 +28,8 @@ public class ConsultationDetails extends ConsultationDetailsType{
/** /**
* *
*/ */
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT-8")
private Date releaseTime; private Date releaseTime;
/** /**
@ -33,16 +38,19 @@ public class ConsultationDetails extends ConsultationDetailsType{
private String consultationDetailsContent; private String consultationDetailsContent;
/** /**
* * id
*/ */
private Long consultationDetailsTypeId; private Long consultationDetailsTypeId;
/**
*
*/
private String consultationDetailsImg;
/** /**
* *
*/ */
private String userName; private String userName;
private Integer status;
public Long getConsultationDetailsId() { public Long getConsultationDetailsId() {
return consultationDetailsId; return consultationDetailsId;
@ -92,6 +100,14 @@ public class ConsultationDetails extends ConsultationDetailsType{
this.consultationDetailsTypeId = consultationDetailsTypeId; this.consultationDetailsTypeId = consultationDetailsTypeId;
} }
public String getConsultationDetailsImg() {
return consultationDetailsImg;
}
public void setConsultationDetailsImg(String consultationDetailsImg) {
this.consultationDetailsImg = consultationDetailsImg;
}
public String getUserName() { public String getUserName() {
return userName; return userName;
} }
@ -100,26 +116,17 @@ public class ConsultationDetails extends ConsultationDetailsType{
this.userName = userName; this.userName = userName;
} }
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public ConsultationDetails() { public ConsultationDetails() {
} }
public ConsultationDetails(Long consultationDetailsId, String consultationDetailsTitle, Long userId, Date releaseTime, String consultationDetailsContent, Long consultationDetailsTypeId, String userName, Integer status) { public ConsultationDetails(Long consultationDetailsId, String consultationDetailsTitle, Long userId, Date releaseTime, String consultationDetailsContent, Long consultationDetailsTypeId, String consultationDetailsImg, String userName) {
this.consultationDetailsId = consultationDetailsId; this.consultationDetailsId = consultationDetailsId;
this.consultationDetailsTitle = consultationDetailsTitle; this.consultationDetailsTitle = consultationDetailsTitle;
this.userId = userId; this.userId = userId;
this.releaseTime = releaseTime; this.releaseTime = releaseTime;
this.consultationDetailsContent = consultationDetailsContent; this.consultationDetailsContent = consultationDetailsContent;
this.consultationDetailsTypeId = consultationDetailsTypeId; this.consultationDetailsTypeId = consultationDetailsTypeId;
this.consultationDetailsImg = consultationDetailsImg;
this.userName = userName; this.userName = userName;
this.status = status;
} }
} }

View File

@ -1,5 +1,7 @@
package com.four.common.duck.interrogation; package com.four.common.duck.interrogation;
import java.util.List;
/** /**
* @author: tongCheng * @author: tongCheng
* @Package: four-common-duck * @Package: four-common-duck
@ -8,10 +10,19 @@ package com.four.common.duck.interrogation;
**/ **/
public class ConsultationDetailsType { public class ConsultationDetailsType {
/**
*
*/
private Long consultationDetailsTypeId; private Long consultationDetailsTypeId;
/**
*
*/
private String consultationDetailsTypeName; private String consultationDetailsTypeName;
private List<ConsultationDetails> consultationDetailsList;
public Long getConsultationDetailsTypeId() { public Long getConsultationDetailsTypeId() {
return consultationDetailsTypeId; return consultationDetailsTypeId;
@ -29,11 +40,20 @@ public class ConsultationDetailsType {
this.consultationDetailsTypeName = consultationDetailsTypeName; this.consultationDetailsTypeName = consultationDetailsTypeName;
} }
public List<ConsultationDetails> getConsultationDetailsList() {
return consultationDetailsList;
}
public void setConsultationDetailsList(List<ConsultationDetails> consultationDetailsList) {
this.consultationDetailsList = consultationDetailsList;
}
public ConsultationDetailsType() { public ConsultationDetailsType() {
} }
public ConsultationDetailsType(Long consultationDetailsTypeId, String consultationDetailsTypeName) { public ConsultationDetailsType(Long consultationDetailsTypeId, String consultationDetailsTypeName, List<ConsultationDetails> consultationDetailsList) {
this.consultationDetailsTypeId = consultationDetailsTypeId; this.consultationDetailsTypeId = consultationDetailsTypeId;
this.consultationDetailsTypeName = consultationDetailsTypeName; this.consultationDetailsTypeName = consultationDetailsTypeName;
this.consultationDetailsList = consultationDetailsList;
} }
} }

View File

@ -0,0 +1,51 @@
package com.four.common.duck.request;
public class UserRequest {
/**
*
*/
private String username;
/**
*
*/
private String password;
/**
*
*/
private String msg;
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getMsg() {
return msg;
}
public void setMsg(String msg) {
this.msg = msg;
}
public UserRequest() {
}
public UserRequest(String username, String password, String msg) {
this.username = username;
this.password = password;
this.msg = msg;
}
}