package com.qmth.teachcloud.common.bean.params;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qmth.teachcloud.common.annotation.DBVerify;
import com.qmth.teachcloud.common.enums.userPush.SpecialPrivilegeEnum;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 推送云阅卷用户参数
 * @Author: CaoZixuan
 * @Date: 2022-08-02
 */
public class CloudUserPushParams {
    @ApiModelProperty(value = "系统用户id")
    @DBVerify(value = "系统用户id",required = true)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

    @ApiModelProperty(value = "登录名")
    @DBVerify(value = "登录名",required = true)
    private String loginName;

    @ApiModelProperty(value = "真实名称")
    private String realName;

    @ApiModelProperty(value = "密码")
    private String password;



    @ApiModelProperty(value = "是否启用")
    private Boolean enable;

    @ApiModelProperty(value = "科组长关联科目，科目代码用,分割，例如ASC,WED")
    private String subjectCodes;

    @ApiModelProperty(value = "学校id")
    @DBVerify(value = "学校id",required = true)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long schoolId;
}
