package com.codvision.auth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 组织信息
 * </p>
 *
 * @author lingee
 * @since 2023-11-10
 */
@Data
@TableName("tbl_org")
@ApiModel(value = "Org", description = "组织信息")
public class Org implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("组织id")
    @TableId(value = "oid", type = IdType.AUTO)
    private Integer oid;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("全称")
    private String fullname;

    @ApiModelProperty("类型")
    private Integer type;

    @ApiModelProperty("等级")
    private Short level;

    @ApiModelProperty("父组织编码")
    private Integer poid;

    private String geom;

    @ApiModelProperty("排序")
    private Integer orderby;

    @ApiModelProperty("组织路径")
    private String path;

    @ApiModelProperty("边界数据")
    private String wkt;

    @ApiModelProperty("组织id路径")
    private String oidPath;

    private String refOid;

    private String geoJson;

    @ApiModelProperty("备注")
    private String remark;

    private String refCode;

    @ApiModelProperty("行政区域id")
    private Integer districtOid;

    @ApiModelProperty("删除标记,1:已删除,0:正常")
    private Short delFlag;

    @ApiModelProperty("逻辑删除辅助字段")
    private Integer delKey;

    @ApiModelProperty("专有钉钉部门code")
    private String zzdOrgCode;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("行政区划编码")
    private String districtCode;

    @ApiModelProperty("组织属性id")
    private Integer orgPropertyId;


}
