package com.zt.life.modules.mainPart.taskReliability.model; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.zt.common.entity.BusiEntity; import com.zt.common.entity.TreeNode; import com.zt.life.modules.mainPart.basicInfo.model.TyProductModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import org.springframework.web.multipart.MultipartFile; import java.io.File; import java.util.ArrayList; import java.util.List; @EqualsAndHashCode(callSuper = true) @Data @TableName("assess_data") public class ReliabilityAssess extends BusiEntity implements TreeNode { private Double runTimes; private Integer runNum; private Integer failNum; private Double assessResult; private Long itemId; private Long productId; private Long id; @TableField(exist = false) private String name; @TableField(exist = false) private Integer type; @TableField(exist = false) private Long pid; @ApiModelProperty(value = "子节点") @TableField(exist = false) private List children = new ArrayList<>(); }