package com.kfzs.duanduan.data.graph.provider.channel;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

/**
 * 渠道
 *
 * @author kemllor
 * @date 2017/6/15   11:27
 **/

@Entity
public class Channel {
    @Id
    private Long mId;

    /**
     * 渠道名称
     */
    @Property(nameInDb = "channel_name")
    private String mChannelName;

    /**
     * 渠道编号
     */
    @Property(nameInDb = "channel_num")
    private String mChannelNum;

    public String getMChannelNum() {
        return this.mChannelNum;
    }

    public void setMChannelNum(String mChannelNum) {
        this.mChannelNum = mChannelNum;
    }

    public String getMChannelName() {
        return this.mChannelName;
    }

    public void setMChannelName(String mChannelName) {
        this.mChannelName = mChannelName;
    }

    public Long getMId() {
        return this.mId;
    }

    public void setMId(Long mId) {
        this.mId = mId;
    }

    @Generated(hash = 2031118623)
    public Channel(Long mId, String mChannelName, String mChannelNum) {
        this.mId = mId;
        this.mChannelName = mChannelName;
        this.mChannelNum = mChannelNum;
    }

    @Generated(hash = 459652974)
    public Channel() {
    }
}
