新增创建订单 切换就餐模式接口
This commit is contained in:
@@ -2,6 +2,7 @@ package com.chaozhanggui.system.cashierservice.entity.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.Max;
|
||||
import javax.validation.constraints.Min;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
@@ -12,5 +13,8 @@ public class ChoseEatModelDTO {
|
||||
private Integer shopId;
|
||||
private String tableId;
|
||||
@NotNull
|
||||
private Integer userId;
|
||||
@Max(1)
|
||||
@Min(0)
|
||||
// 0切换店内 1切换外带
|
||||
private Integer type;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user