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.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbAttribute;
import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean;

@Setter
@ToString(callSuper = true)
@NoArgsConstructor
@DynamoDbBean
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class LandAuctionRecordAttrib {
    @JsonProperty("land_meta_id")
    private Integer landMetaId;

    @JsonProperty("auction_number")
    private Integer auctionNumber;

    @DynamoDbAttribute("land_meta_id")
    public Integer getLandMetaId() {
        return landMetaId;
    }

    @DynamoDbAttribute("auction_number")
    public Integer getAuctionNumber() {
        return auctionNumber;
    }
}
