package com.yc.ship.module.trade.controller.admin.billrule.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;
import java.util.List;

@Schema(description = "管理后台 - 旅行社账单规则 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BillRuleRespVO {

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

    @Schema(description = "账单规则名字", example = "王五")
    @ExcelProperty("账单规则名字")
    private String name;

    @Schema(description = "账单规则类型", example = "1")
    @ExcelProperty("账单规则类型")
    private Integer type;

    @Schema(description = "还款日")
    @ExcelProperty("还款日")
    private Integer repaymentDate;

    @Schema(description = "还款日时间")
    @ExcelProperty("还款日时间")
    private String repaymentTime;

    @Schema(description = "生成日")
    @ExcelProperty("生成日")
    private Integer generationDate;

    @Schema(description = "生成日时间")
    @ExcelProperty("生成日时间")
    private String generationTime;

    @Schema(description = "逾期天数")
    @ExcelProperty("逾期天数")
    private Integer overdueType;

    @Schema(description = "旅行社")
    @ExcelProperty("旅行社")
    private List<Long> distributorIds;

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

}