package cn.freemud.entities.db;

import cn.freemud.comm.entity.BaseEntity;
import lombok.Data;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.util.Date;

/**
 * 商户
 *
 * @author liming.guo
 * @date 2018/05/10
 */
@Data
public class Partner extends BaseEntity {

    private Long id;
    /**
     * 商户ID
     */
    private String partnerId;
    /**
     * 商户的发送短信appid
     */
    private String msappId;
    /**
     * 商户名称
     */
    private String partnerName;
    /**
     * 商户联系方式
     */
    private String mobile;

    private Date gmtCreated;

    private Date gmtModified;

    @Override
    public String toString(){
        return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
    }

}
