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

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 ContractSignDTO{
    public Integer pageNo;
    public Integer pageSize;
    @JsonFormat(timezone = "GMT+8",pattern = "MM-dd")
    @DateTimeFormat(pattern="MM-dd")
    private Date startTime;
    @JsonFormat(timezone = "GMT+8",pattern = "MM-dd")
    @DateTimeFormat(pattern="MM-dd")
    private Date endTime;
    @Schema(description = "关联产品名称")
    private String productName;

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

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

    @Schema(description = "联系电话")
    private String phone;
    private String OrgCode;
    @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;
}
