using PoJun.Dapper;
using System;
using System.Collections.Generic;
using System.Text;

namespace ASHermed.SinoInterface.Api.ContractModel.App
{
    /// <summary>
	/// 患者用户关系表
	/// </summary>
	public class Pub_Map_User_Pat
    {
        /// <summary>
        /// 
        /// </summary>
        [Column("`Id`", ColumnKey.Primary, true)]
        public int Id { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int User_ID { get; set; }
        /// <summary>
        /// 患者id
        /// </summary>
        public int Pat_ID { get; set; }
        public bool Is_Deleted { get; set; }
        /// <summary>
        /// 用户-患者关系（1=绑定/2=家庭成员/4=临时预约/8=预约列表不显示）
        /// </summary>
        public int Relation_Ship { get; set; }

        /// <summary>
        /// 家庭成员关系：1-本人；2-父母；3-配偶；4-子女；5-朋友；6-其他
        /// </summary>
        public int Ties { get; set; }

        public DateTime? Create_Time { get; set; }
        public DateTime? Update_Time { get; set; }
    

    }
}
