package cn.iocoder.yudao.module.member.controller.admin.activitytable.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 活动用餐桌子新增/修改 Request VO")
@Data
public class ActivityTableSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "5590")
    private Long id;

    @Schema(description = "活动id", requiredMode = Schema.RequiredMode.REQUIRED, example = "8513")
    @NotNull(message = "活动id不能为空")
    private Long activityId;

    @Schema(description = "序号")
    private Integer serialNumber;

    @Schema(description = "价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "515")
    @NotNull(message = "价格不能为空")
    private BigDecimal price;

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "13832")
    private Long userId;

    @Schema(description = "电话")
    private String mobile;

    private String type;

}