package com.ruoyi.mall.domain.Bo;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotNull;

/**
 * 添加对比记录对象 tb_contrast_record
 *
 * @author ruoyi
 * @date 2023-10-27
 */
public class ContrastRecordBo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录id */

    private Long recordId;

    /** 学校id */
    @NotNull(message = "学校编号不为空")
    private Long schoolId;

    /** 批次id */
    private Long batchId;

    /** 用户id */
    @NotNull(message = "用户编号不为空")
    private Long userId;

    /** 删除标志(0代表存在 2代表删除) */
    private String delFlag;

    public void setRecordId(Long recordId)
    {
        this.recordId = recordId;
    }

    public Long getRecordId()
    {
        return recordId;
    }
    public void setSchoolId(Long schoolId)
    {
        this.schoolId = schoolId;
    }

    public Long getSchoolId()
    {
        return schoolId;
    }
    public void setBatchId(Long batchId)
    {
        this.batchId = batchId;
    }

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

    public Long getUserId()
    {
        return userId;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("schoolId", getSchoolId())
            .append("batchId", getBatchId())
            .append("userId", getUserId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
