using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using YBDevice.Entity;

namespace YBDevice.NApi.Application
{
    /// <summary>
    /// 添加用户使用过的设备类型
    /// </summary>
    public class RegUserDevTypeS2SDto
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 设备类型
        /// </summary>
        public int DevType { get; set; }
    }
    /// <summary>
    /// 删除用户资料
    /// </summary>
    public class DeleteUserDataS2SDto
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 家庭成员ID
        /// </summary>
        public int FamilyId { get; set; }
        /// <summary>
        /// 记录ID
        /// </summary>
        public Guid ResultId { get; set; }
        /// <summary>
        /// 设备类型
        /// </summary>
        public int DevType { get; set; }
        /// <summary>
        /// 测量时间
        /// </summary>
        public DateTime time { get; set; }
    }
    /// <summary>
    /// 邮件发送
    /// </summary>
    public class SendEmailS2SDto
    {
        /// <summary>
        /// 邮件标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 邮件链接
        /// </summary>
        public string Url { get; set; }
        /// <summary>
        /// 接收人
        /// </summary>
        public string ToUser { get; set; }
    }
    /// <summary>
    /// 订阅消息发送
    /// </summary>
    public class SendSubscribeMessageS2SDto
    {
        /// <summary>
        /// 小程序appid
        /// </summary>
        public string AppId { get; set; }

        /// <summary>
        /// 用户openid
        /// </summary>
        public string OpenId { get; set; }
        /// <summary>
        /// 模板ID
        /// </summary>
        public string TplId { get; set; }
        /// <summary>
        /// 是否为总是
        /// </summary>
        public bool IsAlWays { get; set; } = false;
        /// <summary>
        /// 消息ID
        /// </summary>
        public Guid Id { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { get; set; }
    }
}
