dev:岗位管理-状态字段去除
parent
d35cc35a03
commit
8e98b09f72
|
|
@ -36,9 +36,9 @@ public class PostAddCmd extends Command {
|
||||||
@NotEmpty(message = "岗位职责不能为空")
|
@NotEmpty(message = "岗位职责不能为空")
|
||||||
private String postDuty;
|
private String postDuty;
|
||||||
|
|
||||||
@ApiModelProperty(value = "状态 1-启用, 2-禁用", name = "status", required = true)
|
// @ApiModelProperty(value = "状态 1-启用, 2-禁用", name = "status", required = true)
|
||||||
@NotNull(message = "状态 1-启用, 2-禁用不能为空")
|
// @NotNull(message = "状态 1-启用, 2-禁用不能为空")
|
||||||
private Integer status;
|
// private Integer status;
|
||||||
|
|
||||||
@ApiModelProperty(value = "企业id", name = "corpinfoId", required = true)
|
@ApiModelProperty(value = "企业id", name = "corpinfoId", required = true)
|
||||||
@NotNull(message = "企业id不能为空")
|
@NotNull(message = "企业id不能为空")
|
||||||
|
|
|
||||||
|
|
@ -38,9 +38,9 @@ public class PostUpdateCmd extends Command {
|
||||||
@ApiModelProperty(value = "岗位职责", name = "postDuty", required = true)
|
@ApiModelProperty(value = "岗位职责", name = "postDuty", required = true)
|
||||||
@NotEmpty(message = "岗位职责不能为空")
|
@NotEmpty(message = "岗位职责不能为空")
|
||||||
private String postDuty;
|
private String postDuty;
|
||||||
@ApiModelProperty(value = "状态 1-启用, 2-禁用", name = "status", required = true)
|
// @ApiModelProperty(value = "状态 1-启用, 2-禁用", name = "status", required = true)
|
||||||
@NotNull(message = "状态 1-启用, 2-禁用不能为空")
|
// @NotNull(message = "状态 1-启用, 2-禁用不能为空")
|
||||||
private Integer status;
|
// private Integer status;
|
||||||
@ApiModelProperty(value = "企业id", name = "corpinfoId", required = true)
|
@ApiModelProperty(value = "企业id", name = "corpinfoId", required = true)
|
||||||
@NotNull(message = "企业id不能为空")
|
@NotNull(message = "企业id不能为空")
|
||||||
private Long corpinfoId;
|
private Long corpinfoId;
|
||||||
|
|
|
||||||
|
|
@ -36,8 +36,8 @@ public class PostCO extends ClientObject {
|
||||||
@ApiModelProperty(value = "岗位职责")
|
@ApiModelProperty(value = "岗位职责")
|
||||||
private String postDuty;
|
private String postDuty;
|
||||||
//状态 1-启用, 2-禁用
|
//状态 1-启用, 2-禁用
|
||||||
@ApiModelProperty(value = "状态 1-启用, 2-禁用")
|
// @ApiModelProperty(value = "状态 1-启用, 2-禁用")
|
||||||
private Integer status;
|
// private Integer status;
|
||||||
//企业id
|
//企业id
|
||||||
@ApiModelProperty(value = "企业id")
|
@ApiModelProperty(value = "企业id")
|
||||||
private Long corpinfoId;
|
private Long corpinfoId;
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ public class PostE extends BaseE {
|
||||||
//岗位职责
|
//岗位职责
|
||||||
private String postDuty;
|
private String postDuty;
|
||||||
//状态 1-启用, 2-禁用
|
//状态 1-启用, 2-禁用
|
||||||
private Integer status;
|
// private Integer status;
|
||||||
//企业id
|
//企业id
|
||||||
private Long corpinfoId;
|
private Long corpinfoId;
|
||||||
//企业名称
|
//企业名称
|
||||||
|
|
|
||||||
|
|
@ -34,8 +34,8 @@ public class PostDO extends BaseDO {
|
||||||
@ApiModelProperty(value = "岗位职责")
|
@ApiModelProperty(value = "岗位职责")
|
||||||
private String postDuty;
|
private String postDuty;
|
||||||
//状态 1-启用, 2-禁用
|
//状态 1-启用, 2-禁用
|
||||||
@ApiModelProperty(value = "状态 1-启用, 2-禁用")
|
// @ApiModelProperty(value = "状态 1-启用, 2-禁用")
|
||||||
private Integer status;
|
// private Integer status;
|
||||||
//企业id
|
//企业id
|
||||||
@ApiModelProperty(value = "企业id")
|
@ApiModelProperty(value = "企业id")
|
||||||
private Long corpinfoId;
|
private Long corpinfoId;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue