lyh
2025-01-17 73f636092a4de604e5308a9a851f504d60a4c003
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
package org.jeecg.modules.dnc.entity;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.jeecg.common.aspect.annotation.Dict;
 
import java.math.BigDecimal;
import java.util.Date;
/**
 * @Description: 部件
 * @author clown
 */
@Data
@NoArgsConstructor
@TableName(value = "nc_component_info")
@ApiModel(value = "部件管理")
public class ComponentInfo {
    @TableId(value = "component_id")
    private String componentId;
    @TableField(value = "parent_id")
    private String parentId;
    @TableField(value = "product_id")
    private String productId;
    @TableField(value = "component_name")
    private String componentName;
    @TableField(value = "materiel_code")
    private String materielCode;
    @TableField(value = "materiel_desp")
    private String materielDesp;
    @TableField(value = "component_model")
    private String componentModel;
    @TableField(value = "component_scale")
    private String componentScale;
    @TableField(value = "component_weight")
    private BigDecimal componentWeight;
    @TableField(value = "rank_level")
    private Integer rankLevel;
    @TableField(value = "assemble_type")
    private Integer assembleType;
    @TableField(value = "produce_type")
    private Integer produceType;
    @TableField(value = "process_type")
    private Integer processType;
    @TableField(value = "structure_type")
    private Integer structureType;
    @TableField(value = "component_code")
    private String componentCode;
    @TableField(value = "component_status")
    private Integer componentStatus;
    @TableField(value = "description")
    private String description;
 
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;
    @TableField(value = "create_by",fill = FieldFill.INSERT)
    @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname")
    private String createBy;
    @TableField(value = "update_by", fill = FieldFill.UPDATE)
    @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname")
    private String updateBy;
    @JsonIgnore
    @TableLogic
    @TableField(value = "delete_flag", select = false)
    private Integer deleteFlag = 0;
 
    //创建人
    private transient String createName;
    //更新人
    private transient String updateName;
}