package com.ruoyi.project.system.domain; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.TableField; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.time.LocalDateTime; @Data public class SysUserDept { private Long id; private Long userId; private Long deptId; @Schema(description = "创建时间") @TableField(fill = FieldFill.INSERT) private LocalDateTime createTime; @Schema(description = "创建用户") @TableField(fill = FieldFill.INSERT) private Integer createUser; @Schema(description = "修改时间") @TableField(fill = FieldFill.INSERT_UPDATE) private LocalDateTime updateTime; @Schema(description = "修改用户") @TableField(fill = FieldFill.INSERT_UPDATE) private Integer updateUser; }