package com.example.cezenPBX.DTO;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;

public record PsEndPointsDTO(
        @NotBlank(message = "ID is required")
        @Size(min=1, message="Extension point length must be 1 or longer")
        String id,
        String transport,
//        String aors,
//        String auth,
        String context,
        String disallow,
        String allow,
        String directMedia,
        String connectedLineMethod,
        String callerid,
        String dtmfMode,
        String mohsuggest,
        @Email
        String mailboxes) {
}
