package com.zhongshu.card.client.model.base;

import com.github.microservice.auth.security.type.AuthType;
import io.swagger.v3.oas.annotations.Hidden;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 添加/编辑的父类
 *
 * @author TRX
 * @date 2024/5/26
 */
@Data
public class SuperParam implements Serializable {

    @Schema(description = "数据ID", example = "")
    private String id = null;

    @Schema(description = "所属机构ID")
    private String oid;

    @Schema(description = "所属项目oid", hidden = true)
    private String projectOid;

    @Schema(description = "数据主题的oid", hidden = true)
    @Hidden
    private String aboutOid;

    @Schema(description = "数据主题管理的oid机构类型", hidden = true)
    @Hidden
    private AuthType aboutAuthType;

    @Schema(description = "排序")
    private Long sort = 1l;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "创建用户ID", hidden = true)
    @Hidden
    private String createUserId;

    @Schema(description = "添加用户名称", hidden = true)
    @Hidden
    private String createUserName;

    @Schema(description = "添加用户电话", hidden = true)
    @Hidden
    private String createPhone;
}
