hefeixia
2021-02-18 5b8c95c760840f09910730943b21391e47187315
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
package chat.sms;
 
public class Record {
    private final String code;
    private final String mobile;
    private final long timestamp;
 
    public Record(String code, String mobile) {
        this.code = code;
        this.mobile = mobile;
        this.timestamp = System.currentTimeMillis();
    }
 
    public String getCode() {
        return code;
    }
 
    public String getMobile() {
        return mobile;
    }
 
    public long getTimestamp() {
        return timestamp;
    }
}