package com.yuchen.saas.parking.charge.api.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

@Data
@ApiModel(value = "车辆停入车位事件 数据表", description = "车辆停入车位事件数据表")
@TableName("parking_place_event")
public class ParkingPlaceEvent implements Serializable {

    @ApiModelProperty(name = "id", value = "ID")
    private Long id;
    @ApiModelProperty(name = "parkingId", value = "停车库ID")
    private Long parkingId;

    @ApiModelProperty(name = "spcStationId", value = "电站id")
    private Long spcStationId;

    @ApiModelProperty(name = "eventTime", value = "事件时间")
    private Date eventTime;

    @ApiModelProperty(name = "eventType", value = "事件类型 : 0:离开,1:停入")
    private Integer eventType;

    @ApiModelProperty(name = "picUrl", value = "车位图片")
    private String picUrl;

    @ApiModelProperty(name = "placeId", value = "车位ID")
    private String placeId;

    @ApiModelProperty(name = "placeSyscode", value = "车位syscode")
    private String placeSyscode;

    @ApiModelProperty(name = "plateNo", value = "车牌号")
    private String plateNo;

    @ApiModelProperty(name = "eventSource", value = "事件来源:1抓拍机2充电订单3人工录入")
    private Integer eventSource;

    /**
     * 充电终端id
     */
    @ApiModelProperty(name = "chargeTerminalId", value = "充电终端id")
    private Long chargeTerminalId;


    @ApiModelProperty(name = "parkSpaceRemark", value = "车位备注信息")
    private String parkSpaceRemark;

    @ApiModelProperty(name = "isDel", value = "是否删除")
    private Integer isDel;

    @ApiModelProperty(name = "stakeType", value = "1快充2慢充")
    private Integer stakeType;

    @ApiModelProperty(name = "createTime", value = "创建时间")
    private Date createTime;
    @ApiModelProperty("创建人")
    private Long createUser;
    @ApiModelProperty("创建部门")
    private Long createDept;
}