parent
094bb98720
commit
e2641c36b6
4 changed files with 130 additions and 0 deletions
@ -0,0 +1,43 @@ |
||||
package org.springblade.desk.oem.pojo.request; |
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema; |
||||
import lombok.Data; |
||||
|
||||
import jakarta.validation.constraints.NotEmpty; |
||||
import jakarta.validation.constraints.NotNull; |
||||
import java.io.Serializable; |
||||
import java.util.List; |
||||
|
||||
/** |
||||
* 结算确认请求 |
||||
* |
||||
* @author qyl |
||||
* @since 2026-05-12 |
||||
*/ |
||||
@Data |
||||
@Schema(description = "结算确认请求") |
||||
public class SettlementConfirmRequestQuery implements Serializable { |
||||
|
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
/** |
||||
* 结算单ID列表 |
||||
*/ |
||||
@NotEmpty(message = "结算单ID不能为空") |
||||
@Schema(description = "结算单ID列表") |
||||
private List<Long> ids; |
||||
|
||||
/** |
||||
* 确认结果:true-结算正确,false-结算异常 |
||||
*/ |
||||
@NotNull(message = "确认结果不能为空") |
||||
@Schema(description = "确认结果:true-结算正确,false-结算异常") |
||||
private Boolean confirmResult; |
||||
|
||||
/** |
||||
* 异常原因(结算异常时必填) |
||||
* 可选值:订单数据错误、无需结算 |
||||
*/ |
||||
@Schema(description = "异常原因(结算异常时必填),可选值:订单数据错误、无需结算") |
||||
private String errorReason; |
||||
} |
||||
Loading…
Reference in new issue