longz
2026-06-10 1f4fd950f6aa0dd8f865f63daeb2303efb3f8d76
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
package com.stylefeng.guns.modular.system.model;
 
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * 管理账号可管理分公司及该分公司下的角色、部门配置。
 */
@Data
@TableName("sys_user_company_scope")
public class SysUserCompanyScope extends Model<SysUserCompanyScope> {
 
    private static final long serialVersionUID = 1L;
 
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
 
    private Integer userId;
 
    private Integer companyId;
 
    private String roleid;
 
    private Integer deptid;
 
    private Integer isDefault;
 
    private Integer status;
 
    private Date createTime;
 
    private Date updateTime;
 
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}