package com.ruoyi.lims.pojo; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.io.Serializable; import java.math.BigDecimal; import java.time.LocalDate; import java.time.LocalDateTime; @Data @TableName("lims_interface_field") public class InterfaceField implements Serializable { private static final long serialVersionUID = 1L; @ApiModelProperty(value = "ID") @TableId(value = "id", type = IdType.AUTO) private Long id; @ApiModelProperty(value = "Interface id") private Long interfaceId; @ApiModelProperty(value = "Interface code") private String interfaceCode; @ApiModelProperty(value = "Source field name") private String sourceField; @ApiModelProperty(value = "JSON path") private String sourcePath; @ApiModelProperty(value = "Target field") private String targetField; @ApiModelProperty(value = "Transform: none/multiply/offset/divide/map") private String transformType; @ApiModelProperty(value = "Transform value") private String transformValue; @ApiModelProperty(value = "Default value") private String defaultValue; @ApiModelProperty(value = "Sort") private Integer sortNo; @ApiModelProperty(value = "Remark") private String remark; @ApiModelProperty(value = "Delete flag") private String delFlag; @ApiModelProperty(value = "Tenant id") @TableField(fill = FieldFill.INSERT) private Long tenantId; @ApiModelProperty(value = "Create time") @TableField(fill = FieldFill.INSERT) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime createTime; @ApiModelProperty(value = "Create user") @TableField(fill = FieldFill.INSERT) private Integer createUser; @ApiModelProperty(value = "Update time") @TableField(fill = FieldFill.INSERT_UPDATE) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime updateTime; @ApiModelProperty(value = "Update user") @TableField(fill = FieldFill.INSERT_UPDATE) private Integer updateUser; }