package com.bcxin.api.interfaces.identities.valueTypes;

import com.bcxin.Infrastructures.entities.ValueType;
import lombok.Data;

@Data
public class WechatCgiBinSubject extends ValueType {
    private String openId;
    private String unionId;
    private String tenantUserId;

    public static WechatCgiBinSubject create(String openId,String unionId,String tenantUserId){
        WechatCgiBinSubject subject = new WechatCgiBinSubject();
        subject.setOpenId(openId);
        subject.setUnionId(unionId);
        subject.setTenantUserId(tenantUserId);

        return subject;
    }
}
