liding
3 天以前 49e1bc66ebaf696ebd3fc3ed33d65c8795fd3cde
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
package com.ruoyi.business.entity;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.ruoyi.common.core.domain.MyBaseEntity;
 
import java.math.BigDecimal;
import java.time.LocalDate;
 
/**
 * 设备管理表  实体类
 *
 * @author ld
 * @date 2025-07-01
 */
@Data
@TableName("equipment_management")
public class EquipmentManagement extends MyBaseEntity {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 主键 ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 设备编号
     */
    @TableField(value = "equipment_id")
    private String equipmentId;
    /**
     * 设备名称
     */
    @TableField(value = "equipment_name")
    private String equipmentName;
    /**
     * 数量
     */
    @TableField(value = "quantity")
    private Integer quantity;
    /**
     * 规格型号
     */
    @TableField(value = "specification")
    private String specification;
    /**
     * 使用状态
     */
    @TableField(value = "usage_status")
    private String usageStatus;
    /**
     * 使用部门
     */
    @TableField(value = "using_department")
    private String usingDepartment;
    /**
     * 使用人ID
     */
    @TableField(value = "user_id")
    private Long userId;
    /**
     * 存放位置
     */
    @TableField(value = "storage_location")
    private String storageLocation;
    /**
     * 采购日期
     */
    @TableField(value = "purchase_date")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate purchaseDate;
    /**
     * 采购价格
     */
    @TableField(value = "purchase_price")
    private BigDecimal purchasePrice;
}