using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YBDevice.Entity.DataModel.ThirdOpen
{
    /// <summary>
    /// 家庭成员
    /// </summary>
    [SugarTable("T_Family", TableDescription = "家庭成员", IsDisabledUpdateAll = false, IsDisabledDelete = true)]
    public class T_Family
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public Guid Id { get; set; }

        /// <summary>
        /// 用户昵称
        /// </summary>
        [SugarColumn(ColumnDescription = "昵称", ColumnDataType = "nvarchar(100)")]
        public string Name { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        [SugarColumn(ColumnDescription = "头像", ColumnDataType = "varchar(200)")]
        public string HeadImg { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        [SugarColumn(ColumnDescription = "用户ID")]
        public Guid UserId { get; set; }
        /// <summary>
        /// 注册时间
        /// </summary>
        [SugarColumn(ColumnDescription = "注册时间")]
        public DateTime CreateTime { get; set; }
    }
}
