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

import com.github.microservice.auth.security.type.AuthType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedDate;

import java.io.Serializable;

/**
 * @author TRX
 * @date 2024/5/26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SuperModel implements Serializable {

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

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

    @Schema(description = "排序", hidden = true)
    private Long sort = 0l;

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

    @Schema(description = "所属项目oid")
    private String projectOid;
//
//    @Schema(description = "数据主题的oid")
//    private String aboutOid;
//
//    @Schema(description = "数据主题管理的oid机构类型")
//    private AuthType aboutAuthType;

    @Schema(description = "创建时间")
    private Long createTime;

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

    @Schema(description = "最后编辑时间")
    private Long updateTime;

    @Schema(description = "添加用户名称")
    private String updateUserName;

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