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

import com.bcxin.Infrastructures.enums.Sex;
import lombok.Getter;

@Getter
public class MyImContactDto {
    private final String id;
    private final String empId;
    private final String name;
    private final String headPhoto;
    private final String telephone;
    private final String imIdentity;
    private final Sex sex;

    public MyImContactDto(String id, String empId, String name, Sex sex, String headPhoto, String telephone, String imIdentity) {
        this.id = id;
        this.empId = empId;
        this.name = name;
        this.headPhoto = headPhoto;
        this.telephone = telephone;
        this.imIdentity = imIdentity;
        this.sex = sex;
    }

    public static MyImContactDto create(String id, String empId, String name, Sex sex, String headPhoto, String telephone, String imIdentity) {
        return new MyImContactDto(id, empId, name, sex, headPhoto, telephone, imIdentity);
    }
}
