package com.blueland.bo;

import java.util.*;

import com.blueland.model.Query;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;
@Data
@EqualsAndHashCode(callSuper=false)
public class SysOplogEntity extends Query {
	private static final long serialVersionUID = 1L;
	//alias
	public static final String TABLE_ALIAS = "SysOplog";
	
		
	//可以直接使用: @Length(max=50,message="用户名长度不能大于50")显示错误消息
	//columns START
	/**
	* 唯一ID       db_column: id 
	*/	
	@Length(max=50)
	private String id;
	/**
	* 操作人id       db_column: user_id 
	*/	
	@NotBlank @Length(max=50)
	private String userId;
	/**
	* 操作人名称       db_column: user_name 
	*/	
	@NotBlank @Length(max=100)
	private String userName;
	/**
	* 业务主键       db_column: biz_id 
	*/	
	@Length(max=50)
	private String bizId;
	/**
	* 业务类型       db_column: biz_type 
	*/	
	@NotBlank @Length(max=10)
	private String bizType;
	/**
	* 操作类型：登录：login；扫码登录：loginqrcode；新增：add；删除：delete；保存：save；上传：upload；下载：download；       db_column: type 
	*/	
	@NotBlank @Length(max=10)
	private String type;
	/**
	* 操作内容       db_column: content 
	*/	
	@NotBlank @Length(max=4000)
	private String content;
	/**
	* 操作状态：成功：success，失败：failed       db_column: status 
	*/	
	@NotBlank @Length(max=10)
	private String status;
	/**
	* IP地址       db_column: aceess_ip 
	*/	
	@Length(max=100)
	private String aceessIp;
	/**
	* 操作时间       db_column: create_time 
	*/	
	
	private Date createTime;
	/**
	* 操作浏览器       db_column: aceess_browse 
	*/	
	@Length(max=200)
	private String aceessBrowse;
	/**
	* 备注       db_column: remark 
	*/	
	@Length(max=200)
	private String remark;

	private String appId;
	//columns END

	private String sortColumns;
		
}

