package cn.stylefeng.team.meta.api.pojo.table;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class GenerationTableAlter extends TableAlterLog {

    @ChineseDescription("对应在mysql数据库中的类型-比如 bigint")
    private String mysqlType;

    @ChineseDescription("对应在mysql数据库中的长度-比如 (20,0)")
    private String mysqlLength;

    @ChineseDescription("对应在mysql数据库 是否为空")
    private String mysqlNull;

    @ChineseDescription("在mysql中的字符集排序规则")
    private String mysqlCharacterSet;

    @ChineseDescription("默认值")
    private String defaultValue;

    @ChineseDescription("after语句")
    private String afterSnippet;

}