package com.zhentao.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 红娘申请实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("marr_apply")
public class MatchmakerApply {
    
    @TableId(type = IdType.AUTO)
    private Long applyId;
    
    private Long userId;  // 修改为Long类型，与数据库bigint对应
    
    private String name;
    
    private String phone;
    
    private String email;
    
    private Integer age;
    
    private Integer gender; // 0-未知, 1-男, 2-女
    
    private String area;
    
    private String experience;
    
    private String serverTime;
    
    private String introduction;
    
    private LocalDateTime createTime;
    
    private String createMan;
    
    private LocalDateTime updateTime;
    
    private String updateMan;
    
    private Integer status; // 0-同意, 1-不同意, 2-待审核, 默认为2
}