package com.ruoyi.pay.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * 租户订阅信息视图对象 pay_sub_info
 *
 * @author ruoyi
 * @date 2025-05-13
 */
@Data
@ExcelIgnoreUnannotated
public class PaySubInfoVo {

    private static final long serialVersionUID = 1L;

    /**
     * 订阅ID
     */
    @ExcelProperty(value = "订阅ID")
    private Long id;

    /**
     * 公司ID
     */
    @ExcelProperty(value = "公司ID")
    private Long tenantId;

    /**
     * 公司名称
     */
    @ExcelProperty(value = "公司名称")
    private String companyName;

    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ExcelProperty(value = "开始时间")
    private Date startTime;

    /**
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ExcelProperty(value = "结束时间")
    private Date endTime;

    /**
     * 激活情况（0已激活 1停用）
     */
    @ExcelProperty(value = "激活情况", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=已激活,1=停用")
    private String active;

    /**
     * 订阅计划ID
     */
    @ExcelProperty(value = "订阅计划ID")
    private Long subplanId;

    /**
     * 订阅名称
     */
    @ExcelProperty(value = "订阅名称")
    private String subplanName;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
