package com.bonus.sharedstation.app.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.bonus.sharedstation.common.pojo.PageDTO;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 车辆服务信息实体类
 *
 * @author 云归
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("yz_car_service")
public class CarPageDTO extends PageDTO implements java.io.Serializable {

    private static final long serialVersionUID = 6197622378439433176L;
    /**
     * 唯一标识符
     */
    private Integer id;

    /**
     * 服务类型，如车辆年检、车辆保险等
     */
    private String serviceType;

    /**
     * 服务描述
     */
    private String serviceDescription;

    /**
     * 服务提供商的名称
     */
    private String providerName;

    /**
     * 服务提供商的简介
     */
    private String providerDescription;

    /**
     * 服务提供商的联系电话
     */
    private String contactPhone;

    /**
     * 颜色
     */
    private String color;
    /**
     * 微信二维码的URL链接
     */
    private String wechatQrcodeUrl;

    private String logAddress;

    /**
     * 创建人
     */
    private String createdBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatedTime;
    /**
     * 修改人
     */
    private String updatedBy;
    /**
     * 逻辑删除标识，1表示已删除，0表示未删除
     */
    private String isDeleted;

    @Override
    public String toString() {
        return "CarServiceDTO{" +
                "id=" + id +
                ", serviceType='" + serviceType + '\'' +
                ", serviceDescription='" + serviceDescription + '\'' +
                ", providerName='" + providerName + '\'' +
                ", providerDescription='" + providerDescription + '\'' +
                ", contactPhone='" + contactPhone + '\'' +
                ", wechatQrcodeUrl='" + wechatQrcodeUrl + '\'' +
                ", logAddress='" + logAddress + '\'' +
                ", createdBy='" + createdBy + '\'' +
                ", createdTime=" + createdTime +
                ", updatedTime=" + updatedTime +
                ", updatedBy='" + updatedBy + '\'' +
                ", isDeleted='" + isDeleted + '\'' +
                '}';
    }
}
