feat: 1.单品改价 2.免厨打
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package com.chaozhanggui.system.cashierservice.entity.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.DecimalMin;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class UpdatePriceDTO {
|
||||
@NotNull
|
||||
private Integer shopId;
|
||||
@NotNull
|
||||
private Integer cartId;
|
||||
@DecimalMin("0.01")
|
||||
@NotNull
|
||||
private BigDecimal amount;
|
||||
@NotBlank(message = "折扣原因不能为空")
|
||||
private String note;
|
||||
}
|
||||
@@ -26,4 +26,5 @@ public class CartVo {
|
||||
private String masterId;
|
||||
private String tableId;
|
||||
private Integer orderId;
|
||||
private Boolean isPrint;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user