package com.pressing.modules.customer.dto;

import jakarta.validation.constraints.NotBlank;

public final class CustomerDtos {
    private CustomerDtos() {
    }

    public record CustomerRequest(
            @NotBlank String firstName,
            @NotBlank String lastName,
            String phone,
            String phoneSecondary,
            String email,
            String address,
            Boolean blacklisted,
            String blacklistReason
    ) {
    }

    public record CustomerResponse(
            Long id,
            String customerNumber,
            String firstName,
            String lastName,
            String phone,
            String phoneSecondary,
            String email,
            String address,
            boolean blacklisted,
            String blacklistReason,
            String createdBy,
            java.time.Instant createdAt
    ) {
    }
}
