package com.xinelu.manage.vo.shortmessagesendrecord;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinelu.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * 账单短信
 */
@Data
public class ShortMessageSendRecordVo {

    /**
     * 主键id
     */
    private Long id;

    /**
     * 患者id
     */
    @ApiModelProperty(value = "患者id")
    private Long patientId;

    /**
     * 患者姓名
     */
    @ApiModelProperty(value = "患者姓名")
    @Excel(name = "姓名")
    private String patientName;

    /**
     * 签约患者管理任务节点表id
     */
    @ApiModelProperty(value = "签约患者管理任务节点表id")
    private Long manageRouteNodeId;

    /**
     * 患者手机号
     */
    @ApiModelProperty(value = "患者手机号")
    @Excel(name = "手机号")
    private String patientPhone;

    /**
     * 消息发送时间
     */
    @ApiModelProperty(value = "消息发送时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "消息发送时间", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDateTime sendTime;

    /**
     * 消息模板id
     */
    @ApiModelProperty(value = "消息模板id")
    private String messageTemplateId;

    /**
     * 电话模板名称
     */
    @ApiModelProperty(value = "电话模板名称")
    @Excel(name = "模板名称")
    private String template;

    /**
     * 消息内容
     */
    @ApiModelProperty(value = "消息内容")
    private String messageNodeContent;

    /**
     * 短信长度
     */
    @ApiModelProperty(value = "短信长度")
    @Excel(name = "短信长度")
    private Long messageLength;

    /**
     * 短信数量
     */
    @ApiModelProperty(value = "短信数量")
    @Excel(name = "短信数量")
    private Long messageQuantity;

    /**
     * 短信单价
     */
    @ApiModelProperty(value = "短信单价")
    @Excel(name = "短信单价")
    private BigDecimal messageUnitPrice;

    /**
     * 短信价格
     */
    @ApiModelProperty(value = "短信价格")
    @Excel(name = "短信价格")
    private BigDecimal messageExpense;

    /**
     * 关联账单id
     */
    @ApiModelProperty(value = "关联账单id")
    private Long billId;

    /**
     * 关联账单名称
     */
    @ApiModelProperty(value = "关联账单名称")
    private String billName;
}
