package cn.iocoder.yudao.module.system.controller.admin.assets.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.util.*;

@Schema(description = "管理后台 - 资产类型新增/修改 Request VO")
@Data
public class AssetsTypeSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "6590")
    private Long id;

    @Schema(description = "资产类型名称", example = "李四")
    private String name;

    @Schema(description = "类型 0按量 1按单件", example = "1")
    private Integer type;

    @Schema(description = "业务类型 1行政类型 2生产类型", example = "1")
    private Integer businessType;

    @Schema(description = "消耗类型 1固定资产 2消耗品", example = "1")
    private Integer consumeType;

    @Schema(description = "上级资产类型id", example = "27306")
    private Long pid;

    /**
     * 类型编码(最后一级才有)
     */
    @Schema(description = "类型编码(最后一级才有)", example = "27306")
    private String code;

}
