package org.jeecg.modules.system.app.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Schema(description = "用户签约合同列表查询返回数据")
@Data
@Accessors(chain = true)
public class ContractSignVO {
    @Schema(description = "合同签约主键ID")
    private String id;

    @Schema(description = "关联产品名称")
    private String productName;

    @Schema(description = "家庭成员姓名")
    private String fullName;

    @Schema(description = "是否签署 0、未签 1、已签")
    private Integer isSign;

    @Schema(description = "联系电话")
    private String phone;
    @JsonFormat(timezone = "GMT+8",pattern = "MM-dd")
    @DateTimeFormat(pattern="MM-dd")
    @Schema(description = "创建时间（合同签约记录创建时间）")
    private Date createTime;
    @JsonFormat(timezone = "GMT+8",pattern = "MM-dd")
    @DateTimeFormat(pattern="MM-dd")
    @Schema(description = "签约完成时间")
    private Date signTime;

    @Schema(description = "sign_flow_id")
    private String signFlowId;
}