tijian_tieying/web/dccdc.hujiao/Models/PD_XX.cs
2025-02-20 12:14:39 +08:00

68 lines
1.6 KiB
C#

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