Contract.java 8.01 KB
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 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 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414
package com.thinkgem.jeesite.modules.eci.entity;

import java.io.Serializable;
import java.util.List;

/**
 * 合同详情
 */
public class Contract implements Serializable {

    private static final long serialVersionUID = 8444369877748311005L;
    /**
     * 合同ID
     */
    private Long id;

    /**
     * 合同的唯一标识,由调用方生成
     */
    private String bizId;

    /**
     * 合同主题
     */
    private String subject;

    /**
     * 合同编号
     */
    private String sn;

    /**
     * 描述
     */
    private String description;

    /**
     * 是否顺序签署
     */
    private Boolean ordinal;

    /**
     * 合同状态:DRAFT(草稿),SIGNING(签署中),COMPLETE(已完成),REJECTED(已退回),RECALLED(已撤回),EXPIRED(已过期),FILLING(拟定中),TERMINATING(作废确认中),TERMINATED(已作废),DELETE(已删除),FINISHED(已完成)
     */
    private String status;

    /**
     * 合同分类
     */
    private Long categoryId;

    /**
     * 合同分类名称
     */
    private String categoryName;

    /**
     * 合同具体发起人ID
     */
    private Long creatorId;

    /**
     * 创建人名称
     */
    private String creatorName;

    /**
     * 合同具体发起人类型:CORPORATE(平台方),INNER_COMPANY(内部企业),PERSONAL(个人)
     */
    private String creatorType;

    /**
     * 创建人在发起方中的员工编号(用于创建人为个人)
     */
    private String creatorNumber;

    /**
     * 合同发起方ID
     */
    private Long tenantId;

    /**
     * 发起方名称
     */
    private String tenantName;

    /**
     * 合同发起方类型:CORPORATE(平台方),COMPANY(外部企业),INNER_COMPANY(内部企业),PERSONAL(个人)
     */
    private String tenantType;

    /**
     * 合同最后更新时间;格式yyyy-MM-dd HH:mm:ss
     */
    private String updateTime;

    /**
     * 合同过期时间;格式yyyy-MM-dd HH:mm:ss
     */
    private String expireTime;

    /**
     * 合同创建时间;格式yyyy-MM-dd HH:mm:ss
     */
    private String createTime;

    /**
     * 合同拒绝/撤回原因
     */
    private String comments;

    /**
     * 是否可退回
     */
    private Boolean rejectable;

    /**
     * 是否可撤回
     */
    private Boolean recallable;

    /**
     * 是否可作废
     */
    private Boolean cancelable;

    /**
     * 是否可面对面签署
     */
    private Boolean faceSign;

    /**
     * 是否可拒绝作废
     */
    private Boolean rejectCancel;

    /**
     * 文档信息集合
     */
    private List<DocumentResponse> documents;

    /**
     * 签署方集合
     */
    private List<SignatoryResponse> signatories;

    /**
     * 用户的业务数据
     */
    private String businessData;

    /**
     * 签署code
     */
    private Integer signCode;

    /**
     * 剩余打印次数,-1表示无限制
     */
    private Integer leftPrintCount;

    /**
     * 合同类型: NORMAL(标准合同)、OFFLINE(线下合同)
     */
    private String type;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBizId() {
        return bizId;
    }

    public void setBizId(String bizId) {
        this.bizId = bizId;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Boolean getOrdinal() {
        return ordinal;
    }

    public void setOrdinal(Boolean ordinal) {
        this.ordinal = ordinal;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    public String getCreatorName() {
        return creatorName;
    }

    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName;
    }

    public String getCreatorType() {
        return creatorType;
    }

    public void setCreatorType(String creatorType) {
        this.creatorType = creatorType;
    }

    public String getCreatorNumber() {
        return creatorNumber;
    }

    public void setCreatorNumber(String creatorNumber) {
        this.creatorNumber = creatorNumber;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

    public String getTenantName() {
        return tenantName;
    }

    public void setTenantName(String tenantName) {
        this.tenantName = tenantName;
    }

    public String getTenantType() {
        return tenantType;
    }

    public void setTenantType(String tenantType) {
        this.tenantType = tenantType;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(String expireTime) {
        this.expireTime = expireTime;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public Boolean getRejectable() {
        return rejectable;
    }

    public void setRejectable(Boolean rejectable) {
        this.rejectable = rejectable;
    }

    public Boolean getRecallable() {
        return recallable;
    }

    public void setRecallable(Boolean recallable) {
        this.recallable = recallable;
    }

    public Boolean getCancelable() {
        return cancelable;
    }

    public void setCancelable(Boolean cancelable) {
        this.cancelable = cancelable;
    }

    public Boolean getFaceSign() {
        return faceSign;
    }

    public void setFaceSign(Boolean faceSign) {
        this.faceSign = faceSign;
    }

    public Boolean getRejectCancel() {
        return rejectCancel;
    }

    public void setRejectCancel(Boolean rejectCancel) {
        this.rejectCancel = rejectCancel;
    }

    public List<DocumentResponse> getDocuments() {
        return documents;
    }

    public void setDocuments(List<DocumentResponse> documents) {
        this.documents = documents;
    }

    public List<SignatoryResponse> getSignatories() {
        return signatories;
    }

    public void setSignatories(List<SignatoryResponse> signatories) {
        this.signatories = signatories;
    }

    public String getBusinessData() {
        return businessData;
    }

    public void setBusinessData(String businessData) {
        this.businessData = businessData;
    }

    public Integer getSignCode() {
        return signCode;
    }

    public void setSignCode(Integer signCode) {
        this.signCode = signCode;
    }

    public Integer getLeftPrintCount() {
        return leftPrintCount;
    }

    public void setLeftPrintCount(Integer leftPrintCount) {
        this.leftPrintCount = leftPrintCount;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}