package com.bcxin.tenant.domain.snapshots;

import lombok.Data;

import java.io.Serializable;

@Data
public class TenantUserCreatedSnapshot implements Serializable {
    private String id;
    private String name;
    private String telephone;

    public TenantUserCreatedSnapshot(){}

    public static TenantUserCreatedSnapshot create(String id, String name, String telephone) {
        TenantUserCreatedSnapshot snapshot = new TenantUserCreatedSnapshot();
        snapshot.setId(id);
        snapshot.setName(name);
        snapshot.setTelephone(telephone);

        return snapshot;
    }
}
