|
|
|
@ -1,6 +1,8 @@
|
|
|
|
|
package cn.estsh.i3plus.pojo.platform.bean;
|
|
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
|
import lombok.Data;
|
|
|
|
@ -10,7 +12,6 @@ import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
|
import javax.persistence.Column;
|
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
|
import javax.persistence.Table;
|
|
|
|
|
import java.text.DecimalFormat;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @Description : 岗位
|
|
|
|
@ -28,26 +29,23 @@ import java.text.DecimalFormat;
|
|
|
|
|
public class Position extends BaseBean {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name="NAME")
|
|
|
|
|
@Column(name="POSITION_NAME")
|
|
|
|
|
@ApiParam(value ="名称" , access ="名称")
|
|
|
|
|
private String name;
|
|
|
|
|
private String positionName;
|
|
|
|
|
|
|
|
|
|
@Column(name="POSITION_CODE")
|
|
|
|
|
@ApiParam(value ="岗位代码" , access ="岗位代码")
|
|
|
|
|
private String positionCode;
|
|
|
|
|
|
|
|
|
|
@Column(name="PARENT_ID")
|
|
|
|
|
@ApiParam(value ="上级岗位" , access ="上级岗位")
|
|
|
|
|
private String parentId;
|
|
|
|
|
@ApiParam(value ="上级岗位" , example ="0" , access ="上级岗位")
|
|
|
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
|
|
|
private Long parentId;
|
|
|
|
|
|
|
|
|
|
@Column(name="RED_PARENT_NAME")
|
|
|
|
|
@ApiParam(value ="上级岗位名称" , access ="上级岗位名称")
|
|
|
|
|
private String redParentName;
|
|
|
|
|
|
|
|
|
|
@Column(name="POSITION_STATUS")
|
|
|
|
|
@ApiParam(value ="状态(1.正常,2.禁用)" , example ="1" , access ="状态(1.正常,2.禁用)")
|
|
|
|
|
private Integer positionStatus;
|
|
|
|
|
|
|
|
|
|
@Column(name="POSITION_DESCRIPTION")
|
|
|
|
|
@ApiParam(value ="描述" , access ="描述")
|
|
|
|
|
private String positionDescription;
|
|
|
|
|