Files
java-10561/src/main/java/com/gxwebsoft/oa/entity/OaCompany.java
2026-04-30 22:14:28 +08:00

207 lines
5.3 KiB
Java

package com.gxwebsoft.oa.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* 企业信息
*
* @author 科技小王子
* @since 2024-09-20 12:33:12
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "OaCompany对象", description = "企业信息")
public class OaCompany implements Serializable {
private static final long serialVersionUID = 1L;
@Schema(description = "企业id")
@TableId(value = "company_id", type = IdType.AUTO)
private Integer companyId;
@Schema(description = "企业简称")
private String shortName;
@Schema(description = "企业全称")
private String companyName;
@Schema(description = "企业标识")
private String companyCode;
@Schema(description = "上级单位/集团公司/归属单位")
private String parentCompany;
@Schema(description = "类型 10企业 20政府单位")
private String companyType;
@Schema(description = "企业类型多选")
private String companyTypeMultiple;
@Schema(description = "应用标识")
private String companyLogo;
@Schema(description = "应用类型")
private String appType;
@Schema(description = "绑定域名")
private String domain;
@Schema(description = "联系电话")
private String phone;
@Schema(description = "座机电话")
private String tel;
@Schema(description = "邮箱")
private String email;
@Schema(description = "发票抬头")
@TableField("Invoice_header")
private String invoiceHeader;
@Schema(description = "企业法人")
private String businessEntity;
@Schema(description = "服务开始时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime startTime;
@Schema(description = "服务到期时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime expirationTime;
@Schema(description = "应用版本 10体验版 20授权版 30旗舰版")
private Integer version;
@Schema(description = "成员数量(人数上限)")
private Integer members;
@Schema(description = "成员数量(当前)")
private Integer users;
@Schema(description = "行业类型(父级)")
private String industryParent;
@Schema(description = "行业类型(子级)")
private String industryChild;
@Schema(description = "部门数量")
private Integer departments;
@Schema(description = "存储空间")
private Long storage;
@Schema(description = "存储空间(上限)")
private Long storageMax;
@Schema(description = "所在国家")
private String country;
@Schema(description = "所在省份")
private String province;
@Schema(description = "所在城市")
private String city;
@Schema(description = "所在辖区")
private String region;
@Schema(description = "街道地址")
private String address;
@Schema(description = "经度")
private String longitude;
@Schema(description = "纬度")
private String latitude;
@Schema(description = "备注")
private String comments;
@Schema(description = "是否实名认证")
private Integer authentication;
@Schema(description = "企业默认主体")
private Integer authoritative;
@Schema(description = "request合法域名")
private String requestUrl;
@Schema(description = "socket合法域名")
private String socketUrl;
@Schema(description = "主控端域名")
private String serverUrl;
@Schema(description = "业务域名")
private String modulesUrl;
@Schema(description = "是否推荐")
private Integer recommend;
@Schema(description = "点赞数量")
private Integer likes;
@Schema(description = "点击数量")
private Integer clicks;
@Schema(description = "购买数量")
private Integer buys;
@Schema(description = "是否含税, 0不含, 1含")
private Integer isTax;
@Schema(description = "当前克隆的租户ID")
private Integer planId;
@Schema(description = "状态")
private Integer status;
@Schema(description = "排序号")
private Integer sortNumber;
@Schema(description = "用户ID")
private Integer userId;
@Schema(description = "是否删除, 0否, 1是")
@TableLogic
private Integer deleted;
@Schema(description = "租户id")
private Integer tenantId;
@Schema(description = "应用名称")
@TableField(exist = false)
private String tenantName;
@Schema(description = "应用图标")
@TableField(exist = false)
private String logo;
@Schema(description = "知识库ID")
private String kbId;
@Schema(description = "资料库库IDs")
private String libraryIds; //英文逗号分割
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime createTime;
@Schema(description = "修改时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime updateTime;
}