
package org.tio.sitexxx.service.model.main;

import org.tio.sitexxx.service.model.main.base.BaseUserActionLog;

/**
 * Generated by JFinal.
 */
@SuppressWarnings("serial")
public class UserActionLog extends BaseUserActionLog<UserActionLog> {
	public static final UserActionLog dao = new UserActionLog().dao();

	public enum Action {
		PAY_DOC("文档付费", 1);

		// 成员变量  
		private String	name;
		private int		type;

		// 构造方法  
		Action(String name, int type) {
			this.name = name;
			this.type = type;
		}

		// 普通方法  
		public static String getName(int type) {
			for (Action c : Action.values()) {
				if (c.getType() == type) {
					return c.name;
				}
			}
			return null;
		}

		// get set 方法  
		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public int getType() {
			return type;
		}

		public void setType(int type) {
			this.type = type;
		}
	}

}
