package com.caliverse.admin.dynamodb.domain.atrrib;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.*;
import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean;

@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@DynamoDbBean
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class BuildingAttrib extends DynamoDBAttribBase{
    @JsonProperty("building_guid")
    private String buildingGuid;

    @JsonProperty("building_meta_id")
    private Integer buildingMetaId;

    @JsonProperty("building_name")
    private String buildingName;

    private String description;

    @JsonProperty("owner_user_guid")
    private String ownerUserGuid;
    @JsonProperty("RentalCurrencyType")
    private Integer rentalCurrencyType;
    @JsonProperty("RentalCurrencyAmount")
    private Double rentalCurrencyAmount;
    @JsonProperty("IsRentalOpen")
    private boolean isRentalOpen;
}
