operatelog.java

来自「struts+spring+hibernate例子」· Java 代码 · 共 87 行

JAVA
87
字号
package com.shop.entity;

import java.util.Date;

/**
 * Operatelog entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Operatelog implements java.io.Serializable {

	// Fields

	private Integer id;
	private User user;
	private Date otime;
	private String operation;
	private String remark;

	// Constructors

	/** default constructor */
	public Operatelog() {
	}

	/** minimal constructor */
	public Operatelog(Integer id, User user, Date otime, String operation) {
		this.id = id;
		this.user = user;
		this.otime = otime;
		this.operation = operation;
	}

	/** full constructor */
	public Operatelog(Integer id, User user, Date otime, String operation,
			String remark) {
		this.id = id;
		this.user = user;
		this.otime = otime;
		this.operation = operation;
		this.remark = remark;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Date getOtime() {
		return this.otime;
	}

	public void setOtime(Date otime) {
		this.otime = otime;
	}

	public String getOperation() {
		return this.operation;
	}

	public void setOperation(String operation) {
		this.operation = operation;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?