package com.yeejoin.precontrol.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yeejoin.precontrol.common.entity.publics.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
/**
 * 部门信息
 *
 * @author duanwei
 * @date 2021-09-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("rpm_company_department")
@ApiModel(value="CompanyDepartment对象", description="部门信息")
public class CompanyDepartment extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private String name;

    private String description;

    private Long companyId;

    private Long parentId;

    private String level;

    private Integer deptOrgCode;

    private String orgCode;

}
