package com.shzg.project.worn.domain;

import com.shzg.framework.web.domain.BaseEntity;
import com.shzg.project.worn.domain.dto.AppraisalFileDTO;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.shzg.framework.aspectj.lang.annotation.Excel;

import java.util.List;

/**
 * 技术鉴定对象 worn_technical_appraisal
 * 
 * @author shzg
 * @date 2026-04-10
 */
public class WornTechnicalAppraisal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 技术鉴定单号 */
    @Excel(name = "技术鉴定单号")
    private String appraisalNo;

    /** 出库单ID */
    @Excel(name = "出库单ID")
    private Long billId;

    /** 出库单号 */
    @Excel(name = "出库单号")
    private String billNo;

    /** 项目ID */
    @Excel(name = "项目ID")
    private Long projectId;

    /** 上传人ID */
    @Excel(name = "上传人ID")
    private Long userId;

    /** 上传人姓名 */
    @Excel(name = "上传人姓名")
    private String userName;

    /** 技术鉴定说明 */
    @Excel(name = "技术鉴定说明")
    private String appraisalDesc;

    /** 状态（0草稿 1已提交） */
    @Excel(name = "状态", readConverterExp = "0=草稿,1=已提交")
    private String status;

    /** 是否删除（0正常 1删除） */
    @Excel(name = "是否删除", readConverterExp = "0=正常,1=删除")
    private String isDelete;
    /** 附件列表 */
    private List<AppraisalFileDTO> fileList;
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setAppraisalNo(String appraisalNo) 
    {
        this.appraisalNo = appraisalNo;
    }

    public String getAppraisalNo() 
    {
        return appraisalNo;
    }

    public void setBillId(Long billId) 
    {
        this.billId = billId;
    }

    public Long getBillId() 
    {
        return billId;
    }

    public void setBillNo(String billNo) 
    {
        this.billNo = billNo;
    }

    public String getBillNo() 
    {
        return billNo;
    }

    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setAppraisalDesc(String appraisalDesc) 
    {
        this.appraisalDesc = appraisalDesc;
    }

    public String getAppraisalDesc() 
    {
        return appraisalDesc;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setIsDelete(String isDelete) 
    {
        this.isDelete = isDelete;
    }

    public String getIsDelete() 
    {
        return isDelete;
    }
    public List<AppraisalFileDTO> getFileList()
    {
        return fileList;
    }

    public void setFileList(List<AppraisalFileDTO> fileList)
    {
        this.fileList = fileList;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("appraisalNo", getAppraisalNo())
            .append("billId", getBillId())
            .append("billNo", getBillNo())
            .append("projectId", getProjectId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("appraisalDesc", getAppraisalDesc())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
