forked from hechenqingyuan/gitwms
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSupplier_To.cs
66 lines (62 loc) · 1.76 KB
/
Supplier_To.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/*******************************************************************************
* Copyright (C) Git Corporation. All rights reserved.
*
* Author: 代码工具自动生成
* Create Date: 2014/05/09 22:48:49
* Blog: http://www.cnblogs.com/qingyuan/
* Copyright: 太数智能科技(上海)有限公司
* Description: Git.Framework
*
* Revision History:
* Date Author Description
* 2014/05/09 22:48:49
*********************************************************************************/
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Git.Storage.RoseEntity;
using Git.Storage.Entity.Store;
namespace Git.Storage.Conversion
{
public partial class Supplier_To
{
public Supplier_To()
{
}
public static SupplierEntity To(Supplier_CE item)
{
SupplierEntity target = new SupplierEntity();
target.ID=item.ID;
target.SupNum=item.SupNum;
target.SupName=item.SupName;
target.Phone=item.Phone;
target.Fax=item.Fax;
target.Email=item.Email;
target.ContactName=item.ContactName;
target.Address=item.Address;
target.CreateUser=item.CreateUser;
target.Description=item.Description;
target.IsDelete=item.IsDelete;
target.CreateTime=item.CreateTime;
return target;
}
public static Supplier_CE ToCE(SupplierEntity item)
{
Supplier_CE target = new Supplier_CE();
target.ID=item.ID;
target.SupNum=item.SupNum;
target.SupName=item.SupName;
target.Phone=item.Phone;
target.Fax=item.Fax;
target.Email=item.Email;
target.ContactName=item.ContactName;
target.Address=item.Address;
target.CreateUser=item.CreateUser;
target.Description=item.Description;
target.IsDelete=item.IsDelete;
target.CreateTime=item.CreateTime;
return target;
}
}
}