Channel.java 4.41 KB
package com.viontech.fanxing.commons.model;

import com.viontech.fanxing.commons.base.BaseModel;

import java.util.Date;
import java.util.List;

public class Channel extends BaseModel {
    private Long id;

    private String unid;

    private String channelUnid;

    private String deviceUnid;

    private Integer type;

    private Integer streamType;

    private String streamPath;

    private String username;

    private String password;

    private String brand;

    private String direction;

    private String addressUnid;

    private String name;

    private String ip;

    private Integer port;

    private String expand;

    private Float longitude;

    private Float latitude;

    private Integer status;

    private Date createTime;

    private String deviceType;

    private List<String> tags;

    public List<String> getTags() {
        return tags;
    }

    public Channel setTags(List<String> tags) {
        this.tags = tags;
        return this;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUnid() {
        return unid;
    }

    public void setUnid(String unid) {
        this.unid = unid == null ? null : unid.trim();
    }

    public String getChannelUnid() {
        return channelUnid;
    }

    public void setChannelUnid(String channelUnid) {
        this.channelUnid = channelUnid == null ? null : channelUnid.trim();
    }

    public String getDeviceUnid() {
        return deviceUnid;
    }

    public void setDeviceUnid(String deviceUnid) {
        this.deviceUnid = deviceUnid == null ? null : deviceUnid.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStreamType() {
        return streamType;
    }

    public void setStreamType(Integer streamType) {
        this.streamType = streamType;
    }

    public String getStreamPath() {
        return streamPath;
    }

    public void setStreamPath(String streamPath) {
        this.streamPath = streamPath == null ? null : streamPath.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand == null ? null : brand.trim();
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction == null ? null : direction.trim();
    }

    public String getAddressUnid() {
        return addressUnid;
    }

    public void setAddressUnid(String addressUnid) {
        this.addressUnid = addressUnid == null ? null : addressUnid.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip == null ? null : ip.trim();
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getExpand() {
        return expand;
    }

    public void setExpand(String expand) {
        this.expand = expand == null ? null : expand.trim();
    }

    public Float getLongitude() {
        return longitude;
    }

    public void setLongitude(Float longitude) {
        this.longitude = longitude;
    }

    public Float getLatitude() {
        return latitude;
    }

    public void setLatitude(Float latitude) {
        this.latitude = latitude;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }
}