/**
 * BladeX Commercial License Agreement
 * Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
 * <p>
 * Author: Chill Zhuang (bladejava@qq.com)
 */
package org.springblade.transport.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

import java.io.Serial;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * ETC记录实体类
 *
 * @author Chill
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("blade_etc_record")
@Schema(description = "ETC记录")
public class EtcRecord extends TenantEntity {

	@Serial
	private static final long serialVersionUID = 1L;

	@Schema(description = "车牌号")
	private String vehicleNo;

	@Schema(description = "ETC卡号")
	private String etcCardNo;

	@Schema(description = "入口时间")
	private LocalDateTime entryTime;

	@Schema(description = "出口时间")
	private LocalDateTime exitTime;

	@Schema(description = "入口站")
	private String entryStation;

	@Schema(description = "出口站")
	private String exitStation;

	@Schema(description = "数据来源")
	private String dataSource;

	@Schema(description = "交易金额")
	private BigDecimal transactionAmount;

	@Schema(description = "附件")
	private String attachments;

	@Schema(description = "备注")
	private String remark;

}
