| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- package com.loan.system.domain.entity;
- import lombok.*;
- import javax.persistence.*;
- import java.math.BigDecimal;
- import java.time.Instant;
- @Entity
- @Table(name = "contract")
- @Data
- @AllArgsConstructor
- @NoArgsConstructor
- public class Contract extends BaseEntity{
- private static final long serialVersionUID = 4L;
- @Column(name = "business_attr", length = 200)
- private String businessAttr;
- @Column(name = "case_id")
- private Long caseId;
- @Column(name = "customer_id")
- private Long customerId;
- @Column(name = "customer_id1")
- private Long customerId1;
- @Column(name = "customer_id2")
- private Long customerId2;
- @Column(name = "contract_no", length = 50)
- private String contractNo;
- @Column(name = "contract_name", length = 50)
- private String contractName;
- @Column(name = "contract_amount", precision = 18, scale = 2)
- private Double contractAmount;
- @Column(name = "actual_amount", precision = 18, scale = 2)
- private Double actualAmount;
- @Column(name = "is_disbursement_complete")
- Boolean isDisbursementComplete;
- @Column(name = "interest_rate", precision = 5, scale = 4)
- private Double interestRate;//暂时没用
- @Column(name = "interest_amount", precision = 18, scale = 2)
- private Double interestAmount;
- @Column(name = "cleared_status",length = 10)
- private String clearedStatus;
- @Column(name = "cleared_time")
- private String clearedTime;
- @Column(name = "loan_period")
- private Integer loanPeriod;
- @Column(name = "finance_user_id",length = 20)
- private Long financeUserId;
- @Column(name = "signed_by_customer")
- private Boolean signedByCustomer;
- @Column(name = "commited_id")
- private Long commitedId;
- @Column(name = "signed_id")
- private Long signedId;
- @Column(name = "signed_time")
- private String signedTime;
- @Column(name = "is_push")
- private Boolean isPush;
- @Column(name = "amount_rate")
- private Double amountRate;
- @Column(name = "service_cost")
- private Double serviceCost;
- @Column(name = "loan_rate")
- private Double loanRate;
- @Column(name = "create_time")
- private String createTime;
- @Column(name = "update_time")
- private String updateTime;
- @Column(name = "is_delete")
- private Boolean isDelete;
- }
|