liyong
5 小时以前 1ca5584d7e3200a9af65a099bd26d3593e2ba702
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
package com.ruoyi.basic.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
@Data
@TableName("product")
public class Product {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 序号
     */
    @TableId(type = IdType.AUTO)
    private Long id;
 
    /**
     * 父ID
     */
    private Long parentId;
 
    /**
     *  产品名称
     */
    private String productName;
 
    @Schema(description = "租户ID")
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;
    @Schema(description = "创建用户")
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
 
    @TableField(exist = false)
    private Long[] deptIds;
 
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
 
}