Newer
Older
huludao / src / main / java / com / newfiber / api / pc / model / hikvsion / RegionStation.java
package com.newfiber.api.pc.model.hikvsion;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName PreStation  摄像头资源所属区域维护
 * @Description TODO
 * @Author 张鸿志
 * @Date 2021年3月4日20:12:35 20:12
 * Version 1.0
 **/
@Data
@TableName("region_station")
public class RegionStation implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField("name")
    private String name;
    @TableField("region_index_code")
    private String regionIndexCode;

    @TableField("parent_index_code")
    private String parentIndexCode;
    @TableField("tree_code")
    private String treeCode;

    @TableField(exist = false)
    private Integer total;
    @TableField(exist = false)
    private Integer onlineCount;
    @TableField(exist = false)
    private Integer noOnlineCount;


    @TableField(exist = false)
    private List<RegionStation> childern;
}