package com.platform.entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 直播间商品表
 * </p>
 *
 * @author abner
 * @since 2020-09-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TmLiveGoods对象", description="直播间商品表")
public class TmLiveGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "直播间商品ID")
    private Integer goodsId;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "商品价钱")
    private BigDecimal price;

    @ApiModelProperty(value = "商品购买链接")
    private String url;

    @ApiModelProperty(value = "商品封面链接地址")
    private String coverImg;

    @ApiModelProperty(value = "是否可用:1->可用;2->不可用")
    private Integer enable;

    @ApiModelProperty(value = "直播间id")
    private Long roomId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "最后更新时间")
    private LocalDateTime updateTime;


}
