/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.security.trans.outsourcing.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.security.ht.entity.common.BaseEntity;

/**
 * 外包公司表实体类
 *
 * @author BladeX
 * @since 2022-02-21
 */
@Data
@TableName("T_OUT_COMPANY")
@ApiModel(value = "OutCompany对象", description = "外包公司表")
public class OutCompany extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;
	/**
	 * 上级机构代码
	 */
	@ApiModelProperty(value = "上级机构代码")
	@TableField("SUPPER_ORGANIZATION_CODE")
	private String supperOrganizationCode;
	/**
	 * 上级机构名称
	 */
	@ApiModelProperty(value = "上级机构名称")
	@TableField("SUPPER_ORGANIZATION_NAME")
	private String supperOrganizationName;
	/**
	* 外包公司名称
	*/
	@ApiModelProperty(value = "外包公司名称")
	@TableField("OUT_COMPANY_NAME")
	private String outCompanyName;
	/**
	* 业务范围及资质
	*/
	@ApiModelProperty(value = "业务范围及资质")
	@TableField("BUSINESS_SCOPE")
	private String businessScope;
	/**
	* 公司简介
	*/
	@ApiModelProperty(value = "公司简介")
	@TableField("COMPANY_PROFILE")
	private String companyProfile;
	/**
	* 公司地址
	*/
	@ApiModelProperty(value = "公司地址")
	@TableField("COMPANY_ADDRESS")
	private String companyAddress;
	/**
	* 公司负责人姓名
	*/
	@ApiModelProperty(value = "公司负责人姓名")
	@TableField("COMPANY_LEADER_NAME")
	private String companyLeaderName;
	/**
	* 公司负责人电话
	*/
	@ApiModelProperty(value = "公司负责人电话")
	@TableField("COMPANY_LEADER_TEL")
	private String companyLeaderTel;
	/**
	* 业务负责人姓名
	*/
	@ApiModelProperty(value = "业务负责人姓名")
	@TableField("BUSINESS_LEADER_NAME")
	private String businessLeaderName;
	/**
	* 业务负责人电话
	*/
	@ApiModelProperty(value = "业务负责人电话")
	@TableField("BUSINESS_LEADER_TEL")
	private String businessLeaderTel;
	/**
	* 其他
	*/
	@ApiModelProperty(value = "其他")
	@TableField("OTHER_DATA")
	private String otherData;

	@TableField("DEPT_ID")
	private Long deptId;

	/**
	 * 逻辑删除标识符;1-删除，0-正常
	 */
	@ApiModelProperty(value = "逻辑删除标识符;1-删除，0-正常")
	@TableField("DEL_FLAG")
	@TableLogic
	private String delFlag;

	@ApiModelProperty(value = "公司规模")
	@TableField("SCALE")
	private String scale;

	@ApiModelProperty(value = "成立时间")
	@TableField("CREATED_DATE")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date createdDate;

	@ApiModelProperty(value = "附件")
	@TableField("FILE_IDS")
	private String fileIds;

	@ApiModelProperty(value = "营业执照附件groupname")
	@TableField("GROUP_NAME_LICENSE")
	private String groupNameLicense;

	@ApiModelProperty(value = "资质附件groupname")
	@TableField("GROUP_NAME_QUALIFICATIONS")
	private String groupNameQualifications;
}
