package com.kcim.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.kcim.common.constants.NumberConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * 用户责任中心权限
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel
public class UserResponsibilityRightVO {

    @ApiModelProperty(name = "id",value = "用户责任中心权限的Id")
    private Long id;

    @ApiModelProperty(name = "userId",value = "中台用户ID")
    private Long userId;

    @ApiModelProperty(name = "account",value = "用户工号")
    private String account;

    @ApiModelProperty(name = "responsibilityName", value = "责任中心名称")
    private String responsibilityName;

    @ApiModelProperty(name = "responsibilityCode", value = "责任中心代码")
    private String responsibilityCode;

    @ApiModelProperty(name = "responsibilityLevel", value = "责任级别（第一级为1，以此类推）")
    private Integer responsibilityLevel;

    @ApiModelProperty(name = "isGatherCenter", value = "是否汇总中心1.是，2.不是")
    private Integer isGatherCenter;

    @ApiModelProperty(name = "responsibilityType", value = "责任类型 1. 收费中心，2.成本(费用)中心")
    private Integer responsibilityType;

    @ApiModelProperty(name = "shareId", value = "分摊层级Id")
    /**
     * 分摊级别的Id
     */
    private Long shareId;

    @ApiModelProperty(name = "shareLevel", value = "分摊级别 如果是顶层默认为0")
    private Integer shareLevel;

    @ApiModelProperty(name = "shareName", value = "分摊级别名称")
    private String shareName;

    @ApiModelProperty(name = "deptStatus", value = "责任中心状态，0.门诊，1.住院")
    private Integer isDefault;

    /**
     * 标准分摊层级
     */
    private String standardShareLevel;

    /**
     * 标准分摊层级名称
     */
    @TableField(exist = false)
    private String standardShareLevelName;

    /**
     * 责任中心类型
     */
    private String type;
    @TableField(exist = false)
    private String typeName;

    /**
     * 选择标志 0未选择 1已选择
     */
    @ApiModelProperty(name = "status", value = "选择标志")
    private Integer status= NumberConstant.ZERO;
}
