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:29:27
 */
@Data
@TableName("domain_group")
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class DomainGroupDO extends BaseDO {
    //业务主键id
    @ApiModelProperty(value = "业务主键id")
    private String domainGroupId;
    //主责企业id
    @ApiModelProperty(value = "主责企业id")
    private Long corpinfoId;
    //领域组名称
    @ApiModelProperty(value = "领域组名称")
    private String domainGroupName;
    //领域类型
    @ApiModelProperty(value = "领域类型")
    private String domainType;
    //领域类型名称
    @ApiModelProperty(value = "领域类型名称")
    private String domainTypeName;
    //组长部门id
    @ApiModelProperty(value = "组长部门id")
    private Long teamDepartmentId;
    //组长人员id
    @ApiModelProperty(value = "组长人员id")
    private Long teamUserId;

    @ApiModelProperty(value = "主责企业名称")
    @TableField(exist = false)
    private String corpinfoName;
    @ApiModelProperty(value = "组长部门名称")
    @TableField(exist = false)
    private String teamDepartmentName;
    @ApiModelProperty(value = "组长人员姓名")
    @TableField(exist = false)
    private String teamUserName;
    @ApiModelProperty(value = "领域课题数")
    @TableField(exist = false)
    private Long projectTaskCount;
    @ApiModelProperty(value = "领域课题完成数")
    @TableField(exist = false)
    private Long projectTaskFinishedCount;

    public DomainGroupDO(String domainGroupId) {
        this.domainGroupId = domainGroupId;
    }

}

