using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; namespace dccdc.hujiao.Models { /// /// 排队信息 /// public class PD_XX { /// /// 主键 /// public int id { get; set; } /// /// 排队日期 /// [DisplayName("开始排队时间")] public DateTime rq { get; set; } /// /// 号码 /// [DisplayName("排队号码")] public int hm { get; set; } [DisplayName("排队号码")] public string ddsj { get { var t = DateTime.Now - rq; if (t.Hours > 0) { return t.Hours + "小时" + t.Minutes + "分钟"; } else { return t.Minutes + "分钟"; } } } /// /// 叫号标志 0未叫 1 已叫 -1已经取消 2过号 /// public byte jhbz { get; set; } /// /// 叫号时间 /// public DateTime? jhsj { get; set; } /// /// 叫号窗口ID /// public int jhck { get; set; } /// /// 叫号窗口名称 /// public string jhckmc { get; set; } /// /// 儿童编码 自助机叫号传0 /// public int etid { get; set; } } }