using SqlSugar;

namespace OpenAuth.Repository.Domain.FireManagement
{
    /// <summary>
    /// 上下线记录
    /// </summary>
    [SugarTable("fm_onoffline")]
    public class FmOnOffLine
    {
        /// <summary>
        /// id 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public long Id { get; set; }

        /// <summary>
        /// 人员id或者对讲机account
        /// </summary>
        public string IdentifyId { get; set; }
        /// <summary>
        /// 上下线时间
        /// </summary>
        public DateTime OnOffTime { get; set; }
        /// <summary>
        /// 人员姓名或者对讲机account
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 山下线标识  true上线，false下线
        /// </summary>
        public bool Type { get; set; }
    }
}
