java110
2021-12-22 c29e5eba528fd4e811c4e27bee99e5032c6fd54d
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
package com.java110.entity.merchant;
 
import com.java110.entity.DefaultEntity;
 
import java.util.Date;
import java.util.List;
 
/**
 * Created by wuxw on 2017/5/20.
 */
public class Merchant extends DefaultEntity {
 
    private String merchantId;
 
    private String logoImg;
 
    private String name;
 
    private String address;
 
    private String type_cd;
 
    private List<MerchantAttr> merchantAttrs ;
 
 
    /**
     * 分装实体数据
     * @param boMerchant
     * @return
     */
    public static Merchant getMerchant(BoMerchant boMerchant){
        Merchant merchant = new Merchant();
        merchant.setAddress(boMerchant.getAddress());
        merchant.setCreate_dt(boMerchant.getCreate_dt());
        merchant.setEnd_dt(boMerchant.getEnd_dt());
        merchant.setLogoImg(boMerchant.getLogoImg());
        merchant.setMerchantId(boMerchant.getMerchantId());
        merchant.setName(boMerchant.getName());
        merchant.setStart_dt(boMerchant.getStart_dt());
 
        return merchant;
    }
 
 
    public String getMerchantId() {
        return merchantId;
    }
 
    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }
 
    public String getLogoImg() {
        return logoImg;
    }
 
    public void setLogoImg(String logoImg) {
        this.logoImg = logoImg;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public String getAddress() {
        return address;
    }
 
    public void setAddress(String address) {
        this.address = address;
    }
 
    public String getType_cd() {
        return type_cd;
    }
 
    public void setType_cd(String type_cd) {
        this.type_cd = type_cd;
    }
 
    public List<MerchantAttr> getMerchantAttrs() {
        return merchantAttrs;
    }
 
    public void setMerchantAttrs(List<MerchantAttr> merchantAttrs) {
        this.merchantAttrs = merchantAttrs;
    }
}