package com.yuchen.saas.park.api.response;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName ParkInfoResponse
 * @Description ParkInfoResponse
 * @Author 肖祥
 * @Date 2022/11/03 10:35
 * @Version 1.0。0
 **/
@ApiModel(value = "ParkInfoResponse", description = "ParkInfoResponse")
@Data
public class ParkInfoResponse implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 园区名称
     */
    @ApiModelProperty(name = "parkName", value = "园区名称")
    private String parkName;

    /**
     * 园区名称
     */
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    @ApiModelProperty(name = "id", value = "园区id")
    private Long id;
}
