package org.dromara.zhishu.domain.vo;

import org.dromara.zhishu.domain.Violation;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

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



/**
 * 违规视图对象 t_violation
 *
 * @author yxy
 * @date 2025-06-23
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Violation.class)
public class ViolationVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 类型  0 isbn  1 书名  2 作者  3 出版社
     */
    @ExcelProperty(value = "类型  0 isbn  1 书名  2 作者  3 出版社", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "t_violation_type")
    private String type;

    /**
     * 违规原因
     */
    @ExcelProperty(value = "违规原因")
    private String content;

    /**
     * 发起人
     */
    @ExcelProperty(value = "发起人")
    private Long userid;

    /**
     * 是否审核  0 未审核  1 已审核
     */
    @ExcelProperty(value = "是否审核  0 未审核  1 已审核")
    private String review;

    /**
     * 状态（0正常 1停用）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_normal_disable")
    private String status;

    /**
     * 审核意见
     */
    private String remark;

    /**
     * 违规内容
     */
    private String name;

    /**
     * 分类
     */
    private String sort;
}
