李白
昨天 a0a32468bd6f5e887938674d3c2cf70cc2f555b8
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
package com.by4cloud.platformx.business.entity;
 
import com.by4cloud.platformx.common.data.mybatis.BaseModel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.util.Date;
 
/**
 * 合同收款计划/履约节点实体类
 * 统一管理合同的收款阶段、履约节点、收款比例及履约时间节点
 *
 * @author xfei
 * @date 2024-01-15
 */
@Data
@Entity
@Table(name = "contract_payment_schedule_process")
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class ContractPaymentScheduleProcess extends BaseModel<ContractPaymentScheduleProcess> {
 
    @Schema(description = "关联合同ID")
    @Column(columnDefinition = "bigint not null comment '关联合同ID'")
    private Long contractId;
 
    @Schema(description = "合同名称")
    @Column(columnDefinition = "VARCHAR(64) comment '合同名称'")
    private String contractName;
 
    @Schema(description = "阶段ID")
    @Column(columnDefinition = "bigint comment '阶段ID'")
    private Long scheduleId;
 
    @Schema(description = "阶段名称")
    @Column(columnDefinition = "VARCHAR(64) comment '阶段名称'")
    private String scheduleName;
 
    @Schema(description = "履约时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Column(columnDefinition = "date comment '履约时间'")
    private Date processDate;
 
    @Schema(description = "履约单据名称")
    @Column(columnDefinition="text comment '履约单据名称'")
    private String outBoundAttNames;
 
    @Schema(description = "履约单据路径")
    @Column(columnDefinition="text comment '履约单据路径'")
    private String outBoundAttPaths;
}