package com.gxwebsoft.apps.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 电池管理记录表
 *
 * @author 科技小王子
 * @since 2023-05-11 19:10:13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "EquipmentOrderGoods对象", description = "电池管理记录表")
@TableName("apps_equipment_order_goods")
public class EquipmentOrderGoods implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品ID")
    @TableId(value = "order_goods_id", type = IdType.AUTO)
    private Integer orderGoodsId;

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

    @ApiModelProperty(value = "下单类型")
    private String equipmentCategory;

    @ApiModelProperty(value = "商品封面图")
    private String image;

    @ApiModelProperty(value = "二维码")
    private String qrcode;

    @ApiModelProperty(value = "分类ID")
    private Integer categoryId;

    @ApiModelProperty(value = "电池型号")
    private String batteryModel;

    @ApiModelProperty(value = "商品卖点")
    private String sellingPoint;

    @ApiModelProperty(value = "库存总量")
    private Integer stockTotal;

    @ApiModelProperty(value = "商品详情")
    private String content;

    @ApiModelProperty(value = "电池租金")
    private BigDecimal batteryRent;

    @ApiModelProperty(value = "电池价格")
    private BigDecimal batteryPrice;

    @ApiModelProperty(value = "电池押金")
    private BigDecimal batteryDeposit;

    @ApiModelProperty(value = "电池保险")
    private BigDecimal batteryInsurance;

    @ApiModelProperty(value = "首付款")
    private BigDecimal downPayment;

    @ApiModelProperty(value = "分期期数")
    private BigDecimal periods;

    @ApiModelProperty(value = "分期还款")
    private BigDecimal repayment;

    @ApiModelProperty(value = "手续费")
    private BigDecimal serviceCharges;

    @ApiModelProperty(value = "分期方式 10按周 20按月")
    private Integer periodsType;

    @ApiModelProperty(value = "订单编号")
    private Integer orderId;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "排序(数字越小越靠前)")
    private Integer sortNumber;

    @ApiModelProperty(value = "备注")
    private String comments;

    @ApiModelProperty(value = "状态, 0正常, 1冻结")
    private Integer status;

    @ApiModelProperty(value = "是否删除, 0否, 1是")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "商户编码")
    private String merchantCode;

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

    @ApiModelProperty(value = "注册时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

}
