gongchunyi
8 天以前 320a2f0e7e3f6e6e4ad15636a603ece4143e9ec2
src/main/java/com/ruoyi/basic/pojo/Product.java
@@ -1,7 +1,7 @@
package com.ruoyi.basic.pojo;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
@Data
@@ -26,7 +26,17 @@
     */
    private String productName;
    @ApiModelProperty(value = "租户ID")
    @Schema(description = "租户ID")
    @TableField(fill = FieldFill.INSERT)
    private Integer tenantId;
    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;
}