package com.ltgk.catches.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @Author: wan kun
 * @Description: TODO
 * @Date: 2025/1/20 17:03
 * @Version: 1.0
 */
@Data
@Accessors(chain = true)
public class FishLogTrendVo {

    @JsonProperty(value = "yield")
    @ApiModelProperty(value = "渔获总重量")
    private BigDecimal yield;

    @JsonProperty(value = "date")
    @ApiModelProperty(value = "渔获时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String date;

    @JsonProperty(value = "aquaticName")
    @ApiModelProperty(value = "渔获种类")
    private String aquaticName;
}
