wangzhibo
2026-08-30 c8515170fd399b4d2dfaebb59128d4674e58915e
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
package xiaozhi.modules.device.entity;
 
import java.util.Date;
 
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 io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
 
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ai_ota")
@Schema(description = "固件信息")
public class OtaEntity {
 
    @TableId(type = IdType.ASSIGN_UUID)
    @Schema(description = "ID")
    private String id;
 
    @Schema(description = "固件名称")
    private String firmwareName;
 
    @Schema(description = "固件类型")
    private String type;
 
    @Schema(description = "版本号")
    private String version;
 
    @Schema(description = "文件大小(字节)")
    private Long size;
 
    @Schema(description = "备注/说明")
    private String remark;
 
    @Schema(description = "固件路径")
    private String firmwarePath;
 
    @Schema(description = "排序")
    private Integer sort;
 
    @Schema(description = "更新者")
    @TableField(fill = FieldFill.UPDATE)
    private Long updater;
 
    @Schema(description = "更新时间")
    @TableField(fill = FieldFill.UPDATE)
    private Date updateDate;
 
    @Schema(description = "创建者")
    @TableField(fill = FieldFill.INSERT)
    private Long creator;
 
    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createDate;
}