package cz.muni.fi.pa165.soccermanager.dto;

import javax.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class TeamDto {
  private Long id;

  private ReferenceDto user;

  @NotBlank
  private String name;

  @NotBlank
  private String ground;

  private ReferenceDto championship;
}
