瀏覽代碼

处分类型维护实体类

dzx142631 2 年之前
父節點
當前提交
b4c5cb1e6d

+ 88 - 0
src/main/java/com/xjrsoft/module/student/entity/BasePunishmentType.java

@@ -0,0 +1,88 @@
+package com.xjrsoft.module.student.entity;
+
+import com.baomidou.mybatisplus.annotation.FieldFill;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableLogic;
+import com.baomidou.mybatisplus.annotation.TableName;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+import java.io.Serializable;
+import java.util.Date;
+
+
+/**
+* @title: 学生处分信息管理
+* @Author dzx
+* @Date: 2023-11-15
+* @Version 1.0
+*/
+@Data
+@TableName("base_punishment_type")
+@ApiModel(value = "处分类型维护对象", description = "处分类型维护")
+public class BasePunishmentType implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+    * 主键编号
+    */
+    @ApiModelProperty("主键编号")
+    @TableId
+    private Long id;
+    /**
+    * 创建人
+    */
+    @ApiModelProperty("创建人")
+    @TableField(fill = FieldFill.INSERT)
+    private Long createUserId;
+    /**
+    * 创建时间
+    */
+    @ApiModelProperty("创建时间")
+    @TableField(fill = FieldFill.INSERT)
+    private Date createDate;
+    /**
+    * 修改人
+    */
+    @ApiModelProperty("修改人")
+    @TableField(fill = FieldFill.UPDATE)
+    private Long modifyUserId;
+    /**
+    * 修改时间
+    */
+    @ApiModelProperty("修改时间")
+    @TableField(fill = FieldFill.UPDATE)
+    private Date modifyDate;
+    /**
+    * 删除标记
+    */
+    @ApiModelProperty("删除标记")
+    @TableField(fill = FieldFill.INSERT)
+    @TableLogic
+    private Integer deleteMark;
+    /**
+    * 有效标志
+    */
+    @ApiModelProperty("有效标志")
+    @TableField(fill = FieldFill.INSERT)
+    private Integer enabledMark;
+    /**
+    * 发送处分(1:班主任 2:学生 3:家长)
+    */
+    @ApiModelProperty("序号")
+    private Integer sortCode;
+    /**
+    * 处分原因
+    */
+    @ApiModelProperty("处分类型")
+    private String punishmentType;
+    /**
+    * 班级id
+    */
+    @ApiModelProperty("处分级别")
+    private Integer punishmentLevel;
+
+}

+ 16 - 0
src/main/java/com/xjrsoft/module/student/mapper/BasePunishmentTypeMapper.java

@@ -0,0 +1,16 @@
+package com.xjrsoft.module.student.mapper;
+
+import com.github.yulichang.base.MPJBaseMapper;
+import com.xjrsoft.module.student.entity.BasePunishmentType;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+* @title: 处分类型维护
+* @Author dzx
+* @Date: 2023-11-15
+* @Version 1.0
+*/
+@Mapper
+public interface BasePunishmentTypeMapper extends MPJBaseMapper<BasePunishmentType> {
+
+}