package com.loan.system.domain.entity;

import lombok.*;

import javax.persistence.*;
import java.time.Instant;
@Builder
@Entity
@Table(name = "collateral_plan")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CollateralPlan extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @Column(name = "case_id")
    private Long caseId;

    @Column(name = "collateral_id")
    private Long collateralId;

    @Column(name = "user_id")
    private Long userId;

    @Column(name = "time")
    private String time;

    @Column(name = "place", length = 255)
    private String place;

    @Column(name = "flag", length = 10)
    private String flag;

    @Column(name = "comments")
    private String comments;

    @Column(name = "create_time")
    private String  createTime;

    @Column(name = "update_time")
    private String  updateTime;

    @Column(name = "is_delete")
    private Boolean isDelete;

    @Column(name = "status", length = 10)
    private String status;

    @Column(name="operator_id")
    private Long operatorId;

    @Column(name="operator_name")
    private String operatorName;
}
