package cn.reghao.tnb.sb.multi.jpa.entity.third;

import cn.reghao.tnb.sb.multi.jpa.BaseEntity;
import cn.reghao.tnb.sb.multi.jpa.entity.first.AccessLog;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

import jakarta.persistence.Entity;
import java.time.LocalDateTime;

/**
 * @author reghao
 * @date 2023-04-19 15:22:44
 */
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Entity
public class AccessLogs extends BaseEntity {
    private String uri;
    private String method;
    private String remoteAddr;
    private Integer remotePort;
    private String userAgent;
    private LocalDateTime accessAt;
    private String sessionId;

    public AccessLogs(AccessLog accessLog) {
    }
}
