package com.yc.ship.module.trade.controller.admin.insurance.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 订单保险信息新增/修改 Request VO")
@Data
public class InsuranceSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "13856")
    private Long id;

    @Schema(description = "订单ID", example = "3807")
    private Long orderId;

    @Schema(description = "保险流水号")
    private String insuranceNo;

    @Schema(description = "保险状态   1:成功,2:失败", example = "1")
    private Integer insuranceStatus;

    @Schema(description = "保费")
    private BigDecimal premium;

    @Schema(description = "保单保额")
    private BigDecimal amount;

    @Schema(description = "被保人数")
    private Integer insuredNum;

    @Schema(description = "保单号")
    private String policyNo;

    @Schema(description = "投保单号")
    private String proposalNo;

    @Schema(description = "电子保单")
    private String electronicPolicy;

    @Schema(description = "产品代码", example = "1")
    private String rationType;

    @Schema(description = "险种代码")
    private String riskCode;

    @Schema(description = "投保人姓名", example = "李四")
    private String holderName;

    @Schema(description = "投保人证件号码")
    private String holderNo;

    @Schema(description = "保险生效日期")
    private LocalDateTime insuranceEffectDate;

}