package com.xiaoniu.subsystem.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xiaoniu.common.core.web.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 需求报名统计管理表实体类
 *
 * @author sunsongtao
 * @since 2024-12-19
 */
@Data
@Accessors(chain = true)
@TableName("tb_demand_total")
@Schema(description = "需求报名统计管理表")
public class DemandTotal {

    private static final long serialVersionUID = 1L;

    /**
     * 需求报名统计ID
     */
    @Schema(description = "需求报名统计ID")
    @TableId(value = "demand_total_id", type = IdType.AUTO)
    private Long demandTotalId;
    /**
     * 需求ID
     */
    @Schema(description = "需求ID")
    private Long demandId;
    /**
     * 单位ID
     */
    @Schema(description = "单位ID")
    private Long unitId;
    /**
     * 单位名称
     */
    @Schema(description = "单位名称")
    private String unitName;
    /**
     * 联系人
     */
    @Schema(description = "联系人")
    private String contactPerson;
    /**
     * 联系电话
     */
    @Schema(description = "联系电话")
    private String phone;
    /**
     * 人数
     */
    @Schema(description = "人数")
    private Integer peopleNum;

    @Schema(description = "创建人",hidden = true)
    private Long createUser;

    @Schema(description = "创建部门",hidden = true)
    private Long createDept;

    @Schema(description = "创建",hidden = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    @Schema(description = "修改人")
    private Long updateUser;

    @Schema(description = "修改时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;

    @Schema(description = "是否已删除" , hidden = true)
    private Integer isDeleted;


}
