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.

96 lines
2.8 KiB

4 years ago
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码已从模板生成。
//
// 手动更改此文件可能导致应用程序出现意外的行为。
// 如果重新生成代码,将覆盖对此文件的手动更改。
// </auto-generated>
//------------------------------------------------------------------------------
namespace CK.SCP.Models.ScpEntity
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
1 year ago
public partial class TB_PO : RecordEntity
4 years ago
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long UID { get; set; }
[Key]
[Column(Order = 0)]
[StringLength(50)]
public string PoBillNum { get; set; }
[StringLength(50)]
public string ErpBillNum { get; set; }
[StringLength(50)]
public string VendId { get; set; }
public int? ModType { get; set; }
[StringLength(50)]
public string Contacter { get; set; }
[Key]
[Column(Order = 1)]
[StringLength(50)]
public string Site { get; set; }
[StringLength(50)]
public string Buyer { get; set; }
[StringLength(50)]
public string BuyerPhone { get; set; }
public int State { get; set; }
[StringLength(200)]
public string Remark { get; set; }
1 year ago
4 years ago
public DateTime? BeginTime { get; set; }
public DateTime? EndTime { get; set; }
1 year ago
[StringLength(50)]
4 years ago
[NotMapped]
public string ReceivedPort { get; set; }
4 years ago
public string Extend1 { get; set; }
public string Extend2 { get; set; }
public string Extend3 { get; set; }
public string SubSite { get; set; }
4 years ago
1 year ago
public TB_PO Clone(string p_NewBill, string p_Site)
{
return new TB_PO()
{
PoBillNum = p_NewBill,
ErpBillNum = p_NewBill,
UID = UID,
ModType=ModType,
State=State,
VendId = VendId,
Contacter = Contacter,
Buyer = Buyer,
BuyerPhone = BuyerPhone,
Remark = Remark,
BeginTime = BeginTime,
EndTime = EndTime,
ReceivedPort = ReceivedPort,
Extend1 = Extend1,
Extend2 = Extend2,
Extend3 = Extend3,
SubSite = SubSite,
Site = p_Site,
CreateUser = CreateUser,
CreateTime=CreateTime,
GUID=GUID,
UpdateInfo=UpdateInfo,
};
}
4 years ago
}
1 year ago
4 years ago
}