You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
169 lines
4.3 KiB
169 lines
4.3 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Volo.Abp.Domain.Entities.Auditing;
|
|
using Volo.Abp.Domain.Entities;
|
|
using Org.BouncyCastle.Crypto.Tls;
|
|
|
|
namespace Shentun.Peis.Models
|
|
{
|
|
|
|
/// <summary>
|
|
/// 第三方预约人员记录
|
|
/// </summary>
|
|
[Table("third_booking")]
|
|
public class ThirdBooking : AuditedEntity<Guid>, IHasConcurrencyStamp
|
|
{
|
|
public ThirdBooking() { }
|
|
|
|
public ThirdBooking(Guid id) : base(id)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// 姓名
|
|
/// </summary>
|
|
[Column("patient_name")]
|
|
[StringLength(100)]
|
|
public string PatientName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 单位分组ID
|
|
/// </summary>
|
|
[Column("customer_org_group_id")]
|
|
[StringLength(50)]
|
|
public string CustomerOrgGroupId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 第三方体检中心Id
|
|
/// </summary>
|
|
[Column("third_medical_center_id")]
|
|
[StringLength(50)]
|
|
public string ThirdMedicalCenterId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 身份证类型( 0 身份证 )
|
|
/// </summary>
|
|
[StringLength(2)]
|
|
[Column("id_type")]
|
|
public string IdType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 身份证
|
|
/// </summary>
|
|
[StringLength(18)]
|
|
[Column("id_no")]
|
|
public string IdNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 性别
|
|
/// </summary>
|
|
[StringLength(2)]
|
|
[Column("sex_name")]
|
|
public string SexName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 年龄
|
|
/// </summary>
|
|
[Column("age")]
|
|
public short Age { get; set; }
|
|
|
|
/// <summary>
|
|
/// 预约日期
|
|
/// </summary>
|
|
[Column("booking_date")]
|
|
public DateTime BookingDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// 电话
|
|
/// </summary>
|
|
[StringLength(20)]
|
|
[Column("phone")]
|
|
public string Phone { get; set; }
|
|
|
|
/// <summary>
|
|
/// 分公司
|
|
/// </summary>
|
|
[StringLength(100)]
|
|
[Column("child_company_name")]
|
|
public string ChildCompanyName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 部门
|
|
/// </summary>
|
|
[StringLength(100)]
|
|
[Column("department_name")]
|
|
public string DepartmentName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 岗位类别
|
|
/// </summary>
|
|
[StringLength(100)]
|
|
[Column("position_name")]
|
|
public string PositionName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否在职 0:在职,1:退休
|
|
/// </summary>
|
|
[StringLength(1)]
|
|
[Column("emp_status")]
|
|
public string EmpStatus { get; set; }
|
|
|
|
/// <summary>
|
|
///婚姻状况 0:未婚、1:已婚
|
|
/// </summary>
|
|
[StringLength(1)]
|
|
[Column("marital_status")]
|
|
public string MaritalStatus { get; set; }
|
|
|
|
/// <summary>
|
|
/// 体检状态 0未开始 1已登记 2已完成体检 3已推送报告
|
|
/// </summary>
|
|
[Column("medical_status")]
|
|
public char MedicalStatus { get; set; }
|
|
|
|
/// <summary>
|
|
/// ICode
|
|
/// </summary>
|
|
[Column("icode")]
|
|
public string ICode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 来源渠道 0 测试环境 1 正式环境
|
|
/// </summary>
|
|
[Column("source_channel")]
|
|
[StringLength(1)]
|
|
public string SourceChannel { get; set; }
|
|
|
|
/// <summary>
|
|
/// 预约类型 1 线上预约 2 电话预约 3 门店预约 4 团体(上门)预约 5 其它
|
|
/// </summary>
|
|
[Column("booking_type")]
|
|
[StringLength(1)]
|
|
public string BookingType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 到检方式 1 到店体检 2 团体(上门)体检
|
|
/// </summary>
|
|
[Column("confirm_type")]
|
|
[StringLength(1)]
|
|
public string ConfirmType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 岗位名称
|
|
/// </summary>
|
|
[StringLength(100)]
|
|
[Column("position2")]
|
|
public string Position2 { get; set; }
|
|
|
|
[Column("concurrency_stamp")]
|
|
public string ConcurrencyStamp { get; set; }
|
|
|
|
|
|
|
|
}
|
|
}
|