
cn.schoolwow.quickdao.domain.entity.PropertyOption Maven / Gradle / Ivy
package cn.schoolwow.quickdao.domain.entity;
import cn.schoolwow.quickdao.annotation.ForeignKey;
import cn.schoolwow.quickdao.annotation.IdStrategy;
public class PropertyOption {
/**
* 是否是id
*/
public boolean id;
/**
* id生成策略
*/
public transient IdStrategy strategy;
/**
* 列名
*/
public String column;
/**
* 数据库类型
*/
public String columnType;
/**
* 范围
*/
public String range;
/**
* 注释
*/
public String comment;
/**
* 属性名
*/
public String name;
/**
* 是否非空
*/
public Boolean notNull;
/**
* check约束
*/
public String check;
/**
* 默认值
*/
public String defaultValue;
/**
* 字段函数
*/
public String function;
/**
* 是否填充插入时间
*/
public boolean createdAt;
/**
* 是否填充更新时间
*/
public boolean updateAt;
/**
* 外键关联
*/
public transient ForeignKey foreignKey;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy