Newer
Older
huludao / src / main / java / com / newfiber / modules / sys / entity / SysLog.java
package com.newfiber.modules.sys.entity;

import com.alibaba.fastjson.annotation.JSONField;
import java.util.Date;


/**
 * 系统日志
 * @author xcc
 * @date 2018-12-18
 */
public class SysLog {
	private static final long serialVersionUID = -8133414954885298310L;
	private Long serial;
	/**用户名*/
	private String sid;
	/**所属平台名称*/
	private String platformName;
	/**用户操作*/
	private String operation;
	/**请求方法*/
	private String method;
	/**请求参数*/
	private String params;
	/**执行结果*/
	private String result;
	/**执行时长(毫秒)*/
	private Long time;
	/**IP地址*/
	private String ip;
	/**创建时间*/
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date createDate;
	
	private String url;
	
	private String actionType;

	private String userNo;
	private String userName;
	
	public String getActionType() {
		return actionType;
	}
	public void setActionType(String actionType) {
		this.actionType = actionType;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}

	public String getSid() {
		return sid;
	}

	public void setSid(String sid) {
		this.sid = sid;
	}

	public String getPlatformName() {
		return platformName;
	}
	public void setPlatformName(String platformName) {
		this.platformName = platformName;
	}
	/**
	 * 设置:用户操作
	 */
	public void setOperation(String operation) {
		this.operation = operation;
	}
	/**
	 * 获取:用户操作
	 */
	public String getOperation() {
		return operation;
	}
	/**
	 * 设置:请求方法
	 */
	public void setMethod(String method) {
		this.method = method;
	}
	/**
	 * 获取:请求方法
	 */
	public String getMethod() {
		return method;
	}
	/**
	 * 设置:请求参数
	 */
	public void setParams(String params) {
		this.params = params;
	}
	/**
	 * 获取:请求参数
	 */
	public String getParams() {
		return params;
	}
	public String getResult() {
		return result;
	}
	public void setResult(String result) {
		this.result = result;
	}
	public Long getTime() {
		return time;
	}
	public void setTime(Long time) {
		this.time = time;
	}
	/**
	 * 设置:IP地址
	 */
	public void setIp(String ip) {
		this.ip = ip;
	}
	/**
	 * 获取:IP地址
	 */
	public String getIp() {
		return ip;
	}
	/**
	 * 设置:创建时间
	 */
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	/**
	 * 获取:创建时间
	 */
	public Date getCreateDate() {
		return createDate;
	}

	public Long getSerial() {
		return serial;
	}

	public void setSerial(Long serial) {
		this.serial = serial;
	}

	public String getUserNo() {
		return userNo;
	}

	public void setUserNo(String userNo) {
		this.userNo = userNo;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
}