package com.gxwebsoft.bszx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 百色中学-分部
 *
 * @author 科技小王子
 * @since 2025-03-17 17:18:22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "BszxBranch对象", description = "百色中学-分部")
public class BszxBranch implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "分部名称 ")
    private String name;

    @Schema(description = "排序(数字越小越靠前)")
    private Integer sortNumber;

    @Schema(description = "租户id")
    private Integer tenantId;

    @Schema(description = "子分类")
    @TableField(exist = false)
    private List<BszxGrade> children;

}
