You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

127 lines
3.7 KiB

using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CK.SCP.Models.ScpEntity
{
public partial class TS_UNI_API
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int UID { get; set; }
[Required(AllowEmptyStrings = true)]
[StringLength(50)]
public string InterfaceType { get; set; }
[StringLength(50)]
public string TableName { get; set; }
public int? BillType { get; set; }
public int? SubBillType { get; set; }
[Required(AllowEmptyStrings = true)]
[StringLength(50)]
public string BillNum { get; set; }
[Required(AllowEmptyStrings = true)]
[StringLength(50)]
public string PartCode { get; set; }
[Required(AllowEmptyStrings = true)]
[StringLength(50)]
public string Batch { get; set; }
public decimal Qty { get; set; }
public int State { get; set; }
[StringLength(50)]
public string CreateOper { get; set; }
public DateTime CreateTime { get; set; }
public DateTime PutTime { get; set; }
[StringLength(50)]
public string VendId { get; set; }
[StringLength(50)]
public string PoUnit { get; set; }
[StringLength(50)]
public string LocUnit { get; set; }
public DateTime ValidDate { get; set; }
[StringLength(50)]
public string ErpBillNum { get; set; }
public int ErpLineNum { get; set; }
[StringLength(50)]
public string VendBatch { get; set; }
[StringLength(50)]
public string SourceBillNum { get; set; }
public decimal PackQty { get; set; }
public decimal Price { get; set; }
public string Barcode { get; set; }
public string Currency { get; set; }
public decimal UmConv { get; set; }
public string Attn { get; set; }
public string Buyer { get; set; }
public string BuyerPhone { get; set; }
public string ModType { get; set; }
public string Invoice { get; set; }
public decimal TaxAmt { get; set; }
public string Receiver { get; set; }
public decimal Tax { get; set; }
public string Site { get; set; }
public string Domain { get; set; }
public string Extend1 { get; set; }
public string Extend2 { get; set; }
public TS_UNI_API_HIS ToHis()
{
return new TS_UNI_API_HIS
{
InterfaceType = InterfaceType,
TableName = TableName,
BillType = BillType,
SubBillType = SubBillType,
BillNum = BillNum,
PartCode = PartCode,
Batch = Batch,
Qty = Qty,
State = State,
CreateOper = CreateOper,
CreateTime = CreateTime,
PutTime = PutTime,
VendId = VendId,
PoUnit = PoUnit,
LocUnit = LocUnit,
ValidDate = ValidDate,
ErpBillNum = ErpBillNum,
ErpLineNum = ErpLineNum,
VendBatch = VendBatch,
SourceBillNum = SourceBillNum,
PackQty = PackQty,
Price = Price,
Barcode = Barcode,
Currency = Currency,
UmConv = UmConv,
Attn = Attn,
Buyer = Buyer,
BuyerPhone = BuyerPhone,
ModType = ModType,
Invoice = Invoice,
TaxAmt = TaxAmt,
Receiver = Receiver,
Taxt = Tax,
};
}
}
}