¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.yuanchu.limslaboratory.pojo; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.annotation.JsonIgnore; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | /** |
| | | * <p> |
| | | * |
| | | * </p> |
| | | * |
| | | * @author æ±èéµ·éç½ç»ç§ææéå
¬å¸ |
| | | * @since 2023-07-20 |
| | | */ |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @ApiModel(value="Instrument对象", description="") |
| | | public class Instrument implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @ApiModelProperty(value = "主é®", hidden = true) |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "åç±»ID å
³è", example = "1", required = true) |
| | | private Integer classifyId; |
| | | |
| | | @ApiModelProperty(value = "ä¿ç®¡äººï¼ç¨æ·è¡¨å
³èId", example = "9", required = true) |
| | | private Integer userId; |
| | | |
| | | @ApiModelProperty(value = "ä¿ç®¡äººï¼ç¨æ·è¡¨å
³èId", hidden = true) |
| | | @TableField(value = "") |
| | | private Integer createUserId; |
| | | |
| | | @ApiModelProperty(value = "仪å¨è®¾å¤ç¼å·", example = "JSTC-W1-00001", required = true) |
| | | private String equipmentCode; |
| | | |
| | | @ApiModelProperty(value = "仪å¨è®¾å¤åç§°", example = "æ°åçµæ¡¥", required = true) |
| | | private String equipmentName; |
| | | |
| | | @ApiModelProperty(value = "é»è®¤1ï¼1ï¼è¿è¡ã2ï¼æ
éã3ï¼æ¥ä¿®ã4ï¼æ£ä¿®ã5ï¼å¾
æº", example = "1", required = true) |
| | | private Integer conditions; |
| | | |
| | | @ApiModelProperty(value = "è§æ ¼åå·", example = "WCDMS-1", required = true) |
| | | private String specificationsModels; |
| | | |
| | | @ApiModelProperty(value = "æµéèå´", example = "12毫米") |
| | | private String measuringRange; |
| | | |
| | | @ApiModelProperty(value = "误差", example = "0.000001微米") |
| | | private String errorRate; |
| | | |
| | | @ApiModelProperty(value = "ç产åå®¶", example = "æ±èéµ·é") |
| | | private String manufacturer; |
| | | |
| | | @ApiModelProperty(value = "å°è´§æ¥æ", example = "2001-07-06", dataType = "date") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private Date arrivalDate; |
| | | |
| | | @ApiModelProperty(value = "éªæ¶æ¥æ", example = "2060-07-06", dataType = "date") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private Date acceptanceDate; |
| | | |
| | | @ApiModelProperty(value = "åæ¾å°", example = "å°çäºæ´²ä¸å½æ±èåé") |
| | | private String storagePlace; |
| | | |
| | | @ApiModelProperty(value = "æ¯å¦æ¯ææ°éï¼1ï¼æ¯æï¼0ï¼ä¸æ¯æ", example = "1") |
| | | private Integer whetherDataAcquisition; |
| | | |
| | | @ApiModelProperty(value = "æ¯å¦éè¦ä»ªå¨è®¾å¤è®¡éï¼å¦æéè¦è®¡é卿å¿
å¡«ï¼å¦æä¸éè¦è®¡é卿ä¸å¿
å¡«.1ï¼éè¦ï¼0ï¼ä¸éè¦", example = "0") |
| | | private Integer equipmentMeasurement; |
| | | |
| | | @ApiModelProperty(value = "è®¡éæªæ¢æææï¼ä¸equipmentMeasurementç¸å
³è", example = "12") |
| | | private Integer termValidity; |
| | | |
| | | @ApiModelProperty(value = "æè¿°", example = "ç¯çææäºï¼ï¼ï¼") |
| | | private String descriptiveness; |
| | | |
| | | @JsonIgnore |
| | | @TableLogic(value = "1", delval = "0") |
| | | @ApiModelProperty(value = "é»è¾å é¤ æ£å¸¸>=1,å é¤<=0", hidden = true) |
| | | private Integer state; |
| | | |
| | | @TableField(fill = FieldFill.INSERT) |
| | | @ApiModelProperty(value = "å建æ¶é´", hidden = true) |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date createTime; |
| | | |
| | | @JsonIgnore |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | @ApiModelProperty(value = "æ´æ°æ¶é´", hidden = true) |
| | | private Date updateTime; |
| | | |
| | | @JsonIgnore |
| | | @ApiModelProperty(value = "ä¹è§é", hidden = true) |
| | | private Integer version; |
| | | |
| | | } |