zjh
2025-04-24 672ce84d5ce6545a0e81709ea736c69cbbef8c1a
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
package com.ltkj.hosp.domain;
 
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ltkj.common.annotation.Excel;
import com.ltkj.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
 
/**
 * 体检团队选择记录对象 tj_team_select_record
 *
 * @author ltkj
 * @date 2023-03-15
 */
 
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "体检团队选择记录对象")
public class TjTeamSelectRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;
 
    /**
     *id
     */
    @TableId
    private String id;
 
    /**
     * 单位id
     */
    @Excel(name = "单位id")
    @ApiModelProperty(value = "单位id")
    private String compId;
 
    /**
     * 合同id
     */
    @Excel(name = "合同id")
    @ApiModelProperty(value = "合同id")
    private String agreementId;
 
    /**
     * 所选套餐
     */
    @ApiModelProperty(value = "所选套餐")
    private String pacId;
 
    @ApiModelProperty(value = "套餐名")
    @TableField(exist = false)
    private String pacName;
 
    /**
     * 所选单项ids
     */
    @ApiModelProperty(value = "所选单项ids")
    private String proIds;
    /**
     * 体检人数
     */
    @Excel(name = "体检人数")
    @ApiModelProperty(value = "体检人数")
    private Integer count;
 
    @ApiModelProperty(value = "实检人数")
    @TableField(exist = false)
    private Integer sjCount;
 
    /**
     * 交易金额
     */
    @Excel(name = "已付金额")
    @ApiModelProperty(value = "已付金额")
    private BigDecimal transactionAmount;
 
    /**
     * 体检类别
     */
    @ApiModelProperty(value = "体检类别")
    private String tjPacType;
 
    /**
     * 团队编号
     */
    @Excel(name = "团队编号")
    @ApiModelProperty(value = "团队编号")
    private String teamNo;
 
    @ApiModelProperty(value = "结账明细表")
    @TableField(exist = false)
    private List<TjCompPayInfo> payInfoList;
    @ApiModelProperty(value = "结账明细表")
    @TableField(exist = false)
    private TjCompPayInfo payInfo;
    /**
     * 签约金额
     */
    @ApiModelProperty(value = "应收金额")
    @TableField(exist = false)
    private BigDecimal copeWith;
 
    @ApiModelProperty(value = "签约金额")
    @TableField(exist = false)
    private BigDecimal signingPrice;
    /**
     * 剩余金额
     */
    @ApiModelProperty(value = "剩余金额")
    private BigDecimal difference;
    /**
     * 签约人
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "签约人")
    private String payer;
 
    @ApiModelProperty(value = "单项(父项)")
    @TableField(exist = false)
    private List<TjProject> tjProjectList;
 
 
    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
 
    /**
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
 
 
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("compId", getCompId())
                .append("agreementId", getAgreementId())
                .append("pacId", getPacId())
                .append("proIds", getProIds())
                .append("count", getCount())
                .append("transactionAmount", getTransactionAmount())
                .append("teamNo", getTeamNo())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("deleted", getDeleted())
                .toString();
    }
}