package com.crm.rely.backend.core.entity.custom.allocation.roster.area;

import com.crm.rely.backend.core.entity.base.BaseAddEntity;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class CustomAllocationRosterAreaAddEntity extends BaseAddEntity {

    @NotNull(message = "parameter_error")
    @NotBlank(message = "parameter_error")
    private String name;

    @NotNull(message = "parameter_error")
    private List<String> country;

}
