package com.gxwebsoft.clinic.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.gxwebsoft.common.system.entity.Area;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 诊所列表
 *
 * @author LX
 * @since 2025-12-09 17:29:44
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ClinicList对象", description = "诊所列表")
@TableName("clinic_clinic_list")
public class ClinicList implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "省份id")
    private Integer provinceId;

    @ApiModelProperty(value = "城市id")
    private Integer cityId;

    @ApiModelProperty(value = "区域id")
    private Integer regionId;

    @ApiModelProperty(value = "管理员id")
    private Integer userId;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "联系方式")
    private String contact;

    @ApiModelProperty(value = "logo")
    private String logo;

    @ApiModelProperty(value = "资质")
    private String qualify;

    @ApiModelProperty(value = "0待审核  1通过  2拒绝")
    private Integer status;

    @ApiModelProperty(value = "备注")
    private String comments;

    @ApiModelProperty(value = "排序号")
    private Integer sortNumber;

    @ApiModelProperty(value = "是否删除, 0否, 1是")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    private String lat;

    private String lng;

    @TableField(exist = false)
    private Area province;

    @TableField(exist = false)
    private Area city;

    @TableField(exist = false)
    private Area region;
}
