提交 | 用户 | age
|
739bf5
|
1 |
package com.hx.phip.model; |
C |
2 |
|
|
3 |
import com.fasterxml.jackson.annotation.JsonFormat; |
|
4 |
import com.gitee.sunchenbin.mybatis.actable.annotation.Column; |
|
5 |
import com.gitee.sunchenbin.mybatis.actable.annotation.Table; |
|
6 |
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant; |
|
7 |
import com.hx.phiappt.model.BaseEntity; |
|
8 |
import org.springframework.format.annotation.DateTimeFormat; |
|
9 |
|
|
10 |
import java.util.Date; |
|
11 |
|
|
12 |
/** |
|
13 |
* @Author 张旭 基础信息同步日志 |
|
14 |
* 2024-04-24 废弃该表 |
|
15 |
*/ |
|
16 |
//@Table(name = "sync_basic_information") |
|
17 |
public class SyncBasicInformationRecord extends BaseEntity { |
|
18 |
|
|
19 |
//请求参数 |
|
20 |
@Column(comment = "请求参数", type = MySqlTypeConstant.TEXT) |
|
21 |
private String requestParameters; |
|
22 |
//返回参数 |
|
23 |
@Column(comment = "返回参数", type = MySqlTypeConstant.TEXT) |
|
24 |
private String returnParameters; |
|
25 |
//1 初始化 2定时 3 场景触发 4心跳 |
|
26 |
@Column(comment = "同步类型", length = 2, type = MySqlTypeConstant.TINYINT) |
|
27 |
private Integer type; |
|
28 |
//1 渠道 2 设备参数 3 员工 4 物料分类 5 商品 6 门店 7 科室 8诊所的治疗房间,手术房间 9标签 10 仓库 11 库存 12:咨询记录 13:病例模板 14:病例 15:处方模板 16:处方 17:会员等级变更记录 |
|
29 |
@Column(comment = "模块", length = 2, type = MySqlTypeConstant.TINYINT) |
|
30 |
private Integer modular; |
|
31 |
|
|
32 |
@Column(comment = "成功次数", length = 8, type = MySqlTypeConstant.INT) |
|
33 |
private Integer successNumber; |
|
34 |
|
|
35 |
@Column(comment = "失败次数", length = 8, type = MySqlTypeConstant.INT) |
|
36 |
private Integer failNumber; |
|
37 |
|
|
38 |
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
|
39 |
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") |
|
40 |
@Column(comment="开始时间",type = MySqlTypeConstant.DATETIME) |
|
41 |
private Date startTime; |
|
42 |
|
|
43 |
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
|
44 |
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") |
|
45 |
@Column(comment="结束时间",type = MySqlTypeConstant.DATETIME) |
|
46 |
private Date endTime; |
|
47 |
|
|
48 |
|
|
49 |
public SyncBasicInformationRecord() { |
|
50 |
} |
|
51 |
|
|
52 |
public SyncBasicInformationRecord(Integer type, Integer modular, Integer successNumber, Integer failNumber) { |
|
53 |
this.type = type; |
|
54 |
this.modular = modular; |
|
55 |
this.successNumber = successNumber; |
|
56 |
this.failNumber = failNumber; |
|
57 |
} |
|
58 |
|
|
59 |
public String getRequestParameters() { |
|
60 |
return requestParameters; |
|
61 |
} |
|
62 |
|
|
63 |
public void setRequestParameters(String requestParameters) { |
|
64 |
this.requestParameters = requestParameters; |
|
65 |
} |
|
66 |
|
|
67 |
public String getReturnParameters() { |
|
68 |
return returnParameters; |
|
69 |
} |
|
70 |
|
|
71 |
public void setReturnParameters(String returnParameters) { |
|
72 |
this.returnParameters = returnParameters; |
|
73 |
} |
|
74 |
|
|
75 |
public Integer getType() { |
|
76 |
return type; |
|
77 |
} |
|
78 |
|
|
79 |
public void setType(Integer type) { |
|
80 |
this.type = type; |
|
81 |
} |
|
82 |
|
|
83 |
public Integer getModular() { |
|
84 |
return modular; |
|
85 |
} |
|
86 |
|
|
87 |
public void setModular(Integer modular) { |
|
88 |
this.modular = modular; |
|
89 |
} |
|
90 |
|
|
91 |
public Integer getSuccessNumber() { |
|
92 |
return successNumber; |
|
93 |
} |
|
94 |
|
|
95 |
public void setSuccessNumber(Integer successNumber) { |
|
96 |
this.successNumber = successNumber; |
|
97 |
} |
|
98 |
|
|
99 |
public Integer getFailNumber() { |
|
100 |
return failNumber; |
|
101 |
} |
|
102 |
|
|
103 |
public void setFailNumber(Integer failNumber) { |
|
104 |
this.failNumber = failNumber; |
|
105 |
} |
|
106 |
|
|
107 |
public Date getStartTime() { |
|
108 |
return startTime; |
|
109 |
} |
|
110 |
|
|
111 |
public void setStartTime(Date startTime) { |
|
112 |
this.startTime = startTime; |
|
113 |
} |
|
114 |
|
|
115 |
public Date getEndTime() { |
|
116 |
return endTime; |
|
117 |
} |
|
118 |
|
|
119 |
public void setEndTime(Date endTime) { |
|
120 |
this.endTime = endTime; |
|
121 |
} |
|
122 |
} |