package cn.com.oa.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@TableName("t_group")
@Data
public class Group {
    @TableId(value = "UNIVERSALID")
    private Long UNIVERSALID;

    @TableField("GROUPNAME")
    private String GROUPNAME;

    @TableField("PID")
    private String PID;

    @TableField("DESCRIPTION")
    private String DESCRIPTION;

    @TableField("POS")
    private Long POS;

    private String groupnum;

    private String phone;

    private String person;

    private String gtype;

    private String glevel;

    @TableField("companyId")
    private Long companyId;

    private String state;

    private String relation;

    private String bznum;

    private String bak;

    @TableField(exist = false)
    private List<Group> children; // 子节点列表
}
