package com.xhkjedu.sapi.model.system;

import com.xhkjedu.model.BaseBean;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.ArrayList;
import java.util.List;

@Table(name = "t_user_module")
@Data
public class TUserModule extends BaseBean {
    //用户常用模块表
    @Id
    private Integer umid;

    //用户id
    private Integer userid;

    //模块id
    private String moduleid;

    //排序
    private Integer umorder;

    //模块归属码 1网页 2app 3网页+app
    private Integer belongcode;

    //创建时间
    private Integer createtime;

    //学校id
    private Integer schoolid;

    //批量保存用户常用模块
    private List<String> moduleids = new ArrayList<>();
}
