package com.jkcredit.invoice.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.jkcredit.invoice.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @description: 交易信息实体
 * @author: sunzhaoning
 * @create: 2019-06-19 09:51
 * @version: V1.0
 **/
@Data
@ApiModel(value = "交易信息实体")
public class CardTrade extends BaseEntity implements Serializable {

    private static final long serialVersionUID = -8605072741219029942L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 企业编号
     */
    @ApiModelProperty(value = "企业编号")
    private String companyNum;

    /**
     * 卡号
     */
    @ApiModelProperty(value = "卡号")
    private String cardId;

    /**
     * 车牌号
     */
    @ApiModelProperty(value = "车牌号")
    private String plateNum;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private Integer tradeStatus;

    /**
     * 开始时间
     */
    @ApiModelProperty(value = "开始时间")
    private String startExTime;

    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间")
    private String endExTime;

    /**
     * 交易id
     */
    @ApiModelProperty(value = "交易id")
    private String tradeId;

    /**
     * 交易时间
     */
    @ApiModelProperty(value = "交易时间")
    private String exTime;

    /**
     * 交易金额
     */
    @ApiModelProperty(value = "交易金额")
    private Long fee;

    /**
     * 是否成功
     */
    @ApiModelProperty(value = "是否请求成功")
    private Integer isSuccess;
}
