tuqin
2026-10-29 0a3129cb06fcea6677245097715dcc6fa3de65e5
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
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;
 
}