package com.mmc.iuav.user.model.vo;

import com.mmc.iuav.group.Insert;
import com.mmc.iuav.group.Update;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author: zj
 * @Date: 2023/7/3 16:04
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CompanyInfoVO implements Serializable {
    private static final long serialVersionUID = 3247519744829926132L;
    @ApiModelProperty(value = "id")
    @NotNull(message = "id不能为空", groups = {Update.class})
    private Integer id;
    @ApiModelProperty(value = "单位类型，0科比特，1加盟公司", example = "0")
    @NotNull(message = "单位类型不能为空", groups = {Insert.class})
    private Integer companyType;
    @ApiModelProperty(value = "单位名称", example = "科比特")
    @NotNull(message = "单位名称不能为空", groups = {Insert.class})
    private String companyName;
    @ApiModelProperty(value = "单位全称", example = "浙江科比特创新科技有限公司")
    private String fullName;
    @ApiModelProperty(value = "省份名称", example = "广东省", hidden = true)
    @NotNull(message = "省份名称不能为空")
    private String province;
    @ApiModelProperty(value = "城市名称", example = "深圳市", hidden = true)
    @NotNull(message = "城市名称不能为空")
    private String city;
    @ApiModelProperty(value = "县区名称", example = "南山区", hidden = true)
    @NotNull(message = "县区名称不能为空")
    private String district;
    @ApiModelProperty(value = "详细地址", example = "西丽街道万科云城国际创新谷6栋")
    @NotNull(message = "详细地址不能为空", groups = {Insert.class})
    private String address;
    @ApiModelProperty(value = "联系人", example = "lx")
    private String companyUserName;
    @ApiModelProperty(value = "联系电话", example = "13925255742")
    private String phoneNum;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "小程序用户id")
    private Integer userAccountId;
    @ApiModelProperty(value = "后台用户id")
    private Integer backUserAccountId;
    @ApiModelProperty(value = "纬度")
    private Double lat;
    @ApiModelProperty(value = "经度")
    private Double lon;
    @ApiModelProperty(value = "社会信用代码")
    private String creditCode;
    @ApiModelProperty(value = "营业执照")
    private String licenseImg;

    @ApiModelProperty(value = "品牌名称", example = "科比特")
    private String brandName;

    @ApiModelProperty(value = "品牌logo", example = "http://")
    private String brandLogo;
    @ApiModelProperty(value = "管理员标识")
    private Integer leader;
    @ApiModelProperty(value = "服务资质信息", example = "5星店铺")
    private String content;
    @ApiModelProperty(value = "评分", example = "*****")
    private Integer score;
    @ApiModelProperty(value = "背景图", example = "http://share-fly.oss-cn-hangzhou.aliyuncs.com/file/3505c402-cbf9-41a5-9d6f-bdb350625bea.jpg")
    private String backImg;
    @ApiModelProperty(value = "当前距离")
    private Double distance;

    @ApiModelProperty(value = "后台账号id")
    private Integer backUserId;

    @ApiModelProperty(value = "企业视频")
    private String profileUrl;
    @ApiModelProperty(value = "企业简介")
    private String profileText;

    @ApiModelProperty(value = "绑定的客服id")
    private Integer companyBindUserId;

    @ApiModelProperty(value = "加盟标签id")
    private Integer cooperationTagId;
}
