package com.xunhong.erp.turbo.biz.infrastructure.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xunhong.erp.turbo.datasource.domain.entity.BaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author shenyifei
 */
@Data
@TableName(value = "company")
@EqualsAndHashCode(callSuper = true)
public class CompanyDO extends BaseDO<CompanyDO> {

	/**
	 * 公司ID
	 */
	@TableId(value = "company_id", type = IdType.ASSIGN_ID)
	private Long companyId;

	/**
	 * 公司Logo
	 */
	@TableField(value = "logo")
	private String logo;

	/**
	 * 公司简称
	 */
	@TableField(value = "short_name")
	private String shortName;

	/**
	 * 公司全称
	 */
	@TableField(value = "full_name")
	private String fullName;

	/**
	 * 税号
	 */
	@TableField(value = "tax_number")
	private String taxNumber;

	/**
	 * 联系人
	 */
	@TableField(value = "contact_person")
	private String contactPerson;

	/**
	 * 联系电话
	 */
	@TableField(value = "contact_phone")
	private String contactPhone;

	/**
	 * 发货地址
	 */
	@TableField(value = "address")
	private String address;

	/**
	 * 备注
	 */
	@TableField(value = "remark")
	private String remark;

	/**
	 * 状态：1_启用；0_禁用；
	 */
	@TableField(value = "status")
	private Boolean status;

}

