package com.iotechn.unimall.data.domain.shop;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.iotechn.unimall.core.framework.aspectj.lang.annotaion.Excel;
import com.iotechn.unimall.core.framework.aspectj.lang.annotaion.Excel.ColumnType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.iotechn.unimall.core.util.StringUtils;
import java.util.Date;

/**
 * 电商账户表对象 shop_account
 * 
 * @author jlb
 * @date 2022-05-28
 */
@Data
@TableName("shop_account")
public class ShopAccount extends BaseDO{
    private static final long serialVersionUID = 1L;

    /**  */
    @TableId("id")
    private Long id;

    @Excel(name = "当当id")
    @TableField("dang_id")
    private String dangId;

    @Excel(name = "当当appkey")
    @TableField("dang_app_key")
    private String dangAppKey;
    @Excel(name = "当当appSecret")
    @TableField("dang_app_secret")
    private String dangAppSecret;
    @Excel(name = "当当session")
    @TableField("dang_session")
    private String dangSession;
    @Excel(name = "当当接口版本")
    @TableField("dang_version")
    private String dangVersion;
    @Excel(name = "当当店铺名称")
    @TableField("dang_name")
    private String dangName;
    @Excel(name = "当当运费模板")
    @TableField("dang_tran")
    private String dangTran;

    /** 夫子账号 */
    @Excel(name = "夫子账号id")
    @TableField("fuzi_id")
    private String fuziId;

    /** 夫子账号 */
    @Excel(name = "夫子账号")
    @TableField("fuzi_account")
    private String fuziAccount;

    /** 夫子密码 */
    @Excel(name = "夫子密码")
    @TableField("fuzi_password")
    private String fuziPassword;

    /** 夫子cookie */
    @Excel(name = "夫子cookie")
    @TableField("fuzi_cookie")
    private String fuziCookie;

    /** 备注 */
    @Excel(name = "备注")
    @TableField("remark")
    private String remark;

    /** 删除标识 */
    @Excel(name = "删除标识")
    @TableField("delete_flag")
    private Integer deleteFlag;

    /**  */
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField("gmt_create")
    private Date gmtCreate;

    /**  */
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField("gmt_update")
    private Date gmtUpdate;

    /**  */
    @Excel(name = "")
    @TableField("user_id")
    private Long userId;
    /**  */
    @TableField(exist = false)
    private String userName;
    /**  */
    @Excel(name = "")
    @TableField("admin_id")
    private Long adminId;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fuziAccount", getFuziAccount())
            .append("fuziPassword", getFuziPassword())
            .append("fuziCookie", getFuziCookie())
            .append("remark", getRemark())
            .append("deleteFlag", getDeleteFlag())
            .append("gmtCreate", getGmtCreate())
            .append("gmtUpdate", getGmtUpdate())
            .append("userId", getUserId())
            .append("adminId", getAdminId())
            .toString();
    }
}
