jiangping
2024-05-10 dab5db84055a7f6a8fea3b61099d85d34ea7a706
server/visits/dmvisit_service/src/main/java/com/doumee/dao/business/model/Company.java
@@ -2,6 +2,7 @@
import com.baomidou.mybatisplus.annotation.TableField;
import com.doumee.core.annotation.excel.ExcelColumn;
import com.doumee.core.model.LoginUserModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
@@ -20,7 +21,7 @@
@Data
@ApiModel("企业信息表")
@TableName("`company`")
public class Company {
public class Company extends LoginUserModel {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
@@ -161,6 +162,9 @@
    @ApiModelProperty(value = "负责人名字")
    @TableField(exist = false)
    private String headName;
    @ApiModelProperty(value = "操作人名字")
    @TableField(exist = false)
    private String editorName;
    @ApiModelProperty(value = "负责人手机号")
    @TableField(exist = false)
    private String headPhone;
@@ -176,11 +180,14 @@
    @ApiModelProperty(value = "海康部门级别路径", example = "1")
    @ExcelColumn(name="海康部门级别路径")
    private String hk_company_path;
    private String hkCompanyPath;
    @ApiModelProperty(value = "自建部门级别路径", example = "1")
    @ExcelColumn(name="自建部门级别路径")
    private String company_path;
    private String companyPath;
    @ApiModelProperty(value = "父级部门级别路径", example = "1")
    @TableField(exist = false)
    private String parentCompanyPath;
    @ApiModelProperty(value = "erp部门级别路径", example = "1")
    @ExcelColumn(name="erp部门级别路径")
    private String erp_company_path;
    private String erpCompanyPath;
}