gaoluyang
2026-09-30 3fe4995d397ddba927f50807f2ac1a1d7fb7c0b2
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
package com.ruoyi.basic.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.io.Serializable;
import java.time.LocalDateTime;
 
@Data
@TableName("product_part")
public class ProductPart implements Serializable {
 
    @TableId(type = IdType.AUTO)
    private Integer id;
 
    @Schema(description = "产品id")
    private Integer productId;
 
    @Schema(description = "零件号")
    private String partNo;
 
    @Schema(description = "颜色")
    private String color;
 
    @Schema(description = "色标")
    private String colorCode;
 
    @Schema(description = "创建人id")
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
 
 
    @Schema(description = "修改人id")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
 
    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
 
    @Schema(description = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
 
}