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

import com.caliverse.admin.dynamodb.entity.ELanguageType;
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;

import java.util.Map;

@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@DynamoDbBean
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class BannerAttrib extends DynamoDBAttribBase{
    @JsonProperty("banner_id")
    private Integer bannerId;

    @JsonProperty("banner_type")
    private Integer bannerType;

    @JsonProperty("start_time")
    private String startTime;

    @JsonProperty("end_time")
    private String endTime;

    @JsonProperty("order_id")
    private Integer orderId;

    @JsonProperty("image_url")
    private Map<ELanguageType, String> imageUrl;

    @JsonProperty("link_address")
    private Map<ELanguageType, String> linkAddress;
}
