package com.hotwj.platform.operationManagement.trainingFeedbackReply.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import com.hotwj.platform.operationManagement.trainingFeedbackReply.domain.HotTrainingFeedbackReply;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;


/**
 * 培训反馈回复视图对象 hot_training_feedback_reply
 *
 * @author shihongwei
 * @date 2026-05-07
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HotTrainingFeedbackReply.class)
public class HotTrainingFeedbackReplyVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 公司ID（应用层保证必填）
     */
    @ExcelProperty(value = "公司ID", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "应=用层保证必填")
    private Long companyId;

    /**
     * 反馈主表ID（逻辑外键）
     */
    @ExcelProperty(value = "反馈主表ID", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "逻=辑外键")
    private Long feedbackId;

    /**
     * 反馈单号
     */
    @ExcelProperty(value = "反馈单号")
    private String feedbackNo;

    /**
     * 回复角色：1=反馈人 2=处理人
     */
    @ExcelProperty(value = "回复角色：1=反馈人 2=处理人")
    private Long replyRole;

    /**
     * 回复人ID
     */
    @ExcelProperty(value = "回复人ID")
    private Long replyUserId;

    /**
     * 回复人姓名
     */
    @ExcelProperty(value = "回复人姓名")
    private String replyUserName;

    /**
     * 回复内容
     */
    @ExcelProperty(value = "回复内容")
    private String replyContent;

    /**
     * 回复时间
     */
    @ExcelProperty(value = "回复时间")
    private Date replyTime;

    /**
     * 状态：1=有效 0=无效
     */
    @ExcelProperty(value = "状态：1=有效 0=无效")
    private Long status;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 创建者姓名
     */
    @ExcelProperty(value = "创建者姓名")
    private String createByName;

    /**
     * 更新者姓名
     */
    @ExcelProperty(value = "更新者姓名")
    private String updateByName;

    /**
     * 0=正常, 1=已删除
     */
    @ExcelProperty(value = "0=正常, 1=已删除")
    private Long isDeleted;


}
