创建订单携带就餐人数
This commit is contained in:
@@ -2,6 +2,7 @@ package com.chaozhanggui.system.cashierservice.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.Min;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import java.util.List;
|
||||
|
||||
@@ -19,6 +20,7 @@ public class OrderVo {
|
||||
|
||||
private String sendType;
|
||||
|
||||
@NotBlank
|
||||
private String eatModel;
|
||||
@Min(1)
|
||||
private Integer seatNum;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user