package com.bcxin.tenant.open.domains.entities;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bcxin.tenant.open.infrastructures.entities.Aggregate;
import com.bcxin.tenant.open.infrastructures.entities.EntityAbstract;
import lombok.Data;

@TableName(value = "department_level")
@Data
public class DepartmentlevelEntity extends EntityAbstract implements Aggregate {

    @TableId("pk_id")
    private Long pkId;

    @TableField(value = "id")
    private String id;

    @TableField(value = "name")
    private String name;

    @TableField(value = "superior")
    private String superior;

    @TableField(value = "indexCode")
    private String indexCode;

    @TableField(value = "regionId")
    private String regionId;

    @TableField(value = "is_online")
    private boolean Online;
}
