package com.jsc.oscm.entity;

import lombok.Data;

import javax.persistence.*;
import java.time.LocalDateTime;

@Data
@Entity
@Table(name = "data_package_log")
public class DataPackageLog {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    @Column(name = "package_name")
    private String packageName;

    @Column(name = "operation_time")
    private LocalDateTime operationTime;

    @Column(name = "operation_type")
    private String operationType;

    @Column(name = "user_name")
    private String userName;

    @Column(name = "user_ip")
    private String userIp;

    @Column(name = "user_agent")
    private String userAgent;

}