InsureLog.java 4.05 KB
Newer Older
翁国栋 committed
1 2 3
package cn.timer.api.bean.insure;

import com.baomidou.mybatisplus.annotation.IdType;
翁国栋 committed
4
import com.baomidou.mybatisplus.annotation.TableField;
翁国栋 committed
5 6 7 8 9 10 11 12 13
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

翁国栋 committed
14
import javax.persistence.*;
翁国栋 committed
15 16
import java.io.Serializable;
import java.util.Date;
翁国栋 committed
17
import java.util.List;
翁国栋 committed
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33


/**
 *
 *
 * @author wgd
 * @email 862422848@qq.com
 * @date 2022-03-22 09:55:46
 */
@Entity
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "insure_log")
@ApiModel("投保日志")
翁国栋 committed
34
public class InsureLog extends Model<InsureLog> {
翁国栋 committed
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
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue
	@TableId(type = IdType.AUTO)
	@ApiModelProperty(value = "编号")
	private Integer id;
	/**
	* 请求路径
	*/
	private String requestPath;
	/**
	* 请求参数
	*/
	private String requestData;
	/**
	* 请求参数
	*/
	private String requestParam;
	/**
	* 请求时间
	*/
	private Date createTime;
	/**
	* 返回时间
	*/
	private Date returnTime;
	/**
	* 返回编码
	*/
	private String returnCode;
	/**
	* 返回参数
	*/
	private String returnBody;
	/**
	* 返回编码文本
	*/
	private String returnMsg;
	/**
	* 请求流水号
	*/
	private String transId;
	/**
	* 类型:1成功 2失败 3等待
	*/
	private Integer type;
	/**
	 * 请求方式1 post 2get 3put
	 */
	private Integer requestType;

翁国栋 committed
87 88
	private Integer policyId;

翁国栋 committed
89

翁国栋 committed
90
	public String fileUrl;
翁国栋 committed
91 92 93 94 95 96 97 98 99
	private Integer userType;
	private String userName;
	private String companyName;
	private Integer requestResults;

	@Transient
	@TableField(exist = false)
	@ApiModelProperty(value = "组管理员id")
	private String policyNo;
翁国栋 committed
100

翁国栋 committed
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 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232
	/**
	 * 设置:
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取:
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置:请求路径
	 */
	public void setRequestPath(String requestPath) {
		this.requestPath = requestPath;
	}
	/**
	 * 获取:请求路径
	 */
	public String getRequestPath() {
		return requestPath;
	}
	/**
	 * 设置:请求参数
	 */
	public void setRequestData(String requestData) {
		this.requestData = requestData;
	}
	/**
	 * 获取:请求参数
	 */
	public String getRequestData() {
		return requestData;
	}
	/**
	 * 设置:请求参数
	 */
	public void setRequestParam(String requestParam) {
		this.requestParam = requestParam;
	}
	/**
	 * 获取:请求参数
	 */
	public String getRequestParam() {
		return requestParam;
	}
	/**
	 * 设置:请求时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取:请求时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置:返回时间
	 */
	public void setReturnTime(Date returnTime) {
		this.returnTime = returnTime;
	}
	/**
	 * 获取:返回时间
	 */
	public Date getReturnTime() {
		return returnTime;
	}
	/**
	 * 设置:返回编码
	 */
	public void setReturnCode(String returnCode) {
		this.returnCode = returnCode;
	}
	/**
	 * 获取:返回编码
	 */
	public String getReturnCode() {
		return returnCode;
	}
	/**
	 * 设置:返回参数
	 */
	public void setReturnBody(String returnBody) {
		this.returnBody = returnBody;
	}
	/**
	 * 获取:返回参数
	 */
	public String getReturnBody() {
		return returnBody;
	}
	/**
	 * 设置:返回编码文本
	 */
	public void setReturnMsg(String returnMsg) {
		this.returnMsg = returnMsg;
	}
	/**
	 * 获取:返回编码文本
	 */
	public String getReturnMsg() {
		return returnMsg;
	}
	/**
	 * 设置:请求流水号
	 */
	public void setTransId(String transId) {
		this.transId = transId;
	}
	/**
	 * 获取:请求流水号
	 */
	public String getTransId() {
		return transId;
	}
	/**
	 * 设置:类型:1成功 2失败 3等待
	 */
	public void setType(Integer type) {
		this.type = type;
	}
	/**
	 * 获取:类型:1成功 2失败 3等待
	 */
	public Integer getType() {
		return type;
	}
翁国栋 committed
233

翁国栋 committed
234

翁国栋 committed
235
}