package com.hotent.project.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.hotent.base.entity.BaseModel;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
 * 监审项目结论表
 *
 * @company 山西清众科技股份有限公司
 * @author 超级管理员
 * @since 2025-09-27
 */
@ApiModel(value="CostProjectConclusion对象", description="监审项目结论表")
public class CostProjectConclusion extends BaseModel<CostProjectConclusion> {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @JsonProperty("id")
    private String id;

    @ApiModelProperty(value = "关联监审项目ID")
    @TableField("project_id")
    @JsonProperty("projectId")
    private String projectId;

    @ApiModelProperty(value = "主任务ID")
    @TableField("task_id")
    @JsonProperty("taskId")
    private String taskId;

    @ApiModelProperty(value = "定价成本构成")
    @TableField("pricing_cost_structure")
    @JsonProperty("pricingCostStructure")
    private String pricingCostStructure;

    @ApiModelProperty(value = "审核的内容和方法")
    @TableField("audit_content_method")
    @JsonProperty("auditContentMethod")
    private String auditContentMethod;

    @ApiModelProperty(value = "成本费用项目核销（减）情况及理由")
    @TableField("cost_deduction_reason")
    @JsonProperty("costDeductionReason")
    private String costDeductionReason;

    @ApiModelProperty(value = "成本监审结论")
    @TableField("cost_audit_conclusion")
    @JsonProperty("costAuditConclusion")
    private String costAuditConclusion;

    @ApiModelProperty(value = "其他需要说明的事项")
    @TableField("other_explanations")
    @JsonProperty("otherExplanations")
    private String otherExplanations;

    @ApiModelProperty(value = "违约情况说明")
    @TableField("default_conditions")
    @JsonProperty("defaultConditions")
    private String defaultConditions;

    @ApiModelProperty(value = "结论状态: draft-草稿, pending_review-待审核, approved-已审核, completed-已完成")
    @TableField("conclusion_status")
    @JsonProperty("conclusionStatus")
    private String conclusionStatus;

    @ApiModelProperty(value = "工作流步骤: conclusion-出具结论")
    @TableField("workflow_step")
    @JsonProperty("workflowStep")
    private String workflowStep;

    @ApiModelProperty(value = "状态：1正常 0已删除")
    @TableField("status")
    @JsonProperty("status")
    private Boolean status;

    @ApiModelProperty(value = "逻辑删除：0正常 1已删除")
    @TableField("is_deleted")
    @JsonProperty("isDeleted")
    private Boolean isDeleted;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    @JsonProperty("createTime")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建人")
    @TableField("create_by")
    @JsonProperty("createBy")
    private String createBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    @JsonProperty("updateTime")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "更新人")
    @TableField("update_by")
    @JsonProperty("updateBy")
    private String updateBy;


    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public Boolean getDeleted() {
        return isDeleted;
    }

    public void setDeleted(Boolean deleted) {
        isDeleted = deleted;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }
    public String getPricingCostStructure() {
        return pricingCostStructure;
    }

    public void setPricingCostStructure(String pricingCostStructure) {
        this.pricingCostStructure = pricingCostStructure;
    }
    public String getAuditContentMethod() {
        return auditContentMethod;
    }

    public void setAuditContentMethod(String auditContentMethod) {
        this.auditContentMethod = auditContentMethod;
    }
    public String getCostDeductionReason() {
        return costDeductionReason;
    }

    public void setCostDeductionReason(String costDeductionReason) {
        this.costDeductionReason = costDeductionReason;
    }
    public String getCostAuditConclusion() {
        return costAuditConclusion;
    }

    public void setCostAuditConclusion(String costAuditConclusion) {
        this.costAuditConclusion = costAuditConclusion;
    }
    public String getOtherExplanations() {
        return otherExplanations;
    }

    public void setOtherExplanations(String otherExplanations) {
        this.otherExplanations = otherExplanations;
    }
    public String getDefaultConditions() {
        return defaultConditions;
    }

    public void setDefaultConditions(String defaultConditions) {
        this.defaultConditions = defaultConditions;
    }
    public String getConclusionStatus() {
        return conclusionStatus;
    }

    public void setConclusionStatus(String conclusionStatus) {
        this.conclusionStatus = conclusionStatus;
    }
    public String getWorkflowStep() {
        return workflowStep;
    }

    public void setWorkflowStep(String workflowStep) {
        this.workflowStep = workflowStep;
    }
    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }
    public Boolean getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Boolean isDeleted) {
        this.isDeleted = isDeleted;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "CostProjectConclusion{" +
            "id=" + id +
            ", projectId=" + projectId +
            ", pricingCostStructure=" + pricingCostStructure +
            ", auditContentMethod=" + auditContentMethod +
            ", costDeductionReason=" + costDeductionReason +
            ", costAuditConclusion=" + costAuditConclusion +
            ", otherExplanations=" + otherExplanations +
            ", defaultConditions=" + defaultConditions +
            ", conclusionStatus=" + conclusionStatus +
            ", workflowStep=" + workflowStep +
            ", status=" + status +
            ", isDeleted=" + isDeleted +
            ", createTime=" + createTime +
            ", createBy=" + createBy +
            ", updateTime=" + updateTime +
            ", updateBy=" + updateBy +
        "}";
    }
}
