Dept.java 579 Bytes
package vion.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
@TableName(value = "tbl_dept_info")
public class Dept {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private Long deptId;
    private String deptName;
    private Long parentId;
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(value = "modify_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime modifyTime;
}