package com.highdatas.mdm.entity;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
/**
*
*
*
*
* @author kimi
* @since 2019-12-16
*/
@TableName("customer")
public class Customer extends Model {
private static final long serialVersionUID = 1L;
private String id;
private String code;
private String name;
private String channelcode;
private String channelname;
public String getId() {
return id;
}
public Customer setId(String id) {
this.id = id;
return this;
}
public String getCode() {
return code;
}
public Customer setCode(String code) {
this.code = code;
return this;
}
public String getName() {
return name;
}
public Customer setName(String name) {
this.name = name;
return this;
}
public String getChannelcode() {
return channelcode;
}
public Customer setChannelcode(String channelcode) {
this.channelcode = channelcode;
return this;
}
public String getChannelname() {
return channelname;
}
public Customer setChannelname(String channelname) {
this.channelname = channelname;
return this;
}
@Override
protected Serializable pkVal() {
return this.id;
}
@Override
public String toString() {
return "Customer{" +
"id=" + id +
", code=" + code +
", name=" + name +
", channelcode=" + channelcode +
", channelname=" + channelname +
"}";
}
}