package com.jkcredit.invoice.model.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
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-05-30 11:47
 * @version: V1.0
 **/
@Data
@ApiModel(value = "车辆备案")
@ExcelTarget("carFreeCarrierRegister")
public class CarFreeCarrierRegister extends BaseEntity implements Serializable {
    private static final long serialVersionUID = -2043980490661881979L;

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

    /**
     * 车牌号
     */
    @Excel(name = "车牌号码")
    @ApiModelProperty(value = "车牌号")
    private String plateNumber;

    /**
     * 车牌颜色
     */
    @Excel(name = "车牌颜色")
    @ApiModelProperty(value = "车牌颜色")
    private String plateColor;

    /**
     * 是否备案成功
     */
    @ApiModelProperty(value = "是否备案成功")
    private Integer isSuccess;

    /**
     * 错误信息
     */
    @Excel(name = "备案结果")
    @ApiModelProperty(value = "错误信息")
    private String errorMsg;

    /**
     * 批次号
     */
    @ApiModelProperty(value = "批次号")
    private String batchNumber;

    /**
     * 批次id
     */
    @ApiModelProperty(value = "批次id")
    private String batchId;

    private Long startTime;

    private Long endTime;
}
