package com.ruoyi.project.business.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 tc_account_contact
 * 
 * @author ruoyi
 * @date 2024-04-12
 */
@EqualsAndHashCode(callSuper = false)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TcAccountContact extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 联系人ID */
    @TableId(type = IdType.AUTO)
    private Long contactId;

    /** 客户ID */
    @Excel(name = "客户ID")
    private Long accountId;

    /** 客户编号 */
    @Excel(name = "客户编号")
    private String contactName;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 职务 */
    @Excel(name = "职务")
    private String jobTitle;

    /** 纪念日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "纪念日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 星座 */
    @Excel(name = "星座")
    private String horoscope;

    /** 婚姻状态（关联字典） */
    @Excel(name = "婚姻状态")
    private String maritalStatus;

    /** 兴趣爱好 */
    @Excel(name = "兴趣爱好")
    private String hobbies;

    /** 删除标记（0：启用  1：停用） */
    @TableLogic
    private String delFlag;

}
