| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- package com.coffee.bus.entity;
- import com.baomidou.mybatisplus.annotation.FieldFill;
- import com.baomidou.mybatisplus.annotation.TableField;
- import com.baomidou.mybatisplus.annotation.TableLogic;
- import com.baomidou.mybatisplus.annotation.TableName;
- import com.coffee.common.config.mybatis.DateToBigIntHandler;
- import com.coffee.common.entity.GenericEntity;
- import com.coffee.common.entity.TenantGenericEntity;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import io.swagger.annotations.ApiModelProperty;
- import lombok.Data;
- import org.apache.poi.hpsf.Decimal;
- import java.math.BigDecimal;
- import java.util.Date;
- /**
- * @author 龙三郎
- * @version 1.0.0
- * @ClassName BusDeviceUseEntity.java
- * @Description TODO
- * @createTime 2022年03月30日 11:01:00
- */
- @Data
- @TableName("bus_device_used")
- public class BusDeviceUsedEntity extends TenantGenericEntity<String,String> {
- @ApiModelProperty("临床id")
- private String clinicId;
- @ApiModelProperty("设备id")
- private String deviceId;
- private String patientId;
- private Short useStatus;
- @TableField(typeHandler = DateToBigIntHandler.class)
- @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
- private Date startTime;
- @TableField(typeHandler = DateToBigIntHandler.class)
- @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
- private Date endTime;
- @TableField(typeHandler = DateToBigIntHandler.class)
- @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
- private Date startUseTime;
- @TableField(typeHandler = DateToBigIntHandler.class)
- @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
- private Date endUseTime;
- private String classification;
- private Integer dataNumber;
- private Integer dataTotal;
- @TableField(typeHandler = DateToBigIntHandler.class)
- @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
- private Date lastReceiveTime;
- private String pumpType;
- private String patientCode;
- private String ward;
- private String bedNo;
- private Integer totalDose;
- private BigDecimal finishedDose;
- private BigDecimal flow;
- private Integer firstDose;
- private BigDecimal singleDose;
- private Integer lockTime;
- private Integer pcaValid;
- private Integer pcaInvalid;
- private BigDecimal maxDose;
- private Integer electricQuantity;
- private Double maxFlow;
- private Double minFlow;
- private Integer flowAdjustRate;
- private Integer flowUpPcaValid;
- private Double flowUpTime;
- private Double flowDownTime;
- private Integer warnFlow;
- private Integer pluseDose;
- private Integer pluseLockTime;
- private Integer pluseFirstLockTime;
- private Integer runStatus;
- private Integer alarmStatus;
- private Short warnWillFinished;
- private Short warnAnalgesicPoor;
- private Short warnLowBattery;
- @TableField(typeHandler = DateToBigIntHandler.class,fill = FieldFill.INSERT)
- @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
- private Date createTime;
- @TableField(fill = FieldFill.INSERT)
- private String createBy;
- @TableField(typeHandler = DateToBigIntHandler.class,fill = FieldFill.UPDATE)
- @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
- private Date updateTime;
- @TableField(fill = FieldFill.INSERT_UPDATE)
- private String updateBy;
- @TableField(fill = FieldFill.INSERT)
- @TableLogic(value = "0",delval = "1")
- private Integer isDelete;
- }
|