package com.zxdmy.excite.system.entity.vo.account;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 企业表
 * </p>
 *
 * @author ss
 * @since 2026-01-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class DepartmentVo implements Serializable {


    private String id;

    /**
     * 部门名称
     */
    private String departmentName;

    /**
     * 排序
     */
    private Integer departmentSort;

    /**
     * 上级部门ID
     */
    private String departmentParentId;
    private String companyId;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    /**
     * 创建者ID
     */
    private Integer creatorId;

    /**
     * 创建者姓名
     */
    private String creatorName;

    /**
     * 删除时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime deleteTime;

    /**
     * 删除者ID
     */
    private Integer deleteId;

    /**
     * 删除者姓名
     */
    private String deleteName;

    private String companyName;
}
