maven
2025-12-08 0100359605ba05638c1f683d68a2948cc273b0d2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
package com.ruoyi.lavorissue.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
 
/**
 * @author :yys
 * @date : 2025/11/19 11:58
 */
@Data
@TableName("dept_position")
public class DeptPosition {
    private static final long serialVersionUID = 1L;
 
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    @ApiModelProperty("父id")
    private Long parentId;
 
    @ApiModelProperty("名称")
    private String name;
 
    /**
     * 类型(1-部门 2-岗位)
     */
    @ApiModelProperty("类型(1-部门 2-岗位)")
    private Integer type;
 
    /**
     * 排序
     */
    @ApiModelProperty("排序")
    private Integer sort;
 
    @ApiModelProperty("子数据(岗位)")
    @TableField(exist = false)
    private List<DeptPosition> children;
 
 
    /**
     * 创建者
     */
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
 
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
 
    /**
     * 修改者
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
 
    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
 
    /**
     * 租户ID
     */
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;
 
 
}