package cn.iocoder.yudao.module.mes.controller.admin.pd.ctc.vo;
|
|
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
|
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
|
import cn.iocoder.yudao.module.mes.enums.DictTypeConstants;
|
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
|
import cn.idev.excel.annotation.ExcelProperty;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
|
@Schema(description = "管理后台 - 换位导线产品技术参数 Response VO")
|
@Data
|
@ExcelIgnoreUnannotated
|
public class ProductCtcRespVO {
|
|
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
|
@ExcelProperty("编号")
|
private Long id;
|
|
@Schema(description = "物料ID(关联 mdm_item.id)", requiredMode = Schema.RequiredMode.REQUIRED, example = "2048")
|
private Long itemId;
|
|
@Schema(description = "物料名称", example = "换位导线")
|
private String itemName;
|
|
@Schema(description = "物料编码", example = "ML0001")
|
private String itemCode;
|
|
@Schema(description = "订货规格", example = "QQNB-2/120")
|
@ExcelProperty("订货规格")
|
private String orderSpec;
|
|
@Schema(description = "裸导线规格", example = "1.27×5.7")
|
@ExcelProperty("裸导线规格")
|
private String bareConductorSpec;
|
|
@Schema(description = "漆包线规格", example = "0.11×5.7")
|
@ExcelProperty("漆包线规格")
|
private String enameledSpec;
|
|
@Schema(description = "换位规格", example = "19.08×12.6")
|
@ExcelProperty("换位规格")
|
private String transpositionSpec;
|
|
@Schema(description = "导体类型(铜/铝)", example = "copper")
|
@ExcelProperty(value = "导体类型", converter = DictConvert.class)
|
@DictFormat(DictTypeConstants.PRODUCT_CONDUCTOR_TYPE)
|
private String conductorType;
|
|
@Schema(description = "截面积(mm²)", example = "120.00")
|
@ExcelProperty("截面积")
|
private BigDecimal crossSection;
|
|
@Schema(description = "外径(mm)", example = "19.08")
|
@ExcelProperty("外径")
|
private BigDecimal outerDiameter;
|
|
@Schema(description = "20℃直流电阻(Ω/km)", example = "0.002937")
|
@ExcelProperty("20℃直流电阻")
|
private BigDecimal resistance20c;
|
|
@Schema(description = "绕包角度(°)", example = "18.02")
|
@ExcelProperty("绕包角度")
|
private BigDecimal wrappingAngle;
|
|
@Schema(description = "绝缘厚度(mm)", example = "0.75")
|
@ExcelProperty("绝缘厚度")
|
private BigDecimal insulationThickness;
|
|
@Schema(description = "额定电压(kV)", example = "110")
|
@ExcelProperty("额定电压")
|
private String ratedVoltage;
|
|
@Schema(description = "试验电压(kV)", example = "230")
|
@ExcelProperty("试验电压")
|
private String testVoltage;
|
|
@Schema(description = "最小弯曲半径(mm)", example = "500")
|
@ExcelProperty("最小弯曲半径")
|
private BigDecimal minBendingRadius;
|
|
@Schema(description = "每公里重量(kg/km)", example = "1200")
|
@ExcelProperty("每公里重量")
|
private BigDecimal weightPerKm;
|
|
@Schema(description = "执行标准代号", example = "GB/T 7095-2008")
|
@ExcelProperty("执行标准")
|
private String standardCode;
|
|
@Schema(description = "备注", example = "测试备注")
|
@ExcelProperty("备注")
|
private String remark;
|
|
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
@ExcelProperty("创建时间")
|
private LocalDateTime createTime;
|
|
}
|