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

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 短信发送配置 Response VO")
@Data
@ExcelIgnoreUnannotated
public class SmsSendconfigQueryRespVO {

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

    @Schema(description = "短信标题", example = "李四")
    @ExcelProperty("短信标题")
    private String smsName;

    @Schema(description = "航次名称", example = "李四")
    @ExcelProperty("航次名称")
    private String voyageName;

    @Schema(description = "航线名称", example = "李四")
    @ExcelProperty("航线名称")
    private String routeName;

    @Schema(description = "游船名称", example = "李四")
    @ExcelProperty("游船名称")
    private String shipName;

    @Schema(description = "团号", example = "李四")
    @ExcelProperty("团号")
    private String groupNo;

    @Schema(description = "模板类型", example = "2")
    @ExcelProperty("模板类型")
    private Integer smsType;

    @Schema(description = "apiKey", example = "2")
    private String apiKey;
    @Schema(description = "apiSecret", example = "2")
    private String apiSecret;
    @Schema(description = "apiUrl", example = "2")
    private String apiUrl;

    @Schema(description = "模板ID", example = "29269")
    private String apiTemplateId;
    private String signature;

    @Schema(description = "模板ID", example = "29269")
    @ExcelProperty("模板ID")
    private Long smsTemplateId;

    @Schema(description = "模板内容")
    @ExcelProperty("模板内容")
    private String smsContent;

    @Schema(description = "模板参数数组类型")
    @ExcelProperty("模板参数数组类型")
    private String smsParms;

    @Schema(description = "1.立即发送 2.定时发送 立即发送：当天的关联产品的所有订单联系人发送短信；针对后续订单，订单创建后立即发送短信；		定时发送：发送时间点（出发前1天17点）对关联产品的订单联系人发送短信；针对后续订单，订单创建后立即发送短信", example = "1")
    @ExcelProperty("1.立即发送 2.定时发送 立即发送：当天的关联产品的所有订单联系人发送短信；针对后续订单，订单创建后立即发送短信；		定时发送：发送时间点（出发前1天17点）对关联产品的订单联系人发送短信；针对后续订单，订单创建后立即发送短信")
    private Integer sendType;

    @Schema(description = "1.出行前一天  2.出行当天", example = "2")
    @ExcelProperty("1.出行前一天  2.出行当天")
    private Integer sendDateType;

    @Schema(description = "发送时间 17:30")
    @ExcelProperty("发送时间 17:30")
    private String sendTime;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "是否启用")
    @ExcelProperty("是否启用")
    private Boolean isUse;
    private Integer status;
    private String result;
    private String channelCode;
    private String templateParams;
    private Long productId;
    private String productName;
    private String shortName;
    private String orderNo;
    private String useDate;
    private int num;
    private String sourceName;
    private String contactName;
    private String mobile;
    private String startTime;
    private String leaveTime;


    private String sellerId;
    private String telphone;
    private Long tenantId;



}