package com.izouma.nineth.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;

@Data
@Entity
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AdapayMerchant extends BaseEntity {

    @Column(unique = true, length = 72)
    private String name;

    @Column(unique = true, length = 72)
    private String appId;

    private String apiKey;

    private String mockKey;

    @Column(columnDefinition = "TEXT")
    private String publicKey;

    @Column(columnDefinition = "TEXT")
    private String privKey;

    private String wxAppId;

    private String status;

    private boolean selected;

}
