提交 | 用户 | 时间
|
1ac2bc
|
1 |
package cn.stylefeng.guns.workflow.modular.entity; |
懒 |
2 |
|
|
3 |
import com.baomidou.mybatisplus.annotation.IdType; |
|
4 |
import com.baomidou.mybatisplus.annotation.TableField; |
|
5 |
import com.baomidou.mybatisplus.annotation.TableId; |
|
6 |
import com.baomidou.mybatisplus.annotation.TableName; |
|
7 |
|
|
8 |
import java.io.Serializable; |
|
9 |
|
|
10 |
/** |
|
11 |
* <p> |
|
12 |
* |
|
13 |
* </p> |
|
14 |
* |
|
15 |
* @author fengshuonan |
|
16 |
* @since 2019-08-20 |
|
17 |
*/ |
|
18 |
@TableName("oa_myleave") |
|
19 |
public class Myleave implements Serializable { |
|
20 |
|
|
21 |
private static final long serialVersionUID = 1L; |
|
22 |
|
|
23 |
@TableId(value = "myleave_id", type = IdType.UUID) |
|
24 |
private String myleaveId; |
|
25 |
|
|
26 |
/** |
|
27 |
* 用户名 |
|
28 |
*/ |
|
29 |
@TableField("username") |
|
30 |
private String username; |
|
31 |
|
|
32 |
/** |
|
33 |
* 类型 |
|
34 |
*/ |
|
35 |
@TableField("type") |
|
36 |
private String type; |
|
37 |
|
|
38 |
/** |
|
39 |
* 开始时间 |
|
40 |
*/ |
|
41 |
@TableField("starttime") |
|
42 |
private String starttime; |
|
43 |
|
|
44 |
/** |
|
45 |
* 结束时间 |
|
46 |
*/ |
|
47 |
@TableField("endtime") |
|
48 |
private String endtime; |
|
49 |
|
|
50 |
/** |
|
51 |
* 时长 |
|
52 |
*/ |
|
53 |
@TableField("whenlong") |
|
54 |
private String whenlong; |
|
55 |
|
|
56 |
/** |
|
57 |
* 事由 |
|
58 |
*/ |
|
59 |
@TableField("reason") |
|
60 |
private String reason; |
|
61 |
|
|
62 |
|
|
63 |
public String getMyleaveId() { |
|
64 |
return myleaveId; |
|
65 |
} |
|
66 |
|
|
67 |
public void setMyleaveId(String myleaveId) { |
|
68 |
this.myleaveId = myleaveId; |
|
69 |
} |
|
70 |
|
|
71 |
public String getUsername() { |
|
72 |
return username; |
|
73 |
} |
|
74 |
|
|
75 |
public void setUsername(String username) { |
|
76 |
this.username = username; |
|
77 |
} |
|
78 |
|
|
79 |
public String getType() { |
|
80 |
return type; |
|
81 |
} |
|
82 |
|
|
83 |
public void setType(String type) { |
|
84 |
this.type = type; |
|
85 |
} |
|
86 |
|
|
87 |
public String getStarttime() { |
|
88 |
return starttime; |
|
89 |
} |
|
90 |
|
|
91 |
public void setStarttime(String starttime) { |
|
92 |
this.starttime = starttime; |
|
93 |
} |
|
94 |
|
|
95 |
public String getEndtime() { |
|
96 |
return endtime; |
|
97 |
} |
|
98 |
|
|
99 |
public void setEndtime(String endtime) { |
|
100 |
this.endtime = endtime; |
|
101 |
} |
|
102 |
|
|
103 |
public String getWhenlong() { |
|
104 |
return whenlong; |
|
105 |
} |
|
106 |
|
|
107 |
public void setWhenlong(String whenlong) { |
|
108 |
this.whenlong = whenlong; |
|
109 |
} |
|
110 |
|
|
111 |
public String getReason() { |
|
112 |
return reason; |
|
113 |
} |
|
114 |
|
|
115 |
public void setReason(String reason) { |
|
116 |
this.reason = reason; |
|
117 |
} |
|
118 |
|
|
119 |
@Override |
|
120 |
public String toString() { |
|
121 |
return "Myleave{" + |
|
122 |
"myleaveId=" + myleaveId + |
|
123 |
", username=" + username + |
|
124 |
", type=" + type + |
|
125 |
", starttime=" + starttime + |
|
126 |
", endtime=" + endtime + |
|
127 |
", whenlong=" + whenlong + |
|
128 |
", reason=" + reason + |
|
129 |
"}"; |
|
130 |
} |
|
131 |
} |