package com.ktg.iscs.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.ktg.common.annotation.Excel;
import com.ktg.common.core.domain.model.BaseBean;

/**
 * 物资使用说明对象 is_materials_instructions
 *
 * @author cgj
 * @date 2025-01-23
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class IsMaterialsInstructions extends BaseBean
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "说明ID")
    @TableId(type = IdType.AUTO)
    private Long instructionsId;

    @ApiModelProperty(value = "标题")
    @Excel(name = "标题")
    private String instructionsTitle;

    @ApiModelProperty(value = "物资类型ID")
    @Excel(name = "物资类型ID")
    private Long materialsTypeId;

    @ApiModelProperty(value = "物资类型NAME")
    @TableField(exist = false)
    private String materialsTypeName;

    @ApiModelProperty(value = "文件地址")
    @Excel(name = "文件地址")
    private String fileUrl;

    @ApiModelProperty(value = "PDF转成图片后的文件地址")
    private String fileUrlImg;

    @ApiModelProperty(value = "PDF转成图片后的文件路径")
    private String filePathImg;

    @ApiModelProperty(value = "文件类型")
    @Excel(name = "文件类型")
    private String fileType;

    @ApiModelProperty(value = "删除标志（0代表存在 2代表删除）")
    private String delFlag;

    @ApiModelProperty(value = "物资状态(0-正常 1-异常 2-被更换)")
    @Excel(name = "物资状态(0-正常 1-异常 2-被更换)")
    private String status;

    @ApiModelProperty(value = "排序")
    private Integer orderNum;


}
