package com.bcxin.tenant.domain.repositories.dtos;

import lombok.Data;

import javax.persistence.Entity;

/**
 * @author linqinglin
 * @date 2021/12/10 0010 14:56
 */
@Data
public class OrgRelationDto {

    private String relationId;

    private String orgName;

    private String unifySocialCreditCode;

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

    public OrgRelationDto(Long relationId,String orgName,String unifySocialCreditCode){
        this.relationId = relationId.toString();
        this.orgName = orgName;
        this.unifySocialCreditCode = unifySocialCreditCode;
    }
}
