package com.ktg.iscs.domain;

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_type
 *
 * @author cgj
 * @date 2024-11-08
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class IsMaterialsType extends BaseBean
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "物资类型ID")
    @TableId(type = IdType.AUTO)
    private Long materialsTypeId;

    @ApiModelProperty(value = "物资类型编号")
    @Excel(name = "物资类型编号")
    private String materialsTypeCode;

    @ApiModelProperty(value = "物资类型名称")
    @Excel(name = "物资类型名称")
    private String materialsTypeName;

    @ApiModelProperty(value = "父类型ID")
    @Excel(name = "父类型ID")
    private Long parentId;

    @ApiModelProperty(value = "所有父节点ID，各值之间用逗号分隔")
    @Excel(name = "所有父节点ID，各值之间用逗号分隔")
    private String ancestors;

    @ApiModelProperty(value = "是否启用")
    @Excel(name = "是否启用")
    private String enableFlag;

    @ApiModelProperty(value = "可用寿命")
    @Excel(name = "可用寿命")
    private String serviceLife;

    @ApiModelProperty(value = "剩余寿命")
    @Excel(name = "剩余寿命")
    private String availableLife;

    @ApiModelProperty(value = "可用次数")
    @Excel(name = "可用次数")
    private Long serviceTimes;

    @ApiModelProperty(value = "剩余次数")
    @Excel(name = "剩余次数")
    private Long availableTimes;

    @ApiModelProperty(value = "物资类型图标")
    private String materialsTypeIcon;

    @ApiModelProperty(value = "物资类型缩略图")
    private String materialsTypePicture;

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

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "物资检查标准")
    private String checkStandard;

    @ApiModelProperty(value = "物资规格属性项")
    private String propertyIds;

}
