package com.teamid.entity;

/**
 * Created by Skye on 2017/6/3.
 */
public enum MovieType {
    ACTION,
    ADVENTURE,
    COMEDY,
    CRIME,
    DRAMA,
    EPICS,
    HORROR,
    MUSICALS,
    WAR,
    ANIMATION,
    PORN
}

@@ -72,12 +72,13 @@
 lic 
-enum
+class
  Mov
@@ -90,137 +90,394 @@
 e %7B%0A
+%0A
     
-ACTION,%0A    ADVENTURE,%0A    COMEDY,%0A    CRIME,%0A    DRAMA,%0A    EPICS,%0A    HORROR,%0A    MUSICALS,%0A    WAR,%0A    ANIMATION,%0A    PORN
+public static int ACTION = 1;%0A    public static int ADVENTURE = 2;%0A    public static int COMEDY = 4;%0A    public static int CRIME = 8;%0A    public static int DRAMA = 16;%0A    public static int EPICS = 32;%0A    public static int HORROR = 64;%0A    public static int MUSICALS = 128;%0A    public static int WAR = 256;%0A    public static int ANIMATION = 512;%0A    public static int PORN = 1024;%0A
 %0A%7D%0A

redefine MovieType