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;

import java.math.BigDecimal;

/**
 * web-infrastructure
 *
 * @Author zhaokai
 * @Date 2026-01-27 11:30:45
 */
@Data
@TableName("project_task_score_info")
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class ProjectTaskScoreInfoDO extends BaseDO {
    //业务主键id
    @ApiModelProperty(value = "业务主键id")
    private String projectTaskScoreInfoId;
    //课题任务主键id
    @ApiModelProperty(value = "课题任务主键id")
    private String projectTaskId;
    //部门主键id
    @ApiModelProperty(value = "部门主键id")
    private Long departmentId;
    //部门名称
    @ApiModelProperty(value = "部门名称")
    @TableField(exist = false)
    private String departmentName;
    //人员id
    @ApiModelProperty(value = "人员id")
    private Long userId;
    //人员名称
    @ApiModelProperty(value = "人员名称")
    @TableField(exist = false)
    private String userName;
    //评分
    @ApiModelProperty(value = "评分")
    private BigDecimal score;

    //企业id
    @ApiModelProperty(value = "企业id")
    @TableField(exist = false)
    private Long corpinfoId;
    //企业名称
    @ApiModelProperty(value = "企业名称")
    @TableField(exist = false)
    private String corpinfoName;

    public ProjectTaskScoreInfoDO(String projectTaskScoreInfoId) {
        this.projectTaskScoreInfoId = projectTaskScoreInfoId;
    }

}

