package com.yuchen.saas.parking.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nest.springwrap.core.tenant.mp.TenantEntity;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "工作日、非工作日错时计划", description = "工作日、非工作日错时计划")
@TableName("parking_time_free_day_work_plan")
public class ParkingTimeFreeDayWorkPlan extends TenantEntity {

    private static final long serialVersionUID = 1L;
    /**
     * 停车场id
     */
    @ApiModelProperty(name = "parkingId",value = "停车场id")
    private Long parkingId;
    /**
     * 规则id
     */
    @ApiModelProperty(name = "ruleId",value = "规则id")
    private Long ruleId;
    /**
     * 是否开启工作日, 0 不开启 1 开启
     */
    @ApiModelProperty(name = "workingDayStatus",value = "是否开启工作日, 0 不开启 1 开启")
    private Boolean workingDayStatus;
    /**
     * 工作日开始时刻(48小时内的分钟数, 0 表示 00:00 2879 表示 47:59)
     */
    @ApiModelProperty(name = "workStartTime",value = "工作日开始时刻")
    private String workStartTime;
    /**
     * 工作日结束时刻(48小时内的分钟数, 0 表示 00:00 2879 表示 47:59)
     */
    @ApiModelProperty(name = "workEndTime",value = "工作日结束时刻")
    private String workEndTime;
    /**
     * 工作日跨天(0否1是)
     */
    @ApiModelProperty(name = "workSpanDays",value = "工作日跨天(0否1是)")
    private Integer workSpanDays;
    /**
     * 是否开启休息日, 0 不开启 1 开启
     */
    @ApiModelProperty(name = "playDayStatus",value = "是否开启休息日, 0 不开启 1 开启")
    private Boolean playDayStatus;
    /**
     * 休息日开始时刻(48小时内的分钟数, 0 表示 00:00 2879 表示 47:59)
     */
    @ApiModelProperty(name = "playStartTime",value = "休息日开始时刻(48小时内的分钟数, 0 表示 00:00 2879 表示 47:59)")
    private String playStartTime;
    /**
     * 休息日结束时刻(48小时内的分钟数, 0 表示 00:00 2879 表示 47:59)
     */
    @ApiModelProperty(name = "playEndTime",value = "休息日结束时刻(48小时内的分钟数, 0 表示 00:00 2879 表示 47:59)")
    private String playEndTime;
    /**
     * 休息日跨天(0否1是)
     */
    @ApiModelProperty(name = "playSpanDays",value = "休息日跨天(0否1是)")
    private Integer playSpanDays;
    /**
     * 支持按天订阅, 0 不支持 1 支持
     */
    @ApiModelProperty(name = "supportForDay",value = "支持按天订阅, 0 不支持 1 支持")
    private Boolean supportForDay;
    /**
     * 单天收费金额(分)
     */
    @ApiModelProperty(name = "amountOfDay",value = "单天收费金额(分)")
    private Long amountOfDay;
    /**
     * 至少订阅数量
     */
    @ApiModelProperty(name = "subCountAtLeastForDay",value = "至少订阅数量")
    private Integer subCountAtLeastForDay;
    /**
     * 支持按月订阅, 0 不支持 1 支持
     */
    @ApiModelProperty(name = "supportForMonth",value = "支持按月订阅, 0 不支持 1 支持")
    private Boolean supportForMonth;
    /**
     * 单月收费金额(分)
     */
    @ApiModelProperty(name = "amountOfMonth",value = "单月收费金额(分)")
    private Long amountOfMonth;
    /**
     * 至少订阅数量
     */
    @ApiModelProperty(name = "subCountAtLeastForMonth",value = "至少订阅数量")
    private Integer subCountAtLeastForMonth;
    /**
     * 支持按季订阅, 0 不支持 1 支持
     */
    @ApiModelProperty(name = "supportForQuarter",value = "支持按季订阅, 0 不支持 1 支持")
    private Boolean supportForQuarter;
    /**
     * 单季收费金额(分)
     */
    @ApiModelProperty(name = "amountOfQuarter",value = "单季收费金额(分)")
    private Long amountOfQuarter;
    /**
     * 至少订阅数量
     */
    @ApiModelProperty(name = "subCountAtLeastForQuarter",value = "至少订阅数量")
    private Integer subCountAtLeastForQuarter;
    /**
     * 支持按年订阅, 0 不支持 1 支持
     */
    @ApiModelProperty(name = "supportForYear",value = "支持按年订阅, 0 不支持 1 支持")
    private Boolean supportForYear;
    /**
     * 单年收费金额(分)
     */
    @ApiModelProperty(name = "amountOfYear",value = "单年收费金额(分)")
    private Long amountOfYear;
    /**
     * 至少订阅数量
     */
    @ApiModelProperty(name = "subCountAtLeastForYear",value = "至少订阅数量")
    private Integer subCountAtLeastForYear;
}
