package cn.iocoder.yudao.module.server.controller.admin.techorg.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 技术运维单位新增/修改 Request VO")
@Data
public class TechOrgSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "4288")
    private Long id;

    @Schema(description = "网站名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "网站名称不能为空")
    private String websiteName;

    @Schema(description = "网站网址", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @NotEmpty(message = "网站网址不能为空")
    private String websiteUrl;

    @Schema(description = "网站上线日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "网站上线日期不能为空")
    private LocalDateTime launchDate;

    @Schema(description = "网站负责人姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "网站负责人姓名不能为空")
    private String ownerName;

    @Schema(description = "负责人电话")
    private String ownerPhone;

    @Schema(description = "技术运维单位名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "技术运维单位名称不能为空")
    private String techOrgName;
    @Schema(description = "技术运维单位ID")
    private Long techOrgId;

    @Schema(description = "网站所属部门id")
    private Long websiteDept;

    @Schema(description = "网站所属部门")
    private String websiteDeptName;
    @Schema(description = "主办单位")
    private String zborganizer;
    @Schema(description = "承办单位")
    private String cborganizer;
    @Schema(description = "ICP备案号")
    private String icpRecordNo;
    @Schema(description = "公安备案号")
    private String policeRecordNo;
    @Schema(description = "政府网站标识码")
    private String govSiteCode;
    @Schema(description = "办公地址")
    private String officeAddress;
    @Schema(description = "网站联系电话")
    private String contactPhone;
    @Schema(description = "IPV4地址")
    private String ipv4Address;
    @Schema(description = "IPV6地址")
    private String ipv6Address;
    @Schema(description = "HTTP映射端口")
    private String httpPort;
    @Schema(description = "HTTPS映射端口")
    private String httpsPort;

    @Schema(description = "部门ID", example = "31665")
    private Long departmentId;
    @Schema(description = "部门/盟市")
    private String departmentName;

}