package com.kexue.skills.entity;


import java.io.Serializable;
import com.kexue.skills.entity.base.BaseEntity;
import com.kexue.skills.entity.base.BaseQueryDto;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * (SysLog)实体类
 *
 * @author 王志维
 * @since 2025-02-21 23:01:48
 */
@Data
public class SysLog extends BaseEntity implements Serializable  {
    private static final long serialVersionUID = -84681351128482970L;

        @Schema(description ="主键ID")
        private Long logId;

        @Schema(description ="用户ID")
        private String userId;

        @Schema(description ="用户名称")
        private String userName;

        @Schema(description ="日志类型")
        private String logType;

        @Schema(description ="日志类容")
        private String logContent;

        @Schema(description ="服务端IP")
        private String serverIp;

        @Schema(description ="客户端IP")
        private String clientIp;

        @Schema(description ="yyyyMMddHHmmss")
        private String logTime;

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

        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        @Schema(description ="创建时间")
        private Date createTime;

        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        @Schema(description ="更新时间")
        private Date updateTime;

        @Schema(description ="是否删除 ：0 未删除，1已删除")
        private Integer deleteFlag;

        @Schema(description ="创建人")
        private String createBy;

        @Schema(description ="更新人")
        private String updateBy;

}
