package com.ltgk.catches.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ltgk.common.annotation.Excel;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 水产品价格记录导出视图
 *
 * @author Qi ChengBin
 * @date 2025/01/08 17:05:47
 */
@Data
public class TpAquaticProductPriceVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Excel(name = "产品名称", sort = 0, width = 30, height = 20)
    private String productName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "交易时间", sort = 1, width = 30, height = 20)
    private Date tradingTime;

    @Excel(name = "产品单价（千克/元）", sort = 2, width = 30, height = 20)
    private BigDecimal avgPrice;

    @Excel(name = "销售地点", sort = 3, width = 30, height = 20)
    private String salePlace;


    @Excel(name = "备注", sort = 4, width = 30, height = 20)
    private String remark;
}
