xiaoyi
5 天以前 c9d4ba37c1f681b12e24014013fa9a28734bad42
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package cn.iocoder.yudao.module.mes.controller.admin.pd.ctc.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 ProductCtcResistanceCalcReqVO {
 
    @Schema(description = "导体厚度(mm)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1.27")
    @NotNull(message = "导体厚度不能为空")
    private BigDecimal conductorThickness;
 
    @Schema(description = "导体宽度(mm)", requiredMode = Schema.RequiredMode.REQUIRED, example = "5.7")
    @NotNull(message = "导体宽度不能为空")
    private BigDecimal conductorWidth;
 
    @Schema(description = "计算温度(℃)", requiredMode = Schema.RequiredMode.REQUIRED, example = "75")
    @NotNull(message = "计算温度不能为空")
    private BigDecimal temperature;
 
    @Schema(description = "导体材质(copper=铜/aluminum=铝)", requiredMode = Schema.RequiredMode.REQUIRED, example = "copper")
    @NotNull(message = "导体材质不能为空")
    private String material;
 
}