using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Data.Linq.Mapping;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PTMedicalInsurance.Entity.Base.Clearing
{
public class QueryOutOfAreaClearingDetailsInput : EntityBase
{
///
/// 结算年度, 必填
///
[Column(Name = "TrtYear", CanBeNull = false, DbType = "VarChar(4)")]
[StringLength(4)]
[DisplayName("结算年度")]
public string trt_year { get; set; }
///
/// 结算月份, 格式为:MM 如1月为01, 必填
///
[Column(Name = "TrtMonth", CanBeNull = false, DbType = "VarChar(2)")]
[StringLength(2)]
[DisplayName("结算月份")]
public string trt_month { get; set; }
///
/// 开始行数, 必填
///
[Column(Name = "StartRow", CanBeNull = false, DbType = "Int")]
[DisplayName("开始行数")]
public int startrow { get; set; }
}
public class QueryOutOfAreaClearingDetailsOutput : EntityBase
{
///
/// 顺序号, 必填
///
[Column(Name = "SeqNo", CanBeNull = false, DbType = "Int")]
[DisplayName("顺序号")]
public int SeqNo { get; set; }
///
/// 就医地医保区划, 地市编码, 必填
///
[Column(Name = "MdtrtArea", CanBeNull = false, DbType = "VarChar(6)")]
[StringLength(6)]
[DisplayName("就医地医保区划")]
public string MdtrtArea { get; set; }
///
/// 医疗机构编号, 按照省统一编码, 必填
///
[Column(Name = "MedinsNo", CanBeNull = false, DbType = "VarChar(22)")]
[StringLength(22)]
[DisplayName("医疗机构编号")]
public string MedinsNo { get; set; }
///
/// 证件号码, 必填
///
[Column(Name = "CertNo", CanBeNull = false, DbType = "VarChar(18)")]
[StringLength(18)]
[DisplayName("证件号码")]
public string CertNo { get; set; }
///
/// 就诊登记号, 就诊业务标识’S’+参保地统筹地市区编号(6 位)+ 日期(6 位YYMMDD)+流水号 (7 位), 必填
///
[Column(Name = "MdtrtId", CanBeNull = false, DbType = "VarChar(20)")]
[StringLength(20)]
[DisplayName("就诊登记号")]
public string MdtrtId { get; set; }
///
/// 就诊结算时间, 格式:yyyy-MM-dd HH:mm:ss, 必填
///
[Column(Name = "MdtrtSetlTime", CanBeNull = false, DbType = "DateTime")]
[DisplayName("就诊结算时间")]
public DateTime MdtrtSetlTime { get; set; }
///
/// 结算流水号, 费用结算交易的返回的结算业务号, 结算业务标识’A’+参保地统筹地市区编号(6 位)+ 日期(6 位YYMMDD)+流水号 (7 位), 必填
///
[Column(Name = "SetlSn", CanBeNull = false, DbType = "VarChar(30)")]
[StringLength(30)]
[DisplayName("结算流水号")]
public string SetlSn { get; set; }
///
/// 全额垫付标志, 0-医院报销,1-零星报销, 必填
///
[Column(Name = "FulamtAdvpayFlag", CanBeNull = false, DbType = "VarChar(3)")]
[StringLength(3)]
[DisplayName("全额垫付标志")]
public string FulamtAdvpayFlag { get; set; }
///
/// 总费用, 必填
///
[Column(Name = "MedfeeSumamt", CanBeNull = false, DbType = "Decimal(16,2)")]
[DisplayName("总费用")]
public decimal MedfeeSumamt { get; set; }
///
/// 经办机构支付总额, 必填
///
[Column(Name = "OptinsPaySumamt", CanBeNull = false, DbType = "Decimal(16,2)")]
[DisplayName("经办机构支付总额")]
public decimal OptinsPaySumamt { get; set; }
}
}