package com.cpop.system.business.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author DB
 * @version 1.0.0
 * @since 2024-03-13 10:23
 */
@Data
@Accessors(chain = true)
@Schema( description = "校区签约续费分页返回参数")
public class StoreSignRenewPageVo {

    /**
     * 签约id
     */
    @Schema(description = "签约id")
    private String id;

    /**
     * 校区id
     */
    @Schema(description = "校区id")
    private String storeId;

    /**
     * 校区名称
     */
    @Schema(description = "校区名称")
    private String storeName;

    /**
     * 生效版本
     */
    @Schema(description = "生效版本")
    private String takeEffectVersion;

    /**
     * 生效时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(description = "生效时间")
    private LocalDateTime takeEffectTime;

    /**
     * 到期日期
     */
    @Schema(description = "到期日期")
    private LocalDate expireDate;

    /**
     * 校区创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(description = "校区创建时间")
    private LocalDateTime createTime;
}
