菜品预定
This commit is contained in:
1 parent
9e09738b26
commit
77dedf29f2
11 files changed
+248
-62
No files matched your search
+8
@@ -99,4 +99,12 @@ public class BoxesBookingEntity extends Model<BoxesBookingEntity> {
|
||||
@Schema(description="用户名称")
|
||||
@TableField(exist = false)
|
||||
private String userName;
|
||||
|
||||
@Schema(description="餐次名称")
|
||||
@TableField(exist = false)
|
||||
private String mealName;
|
||||
|
||||
@Schema(description="预约时间")
|
||||
@TableField(exist = false)
|
||||
private String reservationTime;
|
||||
}
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
package com.bsd.pjcloud.canteen.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalTime;
|
||||
|
||||
@Data
|
||||
@Schema(description = "时间段配置VO")
|
||||
public class TimeSlotConfigVO {
|
||||
|
||||
@Schema(description = "主键id")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "餐次类型 1-早餐 2-中餐 3-晚餐")
|
||||
private Integer mealType;
|
||||
|
||||
@Schema(description = "餐次名称")
|
||||
private String mealName;
|
||||
|
||||
@Schema(description = "开始时间")
|
||||
@JsonFormat(pattern = "HH:mm")
|
||||
private LocalTime startTime;
|
||||
|
||||
@Schema(description = "结束时间")
|
||||
@JsonFormat(pattern = "HH:mm")
|
||||
private LocalTime endTime;
|
||||
|
||||
@Schema(description = "时间段名称")
|
||||
private String timeSlotName;
|
||||
|
||||
@Schema(description = "是否启用 0-禁用 1-启用")
|
||||
private Integer isEnabled;
|
||||
|
||||
@Schema(description = "排序")
|
||||
private Integer sort;
|
||||
}
|
||||
Reference in new issue
Block a user