zhangherong
2025-06-25 23855599412c4d61b38d78f0f3abd3430a48b5b1
lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/entity/DeviceInfo.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,57 @@
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.Api;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
/**
 * @Description: è®¾å¤‡
 * @author clown
 */
@Data
@NoArgsConstructor
@TableName(value = "nc_device_info")
@Api(tags = "设备表")
public class DeviceInfo {
    @TableId(value = "device_id")
    private String deviceId;
    @TableField(value = "group_id")
    private String groupId;
    @TableField(value = "device_no")
    private String deviceNo;
    @TableField(value = "device_name")
    private String deviceName;
    @TableField(value = "control_system")
    private String controlSystem;
    @TableField(value = "device_model")
    private String deviceModel;
    @TableField(value = "link_ip")
    private String linkIp;
    @TableField(value = "link_port")
    private Integer linkPort;
    @TableField(value = "depart_id")
    private String departId;
    @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)
    private String createBy;
    @TableField(value = "update_by", fill = FieldFill.UPDATE)
    private String updateBy;
    @JsonIgnore
    @TableLogic
    @TableField(value = "delete_flag", select = false)
    private Integer deleteFlag = 0;
    @TableField(exist = false)
    private String groupName;
    @TableField(exist = false)
    private String departName;
}