package com.zhongshu.card.client.model.org;

import com.github.microservice.auth.security.type.AuthType;
import com.zhongshu.card.client.model.base.SuperParam;
import com.zhongshu.card.client.type.OrganizationState;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author TRX
 * @date 2024/5/31
 */
@Data
public class OrganizationAddParam extends SuperParam {

    @Schema(description = "机构名称", required = true)
    private String name;

    @Schema(description = "编码、项目ID")
    private String code;

    @Schema(description = "统一社会信用代码")
    private String orgCode;

    @Schema(description = "联系人邮箱")
    private String contactEmail;

    @Schema(description = "联系人-用来初始管理员")
    private String contactName;

    @Schema(description = "联系人电话", required = false)
    private String contactPhone;

    @Schema(description = "logo")
    private String logo;

    @Schema(description = " 行政区划编码,01,02,03")
    private String adminDivisionItemCode;

    @Schema(description = "地址")
    private String address;

    @Schema(description = "经度")
    private String mapLon;

    @Schema(description = "纬度")
    private String mapLat;

    @Schema(description = "机构类型")
    private AuthType authType = AuthType.Enterprise;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "机构状态")
    OrganizationState state;
}
