// Path: GameServer/src/main/java/com/zhaoxiaodan/mirserver/gameserver/types/Job.java
// public enum Job {
// 	/**
// 	 * 战士
// 	 */
// 	Warrior,
// 	/**
// 	 * 法师
// 	 */
// 	Wizard,
// 	/**
// 	 * 道士
// 	 */
// 	Taoist,
// 	/**
// 	 * 英雄
// 	 */
// 	Hero
// }
// 
// Path: Core/src/main/java/com/zhaoxiaodan/mirserver/network/packets/Parcelable.java
// public interface Parcelable {
// 
// 	public void readPacket(ByteBuf in) throws WrongFormatException;
// 
// 	public void writePacket(ByteBuf out);
// 
// 	public class WrongFormatException extends Exception {
// 
// 		public WrongFormatException() {
// 
// 		}
// 
// 		public WrongFormatException(String msg) {
// 			super(msg);
// 		}
// 	}
// }


import com.zhaoxiaodan.mirserver.gameserver.types.Job;
import com.zhaoxiaodan.mirserver.network.packets.Parcelable;
import io.netty.buffer.ByteBuf;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
package com.zhaoxiaodan.mirserver.gameserver.entities;



@Entity
public class StdMagic implements Parcelable {

    public static final int NAME_BYTE_SIZE = 12;

    @Id
    @GeneratedValue
    public int id;

    public int magicId;
    public String name;
    public short effectType;
    public short effect;
    public short spell;
    public short power;
    public short maxPower;
    public short upSpell;
    public short upPower;
    public short upMaxPower;
// Path: GameServer/src/main/java/com/zhaoxiaodan/mirserver/gameserver/types/Job.java
// public enum Job {
// 	/**
// 	 * 战士
// 	 */
// 	Warrior,
// 	/**
// 	 * 法师
// 	 */
// 	Wizard,
// 	/**
// 	 * 道士
// 	 */
// 	Taoist,
// 	/**
// 	 * 英雄
// 	 */
// 	Hero
// }
// 
// Path: Core/src/main/java/com/zhaoxiaodan/mirserver/network/packets/Parcelable.java
// public interface Parcelable {
// 
// 	public void readPacket(ByteBuf in) throws WrongFormatException;
// 
// 	public void writePacket(ByteBuf out);
// 
// 	public class WrongFormatException extends Exception {
// 
// 		public WrongFormatException() {
// 
// 		}
// 
// 		public WrongFormatException(String msg) {
// 			super(msg);
// 		}
// 	}
// }


// Path: GameServer/src/main/java/com/zhaoxiaodan/mirserver/gameserver/entities/StdMagic.java
import com.zhaoxiaodan.mirserver.gameserver.types.Job;
import com.zhaoxiaodan.mirserver.network.packets.Parcelable;
import io.netty.buffer.ByteBuf;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

package com.zhaoxiaodan.mirserver.gameserver.entities;



@Entity
public class StdMagic implements Parcelable {

    public static final int NAME_BYTE_SIZE = 12;

    @Id
    @GeneratedValue
    public int id;

    public int magicId;
    public String name;
    public short effectType;
    public short effect;
    public short spell;
    public short power;
    public short maxPower;
    public short upSpell;
    public short upPower;
    public short upMaxPower;
    public Job job;