package cn.iocoder.yudao.module.system.dal.dataobject.biz;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.*;

import java.util.Date;
import java.util.List;

@TableName("nurse_category")
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class NursingCategoryDO{


    /**
     * 主键ID
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 分类名称
     */
    private String categoryName;
    /**
     * 父类ID
     */
    private Long parentId;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 备注
     */
    private String remark;
    /**
     * 创建时间
     */
    private Date createTime;

    private Long tenantId;

    private Integer orgType;

    @TableField(exist = false)
    private List<NursingCategoryDO> childrenList;

    @TableField(exist = false)
    private List<NurseItemDO> items;

}
