package cn.reghao.tnb.content.api.dto.geo;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author reghao
 * @date 2023-08-31 10:38:26
 */
@NoArgsConstructor
@Setter
@Getter
public class MallReplyPhotoDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotBlank
    private String replyId;
    @NotBlank
    private String uploadId;
    @NotNull
    private Integer channelId;
    @NotBlank
    private String photoUrl;
    private String manufacturer;
    private String model;
    private String software;
    private String shotAt;
    @NotNull
    private Double longitude;
    @NotNull
    private Double latitude;

    public MallReplyPhotoDto(String replyId, String uploadId, int channelId, String photoUrl) {
        this.replyId = replyId;
        this.uploadId = uploadId;
        this.channelId = channelId;
        this.photoUrl = photoUrl;
    }
}
