Skip to content

housing 字段 sql生成java 转换丢失 #155

Open
@wubiaoo

Description

@wubiaoo

输入SQL
CREATE TABLE test (
id varchar(40) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
housing char(1) NULL DEFAULT NULL COMMENT '',
PRIMARY KEY (id) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;

输出代码
public class Test implements Serializable {

private static final long serialVersionUID = 1L;

/**
* id
*/
private String id;


public Test() {
}

public String getId() {
    return id;
}

public void setId(String id) {
    this.id = id;
}

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions