コード例 #1
0
ファイル: LableManageOut.cs プロジェクト: jijiliyugou/xiangmu
 /// <summary>
 /// 输出模型
 /// </summary>
 /// <param name="LableManageDto"></param>
 /// <param name="LableManageInfo"></param>
 /// <param name="relation"></param>
 public LableManageOut(PagedResultDto <LableManage> LableManageDto, LableManageIn LableManageInfo, IList <DoctorRelation> relation)
 {
     Item           = LableManageDto.Items.Select(t => new LableManagePageDetail(t, relation)).ToList();
     TotalCount     = LableManageDto.TotalCount;
     TotalPage      = LableManageDto.TotalCount / LableManageInfo.MaxResultCount;
     SkipCount      = LableManageInfo.SkipCount;
     MaxResultCount = LableManageInfo.MaxResultCount;
 }
コード例 #2
0
ファイル: LableManageOut.cs プロジェクト: jijiliyugou/xiangmu
 /// <summary>
 /// 输出模型
 /// </summary>
 /// <param name="LableManageDto"></param>
 /// <param name="LableManageInfo"></param>
 public LableManageOut(PagedResultDto <LableManage> LableManageDto, LableManageIn LableManageInfo)
 {
     Items          = LableManageDto.Items;
     TotalCount     = LableManageDto.TotalCount;
     TotalPage      = LableManageDto.TotalCount / LableManageInfo.MaxResultCount;
     SkipCount      = LableManageInfo.SkipCount;
     MaxResultCount = LableManageInfo.MaxResultCount;
 }