package com.micer.easyball.pojo.Dto;

import lombok.Data;

import javax.validation.constraints.Future;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.Date;

@Data
public class GameUpdateDto {
    @NotBlank
    private String id;

    @Size(max = 255)
    private String venue;      // 仅允许修改场地

    @Future
    private Date date;         // 仅允许修改日期
}
