CompanyDTO.java 1.2 KB
package com.aigeo.company.dto;

import com.aigeo.common.enums.CompanyStatus;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 公司DTO
 */
@Data
@Schema(description = "公司数据传输对象")
public class CompanyDTO {

    @Schema(description = "公司ID")
    private Integer id;

    @Schema(description = "公司名称")
    private String name;

    @Schema(description = "公司域名")
    private String domain;

    @Schema(description = "公司状态")
    private CompanyStatus status;

    @Schema(description = "试用到期日")
    private LocalDateTime trialExpiryDate;

    @Schema(description = "企业默认设置(JSON)")
    private String defaultSettings;

    @Schema(description = "账单邮箱")
    private String billingEmail;

    @Schema(description = "联系电话")
    private String contactPhone;

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

    @Schema(description = "公司Logo URL")
    private String logoUrl;

    @Schema(description = "创建时间")
    private LocalDateTime createdAt;

    @Schema(description = "最后更新时间")
    private LocalDateTime updatedAt;
}