feat:职位表增加扩展
This commit is contained in:
@@ -30,6 +30,30 @@ public class CoreJob extends DaoBase {
|
|||||||
@TableField(value = "is_system")
|
@TableField(value = "is_system")
|
||||||
private Integer isSystem;
|
private Integer isSystem;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 扩展1
|
||||||
|
*/
|
||||||
|
@TableField(value = "ext1")
|
||||||
|
private String ext1;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 扩展2
|
||||||
|
*/
|
||||||
|
@TableField(value = "ext2")
|
||||||
|
private String ext2;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 扩展3
|
||||||
|
*/
|
||||||
|
@TableField(value = "ext3")
|
||||||
|
private String ext3;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 扩展文本
|
||||||
|
*/
|
||||||
|
@TableField(value = "ext_text")
|
||||||
|
private String extText;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取名称
|
* 获取名称
|
||||||
*
|
*
|
||||||
@@ -83,4 +107,76 @@ public class CoreJob extends DaoBase {
|
|||||||
public void setIsSystem(Integer isSystem) {
|
public void setIsSystem(Integer isSystem) {
|
||||||
this.isSystem = isSystem;
|
this.isSystem = isSystem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取扩展1
|
||||||
|
*
|
||||||
|
* @return ext1 - 扩展1
|
||||||
|
*/
|
||||||
|
public String getExt1() {
|
||||||
|
return ext1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设置扩展1
|
||||||
|
*
|
||||||
|
* @param ext1 扩展1
|
||||||
|
*/
|
||||||
|
public void setExt1(String ext1) {
|
||||||
|
this.ext1 = ext1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取扩展2
|
||||||
|
*
|
||||||
|
* @return ext2 - 扩展2
|
||||||
|
*/
|
||||||
|
public String getExt2() {
|
||||||
|
return ext2;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设置扩展2
|
||||||
|
*
|
||||||
|
* @param ext2 扩展2
|
||||||
|
*/
|
||||||
|
public void setExt2(String ext2) {
|
||||||
|
this.ext2 = ext2;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取扩展3
|
||||||
|
*
|
||||||
|
* @return ext3 - 扩展3
|
||||||
|
*/
|
||||||
|
public String getExt3() {
|
||||||
|
return ext3;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设置扩展3
|
||||||
|
*
|
||||||
|
* @param ext3 扩展3
|
||||||
|
*/
|
||||||
|
public void setExt3(String ext3) {
|
||||||
|
this.ext3 = ext3;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取扩展文本
|
||||||
|
*
|
||||||
|
* @return ext_text - 扩展文本
|
||||||
|
*/
|
||||||
|
public String getExtText() {
|
||||||
|
return extText;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设置扩展文本
|
||||||
|
*
|
||||||
|
* @param extText 扩展文本
|
||||||
|
*/
|
||||||
|
public void setExtText(String extText) {
|
||||||
|
this.extText = extText;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -63,4 +63,20 @@ CREATE TABLE `core_job_user`
|
|||||||
) ENGINE = InnoDB
|
) ENGINE = InnoDB
|
||||||
DEFAULT CHARSET = utf8mb4 COMMENT ='职位-用户';
|
DEFAULT CHARSET = utf8mb4 COMMENT ='职位-用户';
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Table change for core_job_user
|
||||||
|
-- ----------------------------
|
||||||
|
|
||||||
|
alter table core_job
|
||||||
|
add ext1 varchar(255) null comment '扩展1';
|
||||||
|
|
||||||
|
alter table core_job
|
||||||
|
add ext2 varchar(255) null comment '扩展2';
|
||||||
|
|
||||||
|
alter table core_job
|
||||||
|
add ext3 varchar(500) null comment '扩展3';
|
||||||
|
|
||||||
|
alter table core_job
|
||||||
|
add ext_text text null comment '扩展文本';
|
||||||
|
|
||||||
SET FOREIGN_KEY_CHECKS = 1;
|
SET FOREIGN_KEY_CHECKS = 1;
|
||||||
|
|||||||
@@ -11,9 +11,14 @@
|
|||||||
<result column="name" jdbcType="VARCHAR" property="name" />
|
<result column="name" jdbcType="VARCHAR" property="name" />
|
||||||
<result column="remark" jdbcType="VARCHAR" property="remark" />
|
<result column="remark" jdbcType="VARCHAR" property="remark" />
|
||||||
<result column="is_system" jdbcType="INTEGER" property="isSystem" />
|
<result column="is_system" jdbcType="INTEGER" property="isSystem" />
|
||||||
|
<result column="ext1" jdbcType="VARCHAR" property="ext1" />
|
||||||
|
<result column="ext2" jdbcType="VARCHAR" property="ext2" />
|
||||||
|
<result column="ext3" jdbcType="VARCHAR" property="ext3" />
|
||||||
|
<result column="ext_text" jdbcType="LONGVARCHAR" property="extText" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
<sql id="Base_Column_List">
|
<sql id="Base_Column_List">
|
||||||
<!--@mbg.generated-->
|
<!--@mbg.generated-->
|
||||||
id, create_time, update_time, is_deleted, `name`, remark, is_system
|
id, create_time, update_time, is_deleted, `name`, remark, is_system, ext1, ext2,
|
||||||
|
ext3, ext_text
|
||||||
</sql>
|
</sql>
|
||||||
</mapper>
|
</mapper>
|
||||||
Reference in New Issue
Block a user