package cn.iocoder.yudao.module.mes.controller.admin.pd.reel.vo;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import jakarta.validation.constraints.NotNull;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
|
@Schema(description = "管理后台 - 换位导线盘具计算新增/修改 Request VO")
|
@Data
|
public class ProductCtcReelSaveReqVO {
|
|
@Schema(description = "编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "1024")
|
private Long id;
|
|
@Schema(description = "换位导线产品ID(关联 product_ctc.id)", requiredMode = Schema.RequiredMode.REQUIRED, example = "2048")
|
@NotNull(message = "换位导线产品ID不能为空")
|
private Long ctcId;
|
|
@Schema(description = "盘具类型(木盘/铁盘/钢盘)", example = "wood")
|
private String reelType;
|
|
@Schema(description = "盘具外径(mm)", example = "1600")
|
private BigDecimal reelOuterDiameter;
|
|
@Schema(description = "盘芯内径(mm)", example = "1100")
|
private BigDecimal reelInnerDiameter;
|
|
@Schema(description = "盘宽(mm)", example = "500")
|
private BigDecimal reelWidth;
|
|
@Schema(description = "最大容量(km)", example = "1.67")
|
private BigDecimal maxCapacity;
|
|
@Schema(description = "推荐每盘长度(km)", example = "1.50")
|
private BigDecimal recommendedLength;
|
|
@Schema(description = "净重(kg)", example = "800")
|
private BigDecimal netWeight;
|
|
@Schema(description = "毛重(kg)", example = "1200")
|
private BigDecimal grossWeight;
|
|
@Schema(description = "计算公式(保存计算逻辑)", example = "((d1-60)+(d2+10))*INT(l2/(宽+1))*(d1-d2-70)/(高+0.2)/1274")
|
private String calcFormula;
|
|
@Schema(description = "备注", example = "测试备注")
|
private String remark;
|
|
}
|