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

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 评价管理
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Schema(description="投保信息请求入参")
public class FindInsureOrderPageResponseDTO{


    @Schema(description = "id")
    private String id;

    @Schema(description = "保险订单编号")
    private String bdOrderNo;
    /**保险公司*/
    @Schema(description = "保险公司")
    private String insureCompany;
    /**方案名称*/
    @Schema(description = "方案名称")
    private String insureName;
    /**投保人*/
    @Schema(description = "投保人")
    private String fullName;
    /**发布单位*/
    @Excel(name = "发布单位", width = 15)
    @Schema(description = "手机号")
    private String phone;
    /**部门编码*/
    @Excel(name = "身份证号", width = 15)
    @Schema(description = "身份证号")
    private String identityCard;
    /**生效开始时间*/
    @Excel(name = "生效开始时间", width = 20, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Schema(description = "生效开始时间")
    private Date assertStartTime;
    /**生效结束时间*/
    @Excel(name = "生效结束时间", width = 20, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Schema(description = "生效结束时间")
    private Date assertEndTime;
    /**是否录入系统 0-否 1-是*/
    @Excel(name = "是否录入系统 0-否 1-是", width = 15)
    @Schema(description = "是否录入系统 0-否 1-是")
    private Integer isEnterSystem;
    /**创建时间;创建时间*/
    @Excel(name = "付款时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "付款时间")
    private Date payTime;


}
