| | |
| | | package com.ycl.jxkg.domain.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.FieldFill; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.ycl.jxkg.domain.base.AbsEntity; |
| | | import com.ycl.jxkg.enums.general.StatusEnum; |
| | | import lombok.Data; |
| | | import lombok.experimental.Accessors; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | @Data |
| | | @TableName("t_subject") |
| | | @Accessors(chain = true) |
| | | public class Subject extends AbsEntity { |
| | | |
| | | /** |
| | |
| | | private String name; |
| | | |
| | | /** |
| | | * 年级 (1-12) 小学 初中 |
| | | */ |
| | | @TableField("level") |
| | | private Integer level; |
| | | |
| | | /** |
| | | * 一年级、二年级等 |
| | | */ |
| | | @TableField("level_name") |
| | | private String levelName; |
| | | |
| | | /** |
| | | * 排序 |
| | | */ |
| | | @TableField("item_order") |
| | | private Integer itemOrder; |
| | | |
| | | @TableField("create_user") |
| | | private Integer createUser; |
| | | |
| | | @TableField(value = "create_time", fill = FieldFill.INSERT) |
| | | private Date createTime; |
| | | |
| | | @TableField(value = "status") |
| | | private StatusEnum status; |
| | | |
| | | } |