package com.sckw.contract.model.vo.res;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.sckw.core.utils.LongToStringUtils;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author czh
 * @desc 合同查询返参
 * @date 2023/7/13
 */
@Data
public class ContractGoodsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = -8699172452542787584L;
    /**
     * 商品id
     */
    @JsonSerialize(using = LongToStringUtils.class)
    @Schema(description = "商品id")
    private Long goodsId;

    /**
     * 商品名称
     */
    @Schema(description = "商品名称")
    private String goodsName;

    @Schema(description = "数量")
    private BigDecimal amount;


}
