package com.hotels.DTO;

public class CreatingHotelDto {
    public String name;
    public String address;
    public String email;
    public String description;
    public int phone;
    public int category;
}

package com.hotelsamdrooms.DTO;

import java.util.List;

public class CreatingHotelDto {
    public String name;
    public String address;
    public String phone;
    public String description;
    public float category;
    public List<String> facilities;
    public List<String> rooms;
}

Update CreatingHotelDto.java