/**
 *@Generated by sagacity-quickvo 5.0
 */
package cn.pojo.entity;

import java.io.Serializable;
import cn.orm.sqltoy.config.annotation.Entity;
import cn.orm.sqltoy.config.annotation.Id;
import cn.orm.sqltoy.config.annotation.Column;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
import java.math.BigInteger;
import java.time.LocalDateTime;

/**
 * @project sqltoy-quickstart
 * @author BJTU
 * @version 1.0.0 
 */
@Schema(name="TSysLogOp",description="操作日志记录")
@Data
@Accessors(chain = true)
@Entity(tableName="t_sys_log_op",comment="操作日志记录",pk_constraint="PRIMARY")
public class TSysLogOp implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 4933013025806681483L;
/*---begin-auto-generate-don't-update-this-area--*/	
	/**
	 * jdbcType:BIGINT
	 */
	@Schema(name="id",description="日志主键",nullable=false)
	@Id(strategy="identity")
	@Column(name="id",comment="日志主键",length=19L,type=java.sql.Types.BIGINT,nullable=false,autoIncrement=true)
	private BigInteger id;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="title",description="模块标题",nullable=true)
	@Column(name="title",comment="模块标题",length=50L,type=java.sql.Types.VARCHAR,nullable=true)
	private String title;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="businessType",description="操作类型",nullable=true)
	@Column(name="business_type",comment="操作类型",length=10L,defaultValue="0",type=java.sql.Types.INTEGER,nullable=true)
	private Integer businessType;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="method",description="方法名称",nullable=true)
	@Column(name="method",comment="方法名称",length=80L,type=java.sql.Types.VARCHAR,nullable=true)
	private String method;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="requestMethod",description="请求方式",nullable=true)
	@Column(name="request_method",comment="请求方式",length=10L,type=java.sql.Types.VARCHAR,nullable=true)
	private String requestMethod;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="operatorType",description="操作类别",nullable=true)
	@Column(name="operator_type",comment="操作类别",length=10L,defaultValue="0",type=java.sql.Types.INTEGER,nullable=true)
	private Integer operatorType;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="operName",description="操作人员",nullable=true)
	@Column(name="oper_name",comment="操作人员",length=50L,type=java.sql.Types.VARCHAR,nullable=true)
	private String operName;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="deptName",description="部门名称",nullable=true)
	@Column(name="dept_name",comment="部门名称",length=50L,type=java.sql.Types.VARCHAR,nullable=true)
	private String deptName;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="operUrl",description="请求URL",nullable=true)
	@Column(name="oper_url",comment="请求URL",length=300L,type=java.sql.Types.VARCHAR,nullable=true)
	private String operUrl;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="operIp",description="主机地址",nullable=true)
	@Column(name="oper_ip",comment="主机地址",length=50L,type=java.sql.Types.VARCHAR,nullable=true)
	private String operIp;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="operLocation",description="操作地点",nullable=true)
	@Column(name="oper_location",comment="操作地点",length=80L,type=java.sql.Types.VARCHAR,nullable=true)
	private String operLocation;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="operParam",description="请求参数",nullable=true)
	@Column(name="oper_param",comment="请求参数",length=300L,type=java.sql.Types.VARCHAR,nullable=true)
	private String operParam;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="jsonResult",description="返回参数",nullable=true)
	@Column(name="json_result",comment="返回参数",length=300L,type=java.sql.Types.VARCHAR,nullable=true)
	private String jsonResult;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="status",description="操作状态",nullable=true)
	@Column(name="status",comment="操作状态",length=10L,defaultValue="0",type=java.sql.Types.INTEGER,nullable=true)
	private Integer status;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="errorMsg",description="错误消息",nullable=true)
	@Column(name="error_msg",comment="错误消息",length=200L,type=java.sql.Types.VARCHAR,nullable=true)
	private String errorMsg;
	
	/**
	 * jdbcType:DATETIME
	 */
	@Schema(name="operTime",description="操作时间",nullable=true)
	@Column(name="oper_time",comment="操作时间",length=19L,type=java.sql.Types.DATE,nullable=true)
	private LocalDateTime operTime;
	
	/** default constructor */
	public TSysLogOp() {
	}
	
	/** pk constructor */
	public TSysLogOp(BigInteger id)
	{
		this.id=id;
	}
/*---end-auto-generate-don't-update-this-area--*/
}
