2024-03-11 合同发票修改
This commit is contained in:
+855
-13
@@ -1142,6 +1142,12 @@ namespace Model
|
||||
partial void InsertPHTGL_ContractTrackProgress(PHTGL_ContractTrackProgress instance);
|
||||
partial void UpdatePHTGL_ContractTrackProgress(PHTGL_ContractTrackProgress instance);
|
||||
partial void DeletePHTGL_ContractTrackProgress(PHTGL_ContractTrackProgress instance);
|
||||
partial void InsertPHTGL_Invoice(PHTGL_Invoice instance);
|
||||
partial void UpdatePHTGL_Invoice(PHTGL_Invoice instance);
|
||||
partial void DeletePHTGL_Invoice(PHTGL_Invoice instance);
|
||||
partial void InsertPHTGL_InvoiceDetail(PHTGL_InvoiceDetail instance);
|
||||
partial void UpdatePHTGL_InvoiceDetail(PHTGL_InvoiceDetail instance);
|
||||
partial void DeletePHTGL_InvoiceDetail(PHTGL_InvoiceDetail instance);
|
||||
partial void InsertPHTGL_MainProjectQuantity(PHTGL_MainProjectQuantity instance);
|
||||
partial void UpdatePHTGL_MainProjectQuantity(PHTGL_MainProjectQuantity instance);
|
||||
partial void DeletePHTGL_MainProjectQuantity(PHTGL_MainProjectQuantity instance);
|
||||
@@ -4791,6 +4797,22 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<PHTGL_Invoice> PHTGL_Invoice
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<PHTGL_Invoice>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<PHTGL_InvoiceDetail> PHTGL_InvoiceDetail
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.GetTable<PHTGL_InvoiceDetail>();
|
||||
}
|
||||
}
|
||||
|
||||
public System.Data.Linq.Table<PHTGL_MainProjectQuantity> PHTGL_MainProjectQuantity
|
||||
{
|
||||
get
|
||||
@@ -11801,7 +11823,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveIdea", DbType="NVarChar(2000)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveIdea", DbType="NVarChar(200)")]
|
||||
public string ApproveIdea
|
||||
{
|
||||
get
|
||||
@@ -151489,7 +151511,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttentPerson", DbType="NVarChar(3000)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttentPerson", DbType="NVarChar(500)")]
|
||||
public string AttentPerson
|
||||
{
|
||||
get
|
||||
@@ -182448,7 +182470,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectDescription", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectDescription", DbType="VarChar(255)")]
|
||||
public string ProjectDescription
|
||||
{
|
||||
get
|
||||
@@ -182568,7 +182590,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CalculationRule", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CalculationRule", DbType="VarChar(255)")]
|
||||
public string CalculationRule
|
||||
{
|
||||
get
|
||||
@@ -182628,7 +182650,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionSubcontractor", DbType="VarChar(100)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionSubcontractor", DbType="VarChar(50)")]
|
||||
public string ConstructionSubcontractor
|
||||
{
|
||||
get
|
||||
@@ -183012,7 +183034,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageEstimate", DbType="Decimal(18,3)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackageEstimate", DbType="Decimal(18,2)")]
|
||||
public System.Nullable<decimal> WorkPackageEstimate
|
||||
{
|
||||
get
|
||||
@@ -183307,6 +183329,826 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PHTGL_Invoice")]
|
||||
public partial class PHTGL_Invoice : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _InvoiceId;
|
||||
|
||||
private string _ProjectId;
|
||||
|
||||
private System.Nullable<int> _State;
|
||||
|
||||
private string _InvoiceCode;
|
||||
|
||||
private string _InvoiceNumber;
|
||||
|
||||
private string _SellerName;
|
||||
|
||||
private string _InvoiceDate;
|
||||
|
||||
private System.Nullable<decimal> _AmountExcludingTax;
|
||||
|
||||
private System.Nullable<decimal> _TotalTax;
|
||||
|
||||
private string _Remark;
|
||||
|
||||
private string _ImagePath;
|
||||
|
||||
private string _SellerTaxNumber;
|
||||
|
||||
private System.Nullable<decimal> _InvoiceAmount;
|
||||
|
||||
private string _ApproveManJson;
|
||||
|
||||
private System.Nullable<System.DateTime> _CreateDate;
|
||||
|
||||
private string _CreateUser;
|
||||
|
||||
private string _ContractId;
|
||||
|
||||
private System.Nullable<System.DateTime> _OrderInDate;
|
||||
|
||||
private string _OrderCode;
|
||||
|
||||
private System.Nullable<System.DateTime> _OrderOutDate;
|
||||
|
||||
private string _MaterialRequisitionUnit;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnInvoiceIdChanging(string value);
|
||||
partial void OnInvoiceIdChanged();
|
||||
partial void OnProjectIdChanging(string value);
|
||||
partial void OnProjectIdChanged();
|
||||
partial void OnStateChanging(System.Nullable<int> value);
|
||||
partial void OnStateChanged();
|
||||
partial void OnInvoiceCodeChanging(string value);
|
||||
partial void OnInvoiceCodeChanged();
|
||||
partial void OnInvoiceNumberChanging(string value);
|
||||
partial void OnInvoiceNumberChanged();
|
||||
partial void OnSellerNameChanging(string value);
|
||||
partial void OnSellerNameChanged();
|
||||
partial void OnInvoiceDateChanging(string value);
|
||||
partial void OnInvoiceDateChanged();
|
||||
partial void OnAmountExcludingTaxChanging(System.Nullable<decimal> value);
|
||||
partial void OnAmountExcludingTaxChanged();
|
||||
partial void OnTotalTaxChanging(System.Nullable<decimal> value);
|
||||
partial void OnTotalTaxChanged();
|
||||
partial void OnRemarkChanging(string value);
|
||||
partial void OnRemarkChanged();
|
||||
partial void OnImagePathChanging(string value);
|
||||
partial void OnImagePathChanged();
|
||||
partial void OnSellerTaxNumberChanging(string value);
|
||||
partial void OnSellerTaxNumberChanged();
|
||||
partial void OnInvoiceAmountChanging(System.Nullable<decimal> value);
|
||||
partial void OnInvoiceAmountChanged();
|
||||
partial void OnApproveManJsonChanging(string value);
|
||||
partial void OnApproveManJsonChanged();
|
||||
partial void OnCreateDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnCreateDateChanged();
|
||||
partial void OnCreateUserChanging(string value);
|
||||
partial void OnCreateUserChanged();
|
||||
partial void OnContractIdChanging(string value);
|
||||
partial void OnContractIdChanged();
|
||||
partial void OnOrderInDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnOrderInDateChanged();
|
||||
partial void OnOrderCodeChanging(string value);
|
||||
partial void OnOrderCodeChanged();
|
||||
partial void OnOrderOutDateChanging(System.Nullable<System.DateTime> value);
|
||||
partial void OnOrderOutDateChanged();
|
||||
partial void OnMaterialRequisitionUnitChanging(string value);
|
||||
partial void OnMaterialRequisitionUnitChanged();
|
||||
#endregion
|
||||
|
||||
public PHTGL_Invoice()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvoiceId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string InvoiceId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._InvoiceId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._InvoiceId != value))
|
||||
{
|
||||
this.OnInvoiceIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._InvoiceId = value;
|
||||
this.SendPropertyChanged("InvoiceId");
|
||||
this.OnInvoiceIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
|
||||
public string ProjectId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ProjectId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ProjectId != value))
|
||||
{
|
||||
this.OnProjectIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ProjectId = value;
|
||||
this.SendPropertyChanged("ProjectId");
|
||||
this.OnProjectIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_State", DbType="Int")]
|
||||
public System.Nullable<int> State
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._State;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._State != value))
|
||||
{
|
||||
this.OnStateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._State = value;
|
||||
this.SendPropertyChanged("State");
|
||||
this.OnStateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvoiceCode", DbType="NVarChar(50)")]
|
||||
public string InvoiceCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._InvoiceCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._InvoiceCode != value))
|
||||
{
|
||||
this.OnInvoiceCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._InvoiceCode = value;
|
||||
this.SendPropertyChanged("InvoiceCode");
|
||||
this.OnInvoiceCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvoiceNumber", DbType="NVarChar(50)")]
|
||||
public string InvoiceNumber
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._InvoiceNumber;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._InvoiceNumber != value))
|
||||
{
|
||||
this.OnInvoiceNumberChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._InvoiceNumber = value;
|
||||
this.SendPropertyChanged("InvoiceNumber");
|
||||
this.OnInvoiceNumberChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SellerName", DbType="NVarChar(100)")]
|
||||
public string SellerName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SellerName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._SellerName != value))
|
||||
{
|
||||
this.OnSellerNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._SellerName = value;
|
||||
this.SendPropertyChanged("SellerName");
|
||||
this.OnSellerNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvoiceDate", DbType="NVarChar(50)")]
|
||||
public string InvoiceDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._InvoiceDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._InvoiceDate != value))
|
||||
{
|
||||
this.OnInvoiceDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._InvoiceDate = value;
|
||||
this.SendPropertyChanged("InvoiceDate");
|
||||
this.OnInvoiceDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AmountExcludingTax", DbType="Decimal(18,2)")]
|
||||
public System.Nullable<decimal> AmountExcludingTax
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._AmountExcludingTax;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._AmountExcludingTax != value))
|
||||
{
|
||||
this.OnAmountExcludingTaxChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._AmountExcludingTax = value;
|
||||
this.SendPropertyChanged("AmountExcludingTax");
|
||||
this.OnAmountExcludingTaxChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TotalTax", DbType="Decimal(18,2)")]
|
||||
public System.Nullable<decimal> TotalTax
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TotalTax;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TotalTax != value))
|
||||
{
|
||||
this.OnTotalTaxChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TotalTax = value;
|
||||
this.SendPropertyChanged("TotalTax");
|
||||
this.OnTotalTaxChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(500)")]
|
||||
public string Remark
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Remark;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Remark != value))
|
||||
{
|
||||
this.OnRemarkChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Remark = value;
|
||||
this.SendPropertyChanged("Remark");
|
||||
this.OnRemarkChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ImagePath", DbType="NVarChar(500)")]
|
||||
public string ImagePath
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ImagePath;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ImagePath != value))
|
||||
{
|
||||
this.OnImagePathChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ImagePath = value;
|
||||
this.SendPropertyChanged("ImagePath");
|
||||
this.OnImagePathChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SellerTaxNumber", DbType="NVarChar(50)")]
|
||||
public string SellerTaxNumber
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SellerTaxNumber;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._SellerTaxNumber != value))
|
||||
{
|
||||
this.OnSellerTaxNumberChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._SellerTaxNumber = value;
|
||||
this.SendPropertyChanged("SellerTaxNumber");
|
||||
this.OnSellerTaxNumberChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvoiceAmount", DbType="Decimal(18,2)")]
|
||||
public System.Nullable<decimal> InvoiceAmount
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._InvoiceAmount;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._InvoiceAmount != value))
|
||||
{
|
||||
this.OnInvoiceAmountChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._InvoiceAmount = value;
|
||||
this.SendPropertyChanged("InvoiceAmount");
|
||||
this.OnInvoiceAmountChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveManJson", DbType="NVarChar(2000)")]
|
||||
public string ApproveManJson
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ApproveManJson;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ApproveManJson != value))
|
||||
{
|
||||
this.OnApproveManJsonChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ApproveManJson = value;
|
||||
this.SendPropertyChanged("ApproveManJson");
|
||||
this.OnApproveManJsonChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> CreateDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CreateDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CreateDate != value))
|
||||
{
|
||||
this.OnCreateDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CreateDate = value;
|
||||
this.SendPropertyChanged("CreateDate");
|
||||
this.OnCreateDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateUser", DbType="NVarChar(50)")]
|
||||
public string CreateUser
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._CreateUser;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._CreateUser != value))
|
||||
{
|
||||
this.OnCreateUserChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._CreateUser = value;
|
||||
this.SendPropertyChanged("CreateUser");
|
||||
this.OnCreateUserChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractId", DbType="NVarChar(50)")]
|
||||
public string ContractId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._ContractId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._ContractId != value))
|
||||
{
|
||||
this.OnContractIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._ContractId = value;
|
||||
this.SendPropertyChanged("ContractId");
|
||||
this.OnContractIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderInDate", DbType="Date")]
|
||||
public System.Nullable<System.DateTime> OrderInDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._OrderInDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._OrderInDate != value))
|
||||
{
|
||||
this.OnOrderInDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._OrderInDate = value;
|
||||
this.SendPropertyChanged("OrderInDate");
|
||||
this.OnOrderInDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderCode", DbType="NVarChar(50)")]
|
||||
public string OrderCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._OrderCode;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._OrderCode != value))
|
||||
{
|
||||
this.OnOrderCodeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._OrderCode = value;
|
||||
this.SendPropertyChanged("OrderCode");
|
||||
this.OnOrderCodeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OrderOutDate", DbType="Date")]
|
||||
public System.Nullable<System.DateTime> OrderOutDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._OrderOutDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._OrderOutDate != value))
|
||||
{
|
||||
this.OnOrderOutDateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._OrderOutDate = value;
|
||||
this.SendPropertyChanged("OrderOutDate");
|
||||
this.OnOrderOutDateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialRequisitionUnit", DbType="NVarChar(100)")]
|
||||
public string MaterialRequisitionUnit
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._MaterialRequisitionUnit;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._MaterialRequisitionUnit != value))
|
||||
{
|
||||
this.OnMaterialRequisitionUnitChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._MaterialRequisitionUnit = value;
|
||||
this.SendPropertyChanged("MaterialRequisitionUnit");
|
||||
this.OnMaterialRequisitionUnitChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected virtual void SendPropertyChanging()
|
||||
{
|
||||
if ((this.PropertyChanging != null))
|
||||
{
|
||||
this.PropertyChanging(this, emptyChangingEventArgs);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void SendPropertyChanged(String propertyName)
|
||||
{
|
||||
if ((this.PropertyChanged != null))
|
||||
{
|
||||
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PHTGL_InvoiceDetail")]
|
||||
public partial class PHTGL_InvoiceDetail : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
|
||||
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
|
||||
|
||||
private string _InvoiceDetailId;
|
||||
|
||||
private string _InvoiceId;
|
||||
|
||||
private string _GoodsOrServicesName;
|
||||
|
||||
private string _SpecificationModel;
|
||||
|
||||
private string _Unit;
|
||||
|
||||
private System.Nullable<decimal> _Quantity;
|
||||
|
||||
private System.Nullable<decimal> _UnitPrice;
|
||||
|
||||
private System.Nullable<decimal> _Amount;
|
||||
|
||||
private string _TaxRate;
|
||||
|
||||
private System.Nullable<decimal> _Tax;
|
||||
|
||||
#region 可扩展性方法定义
|
||||
partial void OnLoaded();
|
||||
partial void OnValidate(System.Data.Linq.ChangeAction action);
|
||||
partial void OnCreated();
|
||||
partial void OnInvoiceDetailIdChanging(string value);
|
||||
partial void OnInvoiceDetailIdChanged();
|
||||
partial void OnInvoiceIdChanging(string value);
|
||||
partial void OnInvoiceIdChanged();
|
||||
partial void OnGoodsOrServicesNameChanging(string value);
|
||||
partial void OnGoodsOrServicesNameChanged();
|
||||
partial void OnSpecificationModelChanging(string value);
|
||||
partial void OnSpecificationModelChanged();
|
||||
partial void OnUnitChanging(string value);
|
||||
partial void OnUnitChanged();
|
||||
partial void OnQuantityChanging(System.Nullable<decimal> value);
|
||||
partial void OnQuantityChanged();
|
||||
partial void OnUnitPriceChanging(System.Nullable<decimal> value);
|
||||
partial void OnUnitPriceChanged();
|
||||
partial void OnAmountChanging(System.Nullable<decimal> value);
|
||||
partial void OnAmountChanged();
|
||||
partial void OnTaxRateChanging(string value);
|
||||
partial void OnTaxRateChanged();
|
||||
partial void OnTaxChanging(System.Nullable<decimal> value);
|
||||
partial void OnTaxChanged();
|
||||
#endregion
|
||||
|
||||
public PHTGL_InvoiceDetail()
|
||||
{
|
||||
OnCreated();
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvoiceDetailId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
|
||||
public string InvoiceDetailId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._InvoiceDetailId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._InvoiceDetailId != value))
|
||||
{
|
||||
this.OnInvoiceDetailIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._InvoiceDetailId = value;
|
||||
this.SendPropertyChanged("InvoiceDetailId");
|
||||
this.OnInvoiceDetailIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InvoiceId", DbType="NVarChar(50)")]
|
||||
public string InvoiceId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._InvoiceId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._InvoiceId != value))
|
||||
{
|
||||
this.OnInvoiceIdChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._InvoiceId = value;
|
||||
this.SendPropertyChanged("InvoiceId");
|
||||
this.OnInvoiceIdChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_GoodsOrServicesName", DbType="NVarChar(100)")]
|
||||
public string GoodsOrServicesName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._GoodsOrServicesName;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._GoodsOrServicesName != value))
|
||||
{
|
||||
this.OnGoodsOrServicesNameChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._GoodsOrServicesName = value;
|
||||
this.SendPropertyChanged("GoodsOrServicesName");
|
||||
this.OnGoodsOrServicesNameChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SpecificationModel", DbType="NVarChar(100)")]
|
||||
public string SpecificationModel
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._SpecificationModel;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._SpecificationModel != value))
|
||||
{
|
||||
this.OnSpecificationModelChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._SpecificationModel = value;
|
||||
this.SendPropertyChanged("SpecificationModel");
|
||||
this.OnSpecificationModelChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Unit", DbType="NVarChar(50)")]
|
||||
public string Unit
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Unit;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Unit != value))
|
||||
{
|
||||
this.OnUnitChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Unit = value;
|
||||
this.SendPropertyChanged("Unit");
|
||||
this.OnUnitChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Quantity", DbType="Decimal(18,2)")]
|
||||
public System.Nullable<decimal> Quantity
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Quantity;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Quantity != value))
|
||||
{
|
||||
this.OnQuantityChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Quantity = value;
|
||||
this.SendPropertyChanged("Quantity");
|
||||
this.OnQuantityChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitPrice", DbType="Decimal(18,2)")]
|
||||
public System.Nullable<decimal> UnitPrice
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._UnitPrice;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._UnitPrice != value))
|
||||
{
|
||||
this.OnUnitPriceChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._UnitPrice = value;
|
||||
this.SendPropertyChanged("UnitPrice");
|
||||
this.OnUnitPriceChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Amount", DbType="Decimal(18,2)")]
|
||||
public System.Nullable<decimal> Amount
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Amount;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Amount != value))
|
||||
{
|
||||
this.OnAmountChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Amount = value;
|
||||
this.SendPropertyChanged("Amount");
|
||||
this.OnAmountChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TaxRate", DbType="NVarChar(50)")]
|
||||
public string TaxRate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._TaxRate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._TaxRate != value))
|
||||
{
|
||||
this.OnTaxRateChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._TaxRate = value;
|
||||
this.SendPropertyChanged("TaxRate");
|
||||
this.OnTaxRateChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Tax", DbType="Decimal(18,2)")]
|
||||
public System.Nullable<decimal> Tax
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._Tax;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._Tax != value))
|
||||
{
|
||||
this.OnTaxChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._Tax = value;
|
||||
this.SendPropertyChanged("Tax");
|
||||
this.OnTaxChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangingEventHandler PropertyChanging;
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected virtual void SendPropertyChanging()
|
||||
{
|
||||
if ((this.PropertyChanging != null))
|
||||
{
|
||||
this.PropertyChanging(this, emptyChangingEventArgs);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void SendPropertyChanged(String propertyName)
|
||||
{
|
||||
if ((this.PropertyChanged != null))
|
||||
{
|
||||
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PHTGL_MainProjectQuantity")]
|
||||
public partial class PHTGL_MainProjectQuantity : INotifyPropertyChanging, INotifyPropertyChanged
|
||||
{
|
||||
@@ -295160,7 +296002,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(200)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="NVarChar(50)")]
|
||||
public string Name
|
||||
{
|
||||
get
|
||||
@@ -295737,7 +296579,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(200)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(50)")]
|
||||
public string PackageContent
|
||||
{
|
||||
get
|
||||
@@ -295928,7 +296770,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(200)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(50)")]
|
||||
public string PackageContent
|
||||
{
|
||||
get
|
||||
@@ -301215,7 +302057,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(200)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(50)")]
|
||||
public string PackageContent
|
||||
{
|
||||
get
|
||||
@@ -302687,7 +303529,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(200)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PackageContent", DbType="NVarChar(50)")]
|
||||
public string PackageContent
|
||||
{
|
||||
get
|
||||
@@ -312238,7 +313080,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractNo", DbType="NVarChar(1500)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractNo", DbType="NVarChar(500)")]
|
||||
public string ContractNo
|
||||
{
|
||||
get
|
||||
@@ -312258,7 +313100,7 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitWorks", DbType="NVarChar(1500)")]
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitWorks", DbType="NVarChar(500)")]
|
||||
public string UnitWorks
|
||||
{
|
||||
get
|
||||
|
||||
@@ -45,12 +45,16 @@
|
||||
<Reference Include="EmitMapper, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\EmitMapper.1.0.0\lib\EmitMapper.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MiniExcel, Version=1.31.3.0, Culture=neutral, PublicKeyToken=e7310002a53eac39, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MiniExcel.1.31.3\lib\net45\MiniExcel.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.12.0.1\lib\net40\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Data.Linq" />
|
||||
<Reference Include="System.IO.Compression" />
|
||||
<Reference Include="System.Web.DataVisualization" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
@@ -205,6 +209,11 @@
|
||||
<Compile Include="Model.cs" />
|
||||
<Compile Include="ModelProc.cs" />
|
||||
<Compile Include="Num.cs" />
|
||||
<Compile Include="PHTGL\ApproveManModel.cs" />
|
||||
<Compile Include="PHTGL\PHTGL_ContractTrackDtoIn.cs" />
|
||||
<Compile Include="PHTGL\PHTGL_InvoiceApproveManEntity.cs" />
|
||||
<Compile Include="PHTGL\PHTGL_InvoiceDtoIn.cs" />
|
||||
<Compile Include="PHTGL\PrintModel.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="SingleSerie.cs" />
|
||||
<Compile Include="SpCheckInfoItem.cs" />
|
||||
@@ -218,6 +227,9 @@
|
||||
<Compile Include="ZHGL\DataSync\HSSEDataItem.cs" />
|
||||
<Compile Include="ZHGL\DataSync\SYHSEDataItem.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
namespace Model
|
||||
{
|
||||
public class ApproveManModel
|
||||
{
|
||||
public int Number
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public string userid
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public string Rolename
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,110 @@
|
||||
using MiniExcelLibs.Attributes;
|
||||
|
||||
namespace Model
|
||||
{
|
||||
public class PHTGL_ContractTrackDtoIn
|
||||
{
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("A")] public string SerialNumber { get; set; }
|
||||
/// <summary>
|
||||
/// 主项号
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("B")] public string MainItemCode { get; set; }
|
||||
/// <summary>
|
||||
/// 主项名称
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("C")] public string MainItemName { get; set; }
|
||||
/// <summary>
|
||||
/// 专业代码
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("D")] public string MajorCode { get; set; }
|
||||
/// <summary>
|
||||
/// 专业工程名称
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("E")] public string MajorName { get; set; }
|
||||
/// <summary>
|
||||
/// 分部工程
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("F")] public string SubProject { get; set; }
|
||||
/// <summary>
|
||||
/// 分项工程
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("G")] public string SubItemProject { get; set; }
|
||||
/// <summary>
|
||||
/// 项目编码
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("H")] public string ProjectCode { get; set; }
|
||||
/// <summary>
|
||||
/// 项目名称
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("I")] public string ProjectName { get; set; }
|
||||
/// <summary>
|
||||
/// 项目特征描述
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("J")] public string ProjectDescription { get; set; }
|
||||
/// <summary>
|
||||
/// 计量单位
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("K")] public string UnitOfMeasurement { get; set; }
|
||||
/// <summary>
|
||||
/// 工程量
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("L")] public string Quantity { get; set; }
|
||||
/// <summary>
|
||||
/// 全费用固定综合单价
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("M")] public decimal TotalCostFixedComprehensiveUnitPrice { get; set; }
|
||||
/// <summary>
|
||||
/// 其中:主材费
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("N")] public decimal MainMaterialCost { get; set; }
|
||||
/// <summary>
|
||||
/// 合价/元
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("O")] public decimal TotalPrice { get; set; }
|
||||
/// <summary>
|
||||
/// 计算规则
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("P")] public string CalculationRule { get; set; }
|
||||
/// <summary>
|
||||
/// 工作内容
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("Q")] public string WorkContent { get; set; }
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("R")] public string Remarks { get; set; }
|
||||
/// <summary>
|
||||
/// 施工分包商
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("S")] public string ConstructionSubcontractor { get; set; }
|
||||
/// <summary>
|
||||
/// 主材供应方
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("T")] public string MaterialSupplier { get; set; }
|
||||
/// <summary>
|
||||
/// 是否总包合同范围内
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("U")]
|
||||
public string IsWithinGeneralContractScope { get; set; }
|
||||
/// <summary>
|
||||
/// 概算工程量
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("V")] public string EstimatedQuantity { get; set; }
|
||||
/// <summary>
|
||||
/// 概算金额
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("W")] public decimal EstimatedAmount { get; set; }
|
||||
/// <summary>
|
||||
/// 预算工程量
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("X")] public string SettledQuantity { get; set; }
|
||||
/// <summary>
|
||||
/// 预算金额
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("Y")] public decimal SettledAmount { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
namespace Model
|
||||
{
|
||||
public class PHTGL_InvoiceApproveManEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 入库审批人
|
||||
/// </summary>
|
||||
public Inputapproveman InputApproveMan { get; set; }
|
||||
/// <summary>
|
||||
/// 出库审批人
|
||||
/// </summary>
|
||||
public Outputapproveman OutputApproveMan { get; set; }
|
||||
}
|
||||
|
||||
public class Inputapproveman
|
||||
{
|
||||
/// <summary>
|
||||
/// 专业工程师
|
||||
/// </summary>
|
||||
public string ProfessionalEngineer { get; set; }
|
||||
/// <summary>
|
||||
/// 施工经理
|
||||
/// </summary>
|
||||
public string ConstructionManager { get; set; }
|
||||
/// <summary>
|
||||
/// 控制经理
|
||||
/// </summary>
|
||||
public string ControlManager { get; set; }
|
||||
/// <summary>
|
||||
/// 项目经理
|
||||
/// </summary>
|
||||
public string ProjectManager { get; set; }
|
||||
}
|
||||
|
||||
public class Outputapproveman
|
||||
{
|
||||
/// <summary>
|
||||
/// 采购员
|
||||
/// </summary>
|
||||
public string PurchasingMan { get; set; }
|
||||
/// <summary>
|
||||
/// 控制经理
|
||||
/// </summary>
|
||||
public string ControlManager { get; set; }
|
||||
/// <summary>
|
||||
/// 项目经理
|
||||
/// </summary>
|
||||
public string ProjectManager { get; set; }
|
||||
/// <summary>
|
||||
/// 施工单位材料经理
|
||||
/// </summary>
|
||||
public string ConUnitMaterialOfficer { get; set; }
|
||||
/// <summary>
|
||||
/// 施工单位项目经理
|
||||
/// </summary>
|
||||
public string ConUnitProjectManager { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
using MiniExcelLibs.Attributes;
|
||||
|
||||
namespace Model
|
||||
{
|
||||
public class PHTGL_InvoiceDtoIn
|
||||
{
|
||||
/// <summary>
|
||||
/// 发票代码
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("A")] public string InvoiceCode { get; set; }
|
||||
/// <summary>
|
||||
/// 发票号码
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("B")] public string InvoiceNumber { get; set; }
|
||||
/// <summary>
|
||||
/// 销方名称
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("C")] public string SellerName { get; set; }
|
||||
/// <summary>
|
||||
/// 开票日期
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("D")] public string InvoiceDate { get; set; }
|
||||
/// <summary>
|
||||
/// 货物或应税劳务名称
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("E")] public string GoodsOrServicesName { get; set; }
|
||||
/// <summary>
|
||||
/// 规格型号
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("F")] public string SpecificationModel { get; set; }
|
||||
/// <summary>
|
||||
/// 单位
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("G")] public string Unit { get; set; }
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("H")] public string Quantity { get; set; }
|
||||
/// <summary>
|
||||
/// 单价
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("I")] public string UnitPrice { get; set; }
|
||||
/// <summary>
|
||||
/// 金额
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("J")] public string Amount { get; set; }
|
||||
/// <summary>
|
||||
/// 税率
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("K")] public string TaxRate { get; set; }
|
||||
/// <summary>
|
||||
/// 税额
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("L")] public string Tax { get; set; }
|
||||
/// <summary>
|
||||
/// 不含税金额
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("M")] public string AmountExcludingTax { get; set; }
|
||||
/// <summary>
|
||||
/// 合计税额
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("N")] public string TotalTax { get; set; }
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("O")] public string Remark { get; set; }
|
||||
/// <summary>
|
||||
/// 图片存储路径
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("P")] public string ImagePath { get; set; }
|
||||
/// <summary>
|
||||
/// 销方税号
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("Q")] public string SellerTaxNumber { get; set; }
|
||||
/// <summary>
|
||||
/// 票面金额
|
||||
/// </summary>
|
||||
[ExcelColumnIndex("R")] public string InvoiceAmount { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
namespace Model
|
||||
{
|
||||
public class PrintModel
|
||||
{
|
||||
public int Number
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public string Rolename
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public string UserName
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public string Image
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public string ApproveIdea
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
public string ApproveDate
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user