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;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "错时计划订单", description = "错时计划订单")
@TableName("parking_time_free_order")
public class ParkingTimeFreeOrder extends TenantEntity {

    private static final long serialVersionUID = 1L;

    private Long parkId;

    private Long parkingId;

    private Long planId;

    private String subType;

    private Integer subCount;

    private Long payAmount;

    private Date effectiveTime;

    private Date expiredTime;

    private String userName;

    private String plateNo;

    private String phone;

    private Integer vehicleColor;

    private Long ruleId;

    /**
     * 免费状态 0 免费 1 不免费
     */
    @ApiModelProperty(name = "freeState", value = "免费状态 0 免费 1 不免费")
    private Integer freeState;
}
