package com.ruoyi.system.domain.activity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 政协活动-用户关联对象 zx_activity_user
 * 
 * @author boman
 * @date 2024-03-14
 */
public class ZxActivityUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 活动ID */
    private Long activityId;

    /** 用户ID/委员信息表id */
    private Long userId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String userName;

    /** 委员职务 */
    @Excel(name = "委员职务")
    private String postName;

    /** 级别 */
    @Excel(name = "级别")
    private String userLevel;

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

    /** 是否参会 N:不参加 Y：参加 */
    @Excel(name = "是否参会 N:不参加 Y：参加")
    private String isJoin;

    /** 请假类型 */
    @Excel(name = "请假类型")
    private String leaveType;

    /** 请假原因 */
    @Excel(name = "请假原因")
    private String leaveReason;

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

    public void setActivityId(Long activityId) 
    {
        this.activityId = activityId;
    }

    public Long getActivityId() 
    {
        return activityId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setPostName(String postName) 
    {
        this.postName = postName;
    }

    public String getPostName() 
    {
        return postName;
    }
    public void setUserLevel(String userLevel) 
    {
        this.userLevel = userLevel;
    }

    public String getUserLevel() 
    {
        return userLevel;
    }
    public void setReplyTime(Date replyTime) 
    {
        this.replyTime = replyTime;
    }

    public Date getReplyTime() 
    {
        return replyTime;
    }
    public void setIsJoin(String isJoin) 
    {
        this.isJoin = isJoin;
    }

    public String getIsJoin() 
    {
        return isJoin;
    }
    public void setLeaveType(String leaveType) 
    {
        this.leaveType = leaveType;
    }

    public String getLeaveType() 
    {
        return leaveType;
    }
    public void setLeaveReason(String leaveReason) 
    {
        this.leaveReason = leaveReason;
    }

    public String getLeaveReason() 
    {
        return leaveReason;
    }
    public void setSignIn(Date signIn) 
    {
        this.signIn = signIn;
    }

    public Date getSignIn() 
    {
        return signIn;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("activityId", getActivityId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("postName", getPostName())
            .append("userLevel", getUserLevel())
            .append("replyTime", getReplyTime())
            .append("isJoin", getIsJoin())
            .append("leaveType", getLeaveType())
            .append("leaveReason", getLeaveReason())
            .append("signIn", getSignIn())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
