All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.haoxuer.discover.user.data.entity.UserAccessLog Maven / Gradle / Ivy

There is a newer version: 3.3.18-20230117
Show newest version
package com.haoxuer.discover.user.data.entity;


import com.haoxuer.discover.data.entity.AbstractEntity;
import com.haoxuer.discover.data.enums.StoreState;
import com.nbsaas.codemake.annotation.*;
import lombok.Data;

import javax.persistence.*;



@CreateByUser
@Data
@FormAnnotation(title = "访问日志管理",model = "访问日志",menu = "1,79,133")
@Entity
@Table(name = "user_access_log")
public class UserAccessLog extends AbstractEntity {


    @SearchItem(label = "用户昵称",name = "creatorName",key = "creator.name")
    @FormField(title = "用户", grid = true)
    @FieldConvert
    @FieldName
    @ManyToOne(fetch = FetchType.LAZY)
    private UserInfo creator;


    private Long consumeTime;

    @FormField(title = "ip地址", grid = true,width = "200",sort = true)
    @Column(length = 20)
    private String ip;

    @FormField(title = "url地址", grid = true,width = "1000")
    private String url;

    private StoreState storeState;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy