package com.zt.plat.module.qms.resource.material.controller.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "管理后台 - 物料大类新增/修改 Request VO")
@Data
public class MaterialProductSaveReqVO {

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

    @Schema(description = "父id", example = "6098")
    private Long parentId;

    @Schema(description = "id路径")
    private String idPath;

    @Schema(description = "节点类型,分类|产品", example = "2")
    private String nodeType;

    @Schema(description = "名称", example = "张三")
    private String name;

    @Schema(description = "其他配置")
    private String customConfig;

    @Schema(description = "自定义表单")
    private String customForm;

    @Schema(description = "扩展数据")
    private String customData;

    @Schema(description = "标签")
    private String tag;

    @Schema(description = "标签模板")
    private String labelTemplateKey;

    @Schema(description = "型号")
    private String modelNo;

    @Schema(description = "规格")
    private String specification;

    @Schema(description = "技术参数")
    private String parameter;

    @Schema(description = "制造商")
    private String manufacturer;

    @Schema(description = "单位")
    private String unit;

    @Schema(description = "允许按量领取")
    private String enablePartial;

    @Schema(description = "保质期（天）")
    private Integer due;

    @Schema(description = "开封后保质期是否变化")
    private Integer openDueFlag;

    @Schema(description = "开封后保质期（天）")
    private Integer openDueAfter;

    @Schema(description = "是否危险品")
    private String hazardous;

    @Schema(description = "是否标准溶液")
    private String standardSolutionFlag;

    @Schema(description = "是否标准物质")
    private String standardMaterialFlag;

    @Schema(description = "复标周期,单位：天。小于等于0-不复标")
    private Integer reviewDue;

    @Schema(description = "排序号")
    private Integer sortNo;

    @Schema(description = "禁用")
    private String cancelFlag;

    @Schema(description = "所属部门")
    private String systemDepartmentCode;

    @Schema(description = "备注")
    private String remark;

}