EquipmentSparepartVO.java 1.2 KB
package com.skua.modules.equipment.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.skua.core.aspect.annotation.Dict;
import com.skua.modules.equipment.entity.EquipmentSparepart;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @author sonin
 * @date 2021/9/29 22:46
 */
@Data
public class EquipmentSparepartVO extends EquipmentSparepart {

    private String inChildId;

    private String outChildId;

    private String sparepartType_dictText;

    private String consumeNum;

    //20241111 kangwei新增扩展
    @TableField(exist=false)
    @ApiModelProperty(value = "仓库编号")
    private String warehouseCode;
    /**仓库名称*/
    @TableField(exist=false)
    @ApiModelProperty(value = "仓库名称")
    private String warehouseName;
    /**仓库地址*/
    @TableField(exist=false)
    @ApiModelProperty(value = "仓库地址")
    private String warehouseAddress;
    /**负责人*/
    @ApiModelProperty(value = "负责人")
    @TableField(exist=false)
    @Dict(dictTable = "sys_user", dicCode="id", dicText = "realname")
    private String principal;

    @TableField(exist=false)
    private String departIdName;




}