package com.yonge.cooleshow.biz.dal.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import lombok.Data;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

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

import java.math.BigDecimal;

/**
 * 商品价格设置
 * 2023-07-21 17:32:49
 */
@Data
@ApiModel(" SysGoodsPrice-商品价格设置")
@TableName("sys_goods_price")
public class SysGoodsPrice implements Serializable {

    @ApiModelProperty("主键ID") 

    @TableId(value = "id_", type = IdType.AUTO)
	    private Long id;

    @ApiModelProperty("商品类型") 
	@TableField(value = "goods_type_")
    private String goodsType;

    @ApiModelProperty("销售价") 
	@TableField(value = "sale_price_")
    private BigDecimal salePrice;

    @ApiModelProperty("原价") 
	@TableField(value = "original_price_")
    private BigDecimal originalPrice;

    @ApiModelProperty("描述") 
	@TableField(value = "describe_")
    private String describe;

    @ApiModelProperty("购买周期") 
	@TableField(value = "duration_")
    private Integer duration;

    @ApiModelProperty("图片") 
	@TableField(value = "goods_img_")
    private String goodsImg;

    @ApiModelProperty("更新人") 
	@TableField(value = "update_by_")
    private Long updateBy;

    @ApiModelProperty("更新时间") 
	@TableField(value = "update_time_")
    private Date updateTime;

    @ApiModelProperty("创建时间") 
	@TableField(value = "create_time_")
    private Date createTime;

}