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

import com.baomidou.mybatisplus.annotation.TableField;
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.mp.base.BaseEntity;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 充电桩联网配置
 * </p>
 *
 * @author lyb
 * @since 2023-08-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
//@Accessors(chain = true)
@TableName("spc_station_network_config")
@ApiModel(value="SpcStationNetworkConfig对象", description="充电桩联网配置")
public class SpcStationNetworkConfig extends BaseEntity {

    /**
     * 充电站id
     */
    @ApiModelProperty(name = "stationId", value = "充电站id")
    @NotNull(message = "电站id不能为空")
    private Long stationId;

    @ApiModelProperty(name = "stationName", value = "充电站名称")
    @TableField(exist = false)
    private String stationName;
    @ApiModelProperty(name = "expireStatus", value = "过期状态（1：已到期，2：未到期）")
    @TableField(exist = false)
    private Integer expireStatus;

    @ApiModelProperty(name = "terminalName", value = "充电桩名称")
    @TableField(exist = false)
    private String terminalName;
    /**
     * 充电桩id
     */
    @ApiModelProperty(name = "terminalId", value = "充电桩id")
    @NotNull(message = "充电桩id不能为空")
    private Long terminalId;
    /**
     * 联网方式（1：有线，2：4G）
     */
    @ApiModelProperty(name = "networkType", value = "联网方式（1：有线，2：4G）")
    @NotNull(message = "联网方式不能为空")
    private Integer networkType;
    /**
     * 卡名称
     */
    @ApiModelProperty(name = "cardName", value = "卡名称")
    private String cardName;
    /**
     * 卡SICCID
     */
    @ApiModelProperty(name = "cardSiccid", value = "卡SICCID")
    private String cardSiccid;
    /**
     * 电话号码
     */
    @ApiModelProperty(name = "phoneNo", value = "电话号码")
    private String phoneNo;
    /**
     * 到期时间（年月日）
     */
    @ApiModelProperty(name = "expireTime", value = "到期时间（年月日）")
    private String expireTime;
    /**
     * 距离到期提醒天数
     */
    @ApiModelProperty(name = "remindDay", value = "距离到期提醒天数")
    private Integer remindDay;
    /**
     * 间隔天数
     */
    @ApiModelProperty(name = "intervalDay", value = "间隔天数")
    private Integer intervalDay;
    /**
     * 提醒方式（1：短信）
     */
    @ApiModelProperty(name = "remindType", value = "提醒方式（1：短信）")
    private Integer remindType;
    /**
     * 提醒手机号（多个，号拼接）
     */
    @ApiModelProperty(name = "remindPhone", value = "提醒手机号（多个，号拼接）")
    private String remindPhone;



}
