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


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

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 收费项目分类表
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2024-06-06 09:18:51
 */
@Data
@TableName(value = "sys_charge_category", autoResultMap = true)
public class SysChargeCategoryDO implements Serializable {


    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 分类名称
     */
    private String name;
    /**
     * 父类ID
     */
    private Long parentId;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 机构ID
     */
    private Long channelId;
    /**
     * 备注
     */
    private String remark;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 类型，0-机构，1-居家，2-旅居
     */
    private Integer type;

    /**
     * 创建人
     */
    private String createdBy;

    /**
     * 创建时间
     */
    private Date createTime;


    /**
     * 标识
     */
    private String identification;

    private Long tenantId;

    private Integer orgType;

    @TableField(exist = false)
    private String tenantName;

    @TableField(exist = false)
    private String channelName;

    @TableField(exist = false)
    private List<Long> channelIdList;

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

}
