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.math.BigDecimal; 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-06 22:50:25 */ @Data @EqualsAndHashCode(callSuper = false) @Schema(name = "BszxClass对象", description = "百色中学-班级") public class BszxClass implements Serializable { private static final long serialVersionUID = 1L; @Schema(description = "ID") @TableId(value = "id", type = IdType.AUTO) private Integer id; @Schema(description = "时代ID") private Integer eraId; @Schema(description = "时代名称") @TableField(exist = false) private String eraName; @Schema(description = "年级ID") private Integer gradeId; @Schema(description = "年级名称") @TableField(exist = false) private String gradeName; @Schema(description = "班级") private String name; @Schema(description = "累计捐款金额") private BigDecimal totalMoney; @Schema(description = "分部") private Integer branch; @Schema(description = "分部名称") @TableField(exist = false) private String branchName; @Schema(description = "排序(数字越小越靠前)") private Integer sortNumber; @Schema(description = "备注") private String comments; @Schema(description = "状态, 0正常, 1冻结") private Integer status; @Schema(description = "子分类") @TableField(exist = false) private List children; }