package com.zcloud.domain.persistence.dataobject;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jjb.saas.framework.repository.basedo.BaseDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * web-infrastructure
 *
 * @Author zhaokai
 * @Date 2026-01-27 11:28:51
 */
@Data
@TableName("domain_department")
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class DomainDepartmentDO extends BaseDO {
    //业务主键id
    @ApiModelProperty(value = "业务主键id")
    private String domainDepartmentId;
    //领域类型
    @ApiModelProperty(value = "领域类型")
    private String domainType;
    //领域类型名称
    @ApiModelProperty(value = "领域类型名称")
    private String domainTypeName;
    //主责部门id
    @ApiModelProperty(value = "主责部门id")
    private Long masterDepartmentId;

    @ApiModelProperty(value = "主责部门名称")
    @TableField(exist = false)
    private String masterDepartmentName;
    //领域负责人
    @ApiModelProperty(value = "领域负责人")
    private Long masterUserId;
    @ApiModelProperty(value = "领域负责人名称")
    @TableField(exist = false)
    private String masterUserName;
    @ApiModelProperty(value = "领域课题数")
    @TableField(exist = false)
    private Long projectTaskCount;

    @ApiModelProperty(value = "领域评审人员数")
    @TableField(exist = false)
    private Long domainDepartmentUserCount;


    public DomainDepartmentDO(String domainDepartmentId) {
        this.domainDepartmentId = domainDepartmentId;
    }

}

