using Nirvana.Common.ApiBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YBDevice.Entity;

namespace YBDevice.NApi.Application.ThirdClient.Family
{
    /// <summary>
    /// 家庭成员管理
    /// </summary>
    public interface IOpenFamilyService
    {
        /// <summary>
        /// 获取家庭成员列表
        /// </summary>
        /// <returns></returns>
        Task<ResultInfo> GetListAsync();
        /// <summary>
        /// 修改家庭成员资料
        /// </summary>
        /// <returns></returns>
        Task<ResultInfo> SubmitAsync(FamilySubmitC2SDto data);
        /// <summary>
        /// 加载默认头像
        /// </summary>
        /// <param name="sex">性别,1-男,2-女</param>
        /// <param name="type">类型,1-成人,2-儿童</param>
        /// <returns></returns>
        string HeadImg(GenderType sex, int type);
    }
}
