package com.boying.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.boying.common.BaseEntity; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import javax.persistence.Entity; import java.time.LocalDateTime; /** * @author kdq * @version 1.0.0 * @ClassName OutParkLog.java * @Description TODO * @createTime 2024年03月05日 11:55:00 */ @Data @TableName("out_park_log") @javax.persistence.Table(name = "out_park_log") @Entity @org.hibernate.annotations.Table(appliesTo = "out_park_log", comment = "出场日志表") @ApiModel(value = "出场日志表") public class OutParkLog extends BaseEntity { /** * 车牌号 */ private String carNo; /** * 出场表id */ private Integer outParkId; /** * 停车场id */ private Integer parkId; /** * 出场时间 */ @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private LocalDateTime outTime; /** * 开始支付时间 */ @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private LocalDateTime payStartTime; /** * 支付完成时间 */ @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private LocalDateTime payEndTime; /** * 下发抬杆指令时间 */ @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private LocalDateTime openTime; }