liusheng
6 天以前 24166f2d9ae0bb72f061a38b96a113b1b6e44fbc
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
package com.smartor.domain;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.util.Date;
 
/**
 * 【请填写功能名称】对象 pat_service_contract
 *
 * @author lihu
 * @date 2025-12-08
 */
@Data
@ApiModel("【请填写功能名称】")
public class PatServiceContract extends BaseEntity
        {
private static final long serialVersionUID = 1L;
 
    /** $column.columnComment */
    @ApiModelProperty("$column.columnComment")
    private Long id;
 
    /** 合同编号(规则:HSP-YYYYMMDD-序号) */
    @ApiModelProperty("合同编号(规则:HSP-YYYYMMDD-序号)")
            @Excel(name = "合同编号", readConverterExp = "规=则:HSP-YYYYMMDD-序号")
    private String contractNo;
 
    /** $column.columnComment */
    @ApiModelProperty("$column.columnComment")
            @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long patId;
 
    /** 合同分类 */
    @ApiModelProperty("合同分类")
            @Excel(name = "合同分类")
    private String contractType;
 
    /** 销售渠道(线下、官网、APP、医生推荐) */
    @ApiModelProperty("销售渠道(线下、官网、APP、医生推荐)")
            @Excel(name = "销售渠道", readConverterExp = "线=下、官网、APP、医生推荐")
    private String salesChannel;
 
    /** 签约金额 */
    @ApiModelProperty("签约金额")
            @Excel(name = "签约金额")
    private String contractAmount;
 
    /** 支付状态(1:未支付, 2:部分支付, 3:已支付, 4:退款中, 5:已退款) */
    @ApiModelProperty("支付状态(1:未支付, 2:部分支付, 3:已支付, 4:退款中, 5:已退款)")
            @Excel(name = "支付状态", readConverterExp = "1=:未支付,,2=:部分支付,,3=:已支付,,4=:退款中,,5=:已退款")
    private String paymentStatus;
 
    /** 合同状态(1:待生效, 2:生效中, 3:已暂停, 4:已到期, 5:提前终止) */
    @ApiModelProperty("合同状态(1:待生效, 2:生效中, 3:已暂停, 4:已到期, 5:提前终止)")
            @Excel(name = "合同状态", readConverterExp = "1=:待生效,,2=:生效中,,3=:已暂停,,4=:已到期,,5=:提前终止")
    private String contractStatus;
 
    /** 服务开始日期 */
    @ApiModelProperty("服务开始日期")
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
            @Excel(name = "服务开始日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startDate;
 
    /** 服务结束日期 */
    @ApiModelProperty("服务结束日期")
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
            @Excel(name = "服务结束日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;
 
    /** 实际终止日期 */
    @ApiModelProperty("实际终止日期")
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
            @Excel(name = "实际终止日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date actualEndDate;
 
    /** 父ID */
    @ApiModelProperty("父ID")
            @Excel(name = "父ID")
    private Long pid;
 
    /** guid */
    @ApiModelProperty("guid")
            @Excel(name = "guid")
    private String guid;
 
    /** 删除标志(0:未删除 1:已删除) */
    @ApiModelProperty("删除标志(0:未删除 1:已删除)")
    private Long delFlag;
 
    /** 医院机构id */
    @ApiModelProperty("医院机构id")
            @Excel(name = "医院机构id")
    private String orgid;
 
    /** 是否自动续约 */
    @ApiModelProperty("是否自动续约")
            @Excel(name = "是否自动续约")
    private String autoRenew;
 
    /** 续约提醒提前天数 */
    @ApiModelProperty("续约提醒提前天数")
            @Excel(name = "续约提醒提前天数")
    private Long renewalReminderDays;
 
    /** 特殊条款备注 */
    @ApiModelProperty("特殊条款备注")
            @Excel(name = "特殊条款备注")
    private String specialTerms;
 
    /** 签约时间 */
    @ApiModelProperty("签约时间")
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
            @Excel(name = "签约时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date signedAt;
 
    /** 患者是否已电子签约 */
    @ApiModelProperty("患者是否已电子签约")
            @Excel(name = "患者是否已电子签约")
    private String signedByPatient;
 
    /** 医院是否已确认 */
    @ApiModelProperty("医院是否已确认")
            @Excel(name = "医院是否已确认")
    private String signedByHospital;
 
    /** 提前终止原因 */
    @ApiModelProperty("提前终止原因")
            @Excel(name = "提前终止原因")
    private String cancellationReason;
 
    /** 终止时间 */
    @ApiModelProperty("终止时间")
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
            @Excel(name = "终止时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date cancelledAt;
 
        }