package org.springblade.modules.martial.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * Contact entity
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("martial_contact")
@Schema(description = "联系人")
public class MartialContact extends TenantEntity {

	private static final long serialVersionUID = 1L;

	@Schema(description = "证件类型")
	private String idType;

	@Schema(description = "姓名")
	private String name;

	@Schema(description = "证件号码")
	private String idCard;

	@Schema(description = "手机号码")
	private String phone;

	@Schema(description = "邮箱")
	private String email;

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

	@Schema(description = "是否默认联系人")
	private Boolean isDefault;

}
