package com.bonus.material.ma.domain.vo;

import com.bonus.common.core.annotation.Excel;
import com.bonus.material.ma.domain.Type;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * @author : 阮世耀
 * @version : 1.0
 * @PackagePath: com.bonus.material.ma.vo
 * @CreateTime: 2024-10-14  17:47
 * @Description: 物资类型列表展示VO
 */
@Getter
@Setter
public class MaTypeVoLevelTwo {
    /** 类型ID */
    @ApiModelProperty(value = "类型ID")
    private Long typeId;

    /** 上级ID */
    @ApiModelProperty(value = "上级ID")
    private Long parentId;

    @Excel(name = "物资名称", sort = 1)
    @ApiModelProperty(value = "物资名称")
    private String materialName;

    @Excel(name = "规格型号", sort = 2)
    @ApiModelProperty(value = "规格型号")
    private String typeName;

    /** 计量单位名称 */
    @ApiModelProperty(value = "计量单位名称")
    @Excel(name = "计量单位",sort = 3)
    private String unitName;

    /** 管理方式(0编号 1计数) */
    @Excel(name = "管理方式", readConverterExp = "0=编号,1=计数",sort = 4)
    @ApiModelProperty(value = "管理方式(0编号 1计数)")
    private String manageType;

    /** 层级 */
    @ApiModelProperty(value = "层级")
    private String level;

    /** 外部租赁单价 */
    @Excel(name = "外部租赁单价",sort = 7)
    @ApiModelProperty(value = "外部租赁单价")
    private BigDecimal rentPrice;

    /** 内部租赁单价 */
    @Excel(name = "内部租赁单价",sort = 6)
    @ApiModelProperty(value = "内部租赁单价")
    private BigDecimal leasePrice;

    /** 实时库存 */
    @Excel(name = "实时库存",sort = 5)
    @ApiModelProperty(value = "实时库存")
    private BigDecimal storageNum;
}
