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 io.swagger.annotations.ApiModel;
|
import lombok.Data;
|
import lombok.NoArgsConstructor;
|
|
import java.util.Date;
|
|
@Data
|
@NoArgsConstructor
|
@TableName(value = "nc_device_group")
|
@ApiModel(value = "设备分组表")
|
public class DeviceGroup {
|
@TableId(value = "group_id")
|
private String groupId;
|
@TableField(value = "group_name")
|
private String groupName;
|
@TableField(value = "parent_id")
|
private String parentId;
|
@TableField(value = "rank_level")
|
private Integer rankLevel;
|
@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)
|
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;
|
|
}
|