1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package com.redstoner.misc.mysql.types.text; import com.redstoner.misc.mysql.types.MysqlType; public class Char extends MysqlType { private int size; public Char(int size) { this.size = size; } @Override public String getName() { return "CHAR(" + size + ")"; } }