package com.cool.store.entity;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @author   zhangchenbiao
 * @date   2023-06-07 02:07
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RegionDO implements Serializable {
    @ApiModelProperty("自增ID")
    private Long id;

    @ApiModelProperty("区域ID")
    private String regionId;

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

    @ApiModelProperty("父区域id")
    private String parentId;

    @ApiModelProperty("区域路径")
    private String regionPath;

    @ApiModelProperty("未分组标志 0 分组 1 未分组")
    private Integer unclassifiedFlag;

    @ApiModelProperty("部门负责人")
    private String leaderUserId;

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

    @ApiModelProperty("第三方唯一id")
    private String thirdDeptId;

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

    @ApiModelProperty("创建人")
    private String createName;

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

    @ApiModelProperty("更新人")
    private String updateName;

    @ApiModelProperty("删除标记")
    private Boolean deleted;
}