基线 SVN r240
SVN-Revision: r240
This commit is contained in:
@@ -0,0 +1,83 @@
|
||||
/***********************
|
||||
* 说明:PDF签名模型 (P_PDFSignTab)
|
||||
* 创建人:龚宇超
|
||||
* 创建日期:2018-06-08
|
||||
* 修改人:
|
||||
* 修改日期:
|
||||
* 修改备注:
|
||||
* 版本:1.0.0.0
|
||||
***********************/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
|
||||
namespace Lskj.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// Class PdfSignModel.
|
||||
/// </summary>
|
||||
public class PdfSignModel
|
||||
{
|
||||
/// <summary>
|
||||
/// PDf附件Id
|
||||
/// </summary>
|
||||
/// <value>The file identifier.</value>
|
||||
public int FileId { get; set; }
|
||||
/// <summary>
|
||||
/// 单据编号
|
||||
/// </summary>
|
||||
/// <value>The bill doucument identifier.</value>
|
||||
public string BillDocumentId { get; set; }
|
||||
/// <summary>
|
||||
/// 单据明细编号
|
||||
/// </summary>
|
||||
/// <value>The bill deatil identifier.</value>
|
||||
public string BillDeatilId { get; set; }
|
||||
/// <summary>
|
||||
/// 进度编号
|
||||
/// </summary>
|
||||
/// <value>The step code.</value>
|
||||
public string StepCode { get; set; }
|
||||
/// <summary>
|
||||
/// 用户编号
|
||||
/// </summary>
|
||||
/// <value>The operator identifier.</value>
|
||||
public int OperatorId { get; set; }
|
||||
/// <summary>
|
||||
/// 签名图片流
|
||||
/// </summary>
|
||||
/// <value>The pic stream.</value>
|
||||
public byte[] PicStream { get; set; }
|
||||
/// <summary>
|
||||
/// 图片X坐标
|
||||
/// </summary>
|
||||
/// <value>The image x.</value>
|
||||
public float ImageX { get; set; }
|
||||
/// <summary>
|
||||
/// 图形Y坐标
|
||||
/// </summary>
|
||||
/// <value>The image y.</value>
|
||||
public float ImageY { get; set; }
|
||||
/// <summary>
|
||||
/// 页码
|
||||
/// </summary>
|
||||
/// <value>The page no.</value>
|
||||
public int PageNo { get; set; }
|
||||
|
||||
|
||||
public PdfSignModel(DataRow rowItem)
|
||||
{
|
||||
if(rowItem==null) return;
|
||||
this.BillDocumentId = rowItem["BillId"]+"";
|
||||
this.FileId = string.IsNullOrEmpty(rowItem["FileId"] + "") ? 0 : Convert.ToInt32(rowItem["FileId"]);
|
||||
this.BillDeatilId = rowItem["BillDetailId"] + "";
|
||||
this.ImageX =float.Parse(rowItem["ImageX"]+"");
|
||||
this.ImageY = float.Parse(rowItem["ImageY"]+"");
|
||||
this.PageNo = string.IsNullOrEmpty(rowItem["Page"] + "") ? 0 : Convert.ToInt32(rowItem["Page"]);
|
||||
this.PicStream = (byte[])rowItem["Image"];
|
||||
this.StepCode = rowItem["StepCode"] + "";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user