修正项目结构

This commit is contained in:
admin
2021-01-15 09:26:17 +08:00
parent 62bd133757
commit a2fd7eca0b
44 changed files with 230 additions and 73 deletions

View File

@@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model.Purchase
{
/// <summary>
/// 到货单
/// </summary>
public class Arrival
{
private int id;
private string arrivalCode;
private DateTime _date;
private string supplierCode;
private ICollection<ArrivalDetail> arrivalDetails = new List<ArrivalDetail>();
public int Id { get => id; set => id = value; }
public string ArrivalCode { get => arrivalCode; set => arrivalCode = value; }
public DateTime Date { get => _date; set => _date = value; }
public ICollection<ArrivalDetail> ArrivalDetails { get => arrivalDetails; set => arrivalDetails = value; }
public string SupplierCode { get => supplierCode; set => supplierCode = value; }
public double ExchRate { get; set; }
public string ExchName { get; set; }
public string VenCode { get; set; }
public double TaxRate { get; set; }
public string PTCode { get; set; }
public string BusType { get; set; }
}
}

View File

@@ -0,0 +1,47 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model.Purchase
{
/// <summary>
/// 到货明细
/// </summary>
public class ArrivalDetail
{
private int id;
private string materielCode;
public int Id { get => id; set => id = value; }
public int ArrivalID { get => arrivalID; set => arrivalID = value; }
public string MaterielCode { get => materielCode; set => materielCode = value; }
public string BatchNo { get => batchNo; set => batchNo = value; }
public string UnitCode { get => unitCode; set => unitCode = value; }
public double Quantity { get => quantity; set => quantity = value; }
/// <summary>
/// 审批状态2 说明已经审核过了
/// </summary>
public int Iverifystateex { get => iverifystateex; set => iverifystateex = value; }
private int arrivalID;
private string batchNo;
private string unitCode;
private double quantity;
private int iverifystateex;
public int posId { get; set; }
public string OrderCode { get; set; }
public int PoId { get; set; }
public double oricost { get; set; }
public double oritaxcost { get; set; }
public double orimoney { get; set; }
public double oritaxprice { get; set; }
public double orisum { get; set; }
public double cost { get; set; }
// b.ioricost as oricost,b.ioritaxcost as oritaxcost ,b.iorimoney as orimoney,b.oritaxprice as oritaxprice,b.iorisum as orisum,
}
}