/*********************** * 说明: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 { /// /// Class PdfSignModel. /// public class PdfSignModel { /// /// PDf附件Id /// /// The file identifier. public int FileId { get; set; } /// /// 单据编号 /// /// The bill doucument identifier. public string BillDocumentId { get; set; } /// /// 单据明细编号 /// /// The bill deatil identifier. public string BillDeatilId { get; set; } /// /// 进度编号 /// /// The step code. public string StepCode { get; set; } /// /// 用户编号 /// /// The operator identifier. public int OperatorId { get; set; } /// /// 签名图片流 /// /// The pic stream. public byte[] PicStream { get; set; } /// /// 图片X坐标 /// /// The image x. public float ImageX { get; set; } /// /// 图形Y坐标 /// /// The image y. public float ImageY { get; set; } /// /// 页码 /// /// The page no. 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"] + ""; } } }