HrDept.java 2.26 KB
package cn.csbr.springboot.dao.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "hr_dept")
public class HrDept {
    @Id
    @Column(name = "deptId")
    private Long deptid;

    @Column(name = "parent_id")
    private Long parentId;

    @Column(name = "dept_name")
    private String deptName;

    @Column(name = "dept_code")
    private String deptCode;

    @Column(name = "dept_desc")
    private String deptDesc;

    @Column(name = "dept_office_address")
    private String deptOfficeAddress;

    @Column(name = "is_delete")
    private String isDelete;

    /**
     * @return deptId
     */
    public Long getDeptid() {
        return deptid;
    }

    /**
     * @param deptid
     */
    public void setDeptid(Long deptid) {
        this.deptid = deptid;
    }

    /**
     * @return parent_id
     */
    public Long getParentId() {
        return parentId;
    }

    /**
     * @param parentId
     */
    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    /**
     * @return dept_name
     */
    public String getDeptName() {
        return deptName;
    }

    /**
     * @param deptName
     */
    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    /**
     * @return dept_code
     */
    public String getDeptCode() {
        return deptCode;
    }

    /**
     * @param deptCode
     */
    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    /**
     * @return dept_desc
     */
    public String getDeptDesc() {
        return deptDesc;
    }

    /**
     * @param deptDesc
     */
    public void setDeptDesc(String deptDesc) {
        this.deptDesc = deptDesc;
    }

    /**
     * @return dept_office_address
     */
    public String getDeptOfficeAddress() {
        return deptOfficeAddress;
    }

    /**
     * @param deptOfficeAddress
     */
    public void setDeptOfficeAddress(String deptOfficeAddress) {
        this.deptOfficeAddress = deptOfficeAddress;
    }

    /**
     * @return is_delete
     */
    public String getIsDelete() {
        return isDelete;
    }

    /**
     * @param isDelete
     */
    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }
}