package com.iailab.module.data.ind.item.vo; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import javax.validation.constraints.NotNull; import java.math.BigDecimal; /** * @author PanZhibao * @Description * @createTime 2024å¹´09月11æ—¥ */ @Schema(description = "æ•°æ®å¹³å° - æŒ‡æ ‡é¡¹åˆ›å»º/修改 Request VO") @Data public class IndItemSaveReqVO { @Schema(description = "ID") private String id; @Schema(description = "ç¼–ç ") private String itemNo; @Schema(description = "å称", requiredMode = Schema.RequiredMode.REQUIRED) @NotNull(message = "å称ä¸èƒ½ä¸ºç©º") private String itemName; @Schema(description = "æŒ‡æ ‡ç±»åž‹", requiredMode = Schema.RequiredMode.REQUIRED) @NotNull(message = "æŒ‡æ ‡ç±»åž‹ä¸èƒ½ä¸ºç©º") private String itemType; @Schema(description = "æŒ‡æ ‡åˆ†ç±»", requiredMode = Schema.RequiredMode.REQUIRED) @NotNull(message = "æŒ‡æ ‡åˆ†ç±»ä¸èƒ½ä¸ºç©º") private String itemCategory; @Schema(description = "系数") private BigDecimal coefficient; @Schema(description = "æŒ‡æ ‡ç²¾åº¦") private Integer precision; @Schema(description = "时间粒度") private String timeGranularity; @Schema(description = "æ•°é‡å•ä½") private String unit; @Schema(description = "备注") private String remark; @Schema(description = "状æ€ï¼ˆ0æ£å¸¸ 1åœç”¨ï¼‰") private Integer status; @Schema(description = "原åæŒ‡æ ‡") private IndItemAtomVO atomItem; @Schema(description = "æ´¾ç”ŸæŒ‡æ ‡") private IndItemDerVO derItem; @Schema(description = "è®¡ç®—æŒ‡æ ‡") private IndItemCalVO calItem; @Schema(description = "å›ºåŒ–æ ‡è¯†") private String solidifyFlag; }