huliguo
2 天以前 d8143b9121bbe941f116230eaa5524ab2cc12a66
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
package com.linghu.model.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
 
import java.io.Serializable;
import java.time.LocalDateTime;
 
import lombok.Data;
 
/**
 * 
 * @TableName order
 */
@TableName(value = "orders")
@Data
public class Orders implements Serializable {
    /**
     * 订单id,格式:日期-数量(202506100001)
     */
    @TableId
    private String order_id;
 
    /**
     * 客户名称
     */
    private String client_name;
 
    /**
     * 状态 1-待处理,2-执行中,3-已完成
     */
    private Integer status;
 
    /**
     * 0-未删除 1-已删除
     */
    private Integer del_flag;
 
    /**
     * 关键词数量
     */
    private Integer keyword_num;
 
    /**
     * 提交人
     */
    private String create_by;
 
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime create_time;
 
    /**
     * 
     */
    private String update_by;
 
    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime update_time;
 
    @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;
        }
        Orders other = (Orders) that;
        return (this.getOrder_id() == null ? other.getOrder_id() == null
                : this.getOrder_id().equals(other.getOrder_id()))
                && (this.getClient_name() == null ? other.getClient_name() == null
                        : this.getClient_name().equals(other.getClient_name()))
                && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
                && (this.getDel_flag() == null ? other.getDel_flag() == null
                        : this.getDel_flag().equals(other.getDel_flag()))
                && (this.getCreate_by() == null ? other.getCreate_by() == null
                        : this.getCreate_by().equals(other.getCreate_by()))
                && (this.getCreate_time() == null ? other.getCreate_time() == null
                        : this.getCreate_time().equals(other.getCreate_time()))
                && (this.getUpdate_by() == null ? other.getUpdate_by() == null
                        : this.getUpdate_by().equals(other.getUpdate_by()))
                && (this.getUpdate_time() == null ? other.getUpdate_time() == null
                        : this.getUpdate_time().equals(other.getUpdate_time()));
    }
 
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getOrder_id() == null) ? 0 : getOrder_id().hashCode());
        result = prime * result + ((getClient_name() == null) ? 0 : getClient_name().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getDel_flag() == null) ? 0 : getDel_flag().hashCode());
        result = prime * result + ((getCreate_by() == null) ? 0 : getCreate_by().hashCode());
        result = prime * result + ((getCreate_time() == null) ? 0 : getCreate_time().hashCode());
        result = prime * result + ((getUpdate_by() == null) ? 0 : getUpdate_by().hashCode());
        result = prime * result + ((getUpdate_time() == null) ? 0 : getUpdate_time().hashCode());
        return result;
    }
 
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", order_id=").append(order_id);
        sb.append(", client_name=").append(client_name);
        sb.append(", status=").append(status);
        sb.append(", del_flag=").append(del_flag);
        sb.append(", create_by=").append(create_by);
        sb.append(", create_time=").append(create_time);
        sb.append(", update_by=").append(update_by);
        sb.append(", update_time=").append(update_time);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}