package com.microservices.pms.project.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.microservices.common.core.annotation.Excel;
import com.microservices.common.core.web.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 项目-成员对象 pms_project_members
 * 
 * @author wanjia
 * @date 2023-10-11
 */
@Data
public class PmsProjectMembers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 项目ID */
    @Excel(name = "项目ID")
    private Long pmsProjectId;

    /** 项目成员用户id */
    @Excel(name = "项目成员用户id")
    private Long pmsProjectMemberId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /**
     * 用户Id
     */
    private Long userId;
}
