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

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Description:
 * @Author: lt
 * @Date: 2023-07-26-15:48
 */
@Getter
@Setter
@ToString
public class WantBuyHallRes implements Serializable {

    @Serial
    private static final long serialVersionUID = 8658159273205687254L;

    private Long id;

    /**
     * 商品名称
     */
    private String name;

    private Long entId;


    private String entName;

    /**
     * 商品分类
     */
    private String goodsType;

    /**
     * 商品分类label
     */
    private String goodsTypeLabel;

    /**
     * 规格
     */
    private String spec;

    /**
     * 地址信息
     */
    private String addressName;
    private String cityName;
    private String detailAddress;

    /**
     * 支付方式
     */
    private String tradings;

    /**
     * 求购单价
     */
    private String price;

    /**
     * 求购总量
     */
    private String amount;

    /**
     * 常见时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Date createTime;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Date updateTime;

    /**
     * 状态
     */
    private Integer status;
    private String statusLabel;

    /**
     * 备注
     */
    private String remark;

    //private List<KwoWantBuyTrading> wantBuyTradings;
    private List<WantBuyTradingRes> wantBuyTradings;


}
