部门人员代码结构

This commit is contained in:
2026-04-26 10:35:45 +08:00
parent 34ae138199
commit b9e00e6846
5 changed files with 331 additions and 0 deletions

View File

@@ -0,0 +1,65 @@
package com.rj.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("lb_department_user")
@Schema(description = "部门用户表")
public class LbDepartmentUser implements Serializable {
private static final long serialVersionUID = 1L;
@TableId("id")
@Schema(description = "表idUUID")
private String id;
@TableField("user_id")
@Schema(description = "用户ID")
private String userId;
@TableField("parent_id")
@Schema(description = "父idUUID")
private String parentId;
@TableField("tenant_id")
@Schema(description = "租户id")
private String tenantId;
@TableField("name")
@Schema(description = "姓名")
private String name;
@TableField("phone")
@Schema(description = "电话")
private String phone;
@TableField("address")
@Schema(description = "地址")
private String address;
@TableField("industry")
@Schema(description = "从事的行业")
private String industry;
@TableField("join_date")
@Schema(description = "加入日期(不含时分秒)")
private LocalDate joinDate;
@TableField("create_time")
@Schema(description = "创建时间")
private LocalDateTime createTime;
@TableField("update_time")
@Schema(description = "修改时间")
private LocalDateTime updateTime;
}