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 VarChar extends MysqlType { private int maxSize; public VarChar(int maxSize) { this.maxSize = maxSize; } @Override public String getName() { return "VARCHAR(" + maxSize + ")"; } }