package com.bcxin.api.interfaces.tenants.responses;

import com.bcxin.api.interfaces.ResponseAbstract;
import lombok.Data;

/**
 * @author linqinglin
 * @date 2021/12/10 0010 13:40
 */
@Data
public class OrgRelationResponse extends ResponseAbstract {

    private String relationId;

    private String orgName;

    private String unifySocialCreditCode;

    public OrgRelationResponse(String relationId,String orgName,String unifySocialCreditCode){
        this.relationId = relationId;
        this.orgName = orgName;
        this.unifySocialCreditCode = unifySocialCreditCode;
    }

    public static OrgRelationResponse create(String relationId, String orgName, String unifySocialCreditCode) {
        return new OrgRelationResponse(relationId,orgName,unifySocialCreditCode);
    }
}
