guyue
4 天以前 89f8649e8cf9bc12b9e29abb0adc4f9b77273143
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
package com.linghu.model.entity;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
 
/**
 * 
 * @TableName platfrom
 */
@TableName(value = "platform")
@Data
public class Platform implements Serializable {
        /**
         * 平台id
         */
        @TableId(type = IdType.AUTO)
        private Integer platform_id;
 
        /**
         * 类型id
         */
        private Integer type_id;
 
        /**
         * 平台名称
         */
        private String platform_name;
 
        /**
         * 平台域名
         */
        private String domain;
 
        /**
         * 
         */
        @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSSSS", timezone = "GMT+8")
        private LocalDateTime create_time;
 
        /**
         * 
         */
        private String create_by;
 
        /**
         * 
         */
        @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSSSS", timezone = "GMT+8")
        private LocalDateTime update_time;
 
        /**
         * 
         */
        private String update_by;
 
        /**
         * 0-未删除,1-已删除
         */
        private Integer del_flag;
 
        @TableField(exist = false)
        private static final long serialVersionUID = 1L;
 
        @Override
        public boolean equals(Object that) {
                if (this == that) {
                        return true;
                }
                if (that == null) {
                        return false;
                }
                if (getClass() != that.getClass()) {
                        return false;
                }
                Platform other = (Platform) that;
                return (this.getPlatform_id() == null ? other.getPlatform_id() == null
                                : this.getPlatform_id().equals(other.getPlatform_id()))
                                && (this.getType_id() == null ? other.getType_id() == null
                                                : this.getType_id().equals(other.getType_id()))
                                && (this.getPlatform_name() == null ? other.getPlatform_name() == null
                                                : this.getPlatform_name().equals(other.getPlatform_name()))
                                && (this.getDomain() == null ? other.getDomain() == null
                                                : this.getDomain().equals(other.getDomain()))
                                && (this.getCreate_time() == null ? other.getCreate_time() == null
                                                : this.getCreate_time().equals(other.getCreate_time()))
                                && (this.getCreate_by() == null ? other.getCreate_by() == null
                                                : this.getCreate_by().equals(other.getCreate_by()))
                                && (this.getUpdate_time() == null ? other.getUpdate_time() == null
                                                : this.getUpdate_time().equals(other.getUpdate_time()))
                                && (this.getUpdate_by() == null ? other.getUpdate_by() == null
                                                : this.getUpdate_by().equals(other.getUpdate_by()))
                                && (this.getDel_flag() == null ? other.getDel_flag() == null
                                                : this.getDel_flag().equals(other.getDel_flag()));
        }
 
        @Override
        public int hashCode() {
                final int prime = 31;
                int result = 1;
                result = prime * result + ((getPlatform_id() == null) ? 0 : getPlatform_id().hashCode());
                result = prime * result + ((getType_id() == null) ? 0 : getType_id().hashCode());
                result = prime * result + ((getPlatform_name() == null) ? 0 : getPlatform_name().hashCode());
                result = prime * result + ((getDomain() == null) ? 0 : getDomain().hashCode());
                result = prime * result + ((getCreate_time() == null) ? 0 : getCreate_time().hashCode());
                result = prime * result + ((getCreate_by() == null) ? 0 : getCreate_by().hashCode());
                result = prime * result + ((getUpdate_time() == null) ? 0 : getUpdate_time().hashCode());
                result = prime * result + ((getUpdate_by() == null) ? 0 : getUpdate_by().hashCode());
                result = prime * result + ((getDel_flag() == null) ? 0 : getDel_flag().hashCode());
                return result;
        }
 
        @Override
        public String toString() {
                StringBuilder sb = new StringBuilder();
                sb.append(getClass().getSimpleName());
                sb.append(" [");
                sb.append("Hash = ").append(hashCode());
                sb.append(", platform_id=").append(platform_id);
                sb.append(", type_id=").append(type_id);
                sb.append(", platform_name=").append(platform_name);
                sb.append(", domain=").append(domain);
                sb.append(", create_time=").append(create_time);
                sb.append(", create_by=").append(create_by);
                sb.append(", update_time=").append(update_time);
                sb.append(", update_by=").append(update_by);
                sb.append(", del_flag=").append(del_flag);
                sb.append(", serialVersionUID=").append(serialVersionUID);
                sb.append("]");
                return sb.toString();
        }
}