package com.njcn.rdms.module.project.controller.admin.status.vo.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 管理后台 - 对象状态模型 Response VO
 */
@Schema(description = "管理后台 - 对象状态模型 Response VO")
@Data
public class ObjectStatusModelRespVO {

    @Schema(description = "主键 ID", example = "1024")
    private Long id;

    @Schema(description = "对象类型", example = "project")
    private String objectType;

    @Schema(description = "状态编码", example = "active")
    private String statusCode;

    @Schema(description = "状态名称", example = "进行中")
    private String statusName;

    @Schema(description = "排序值", example = "1")
    private Integer sort;

    @Schema(description = "配置状态", example = "0")
    private Integer status;

    @Schema(description = "是否初始状态", example = "true")
    private Boolean initialFlag;

    @Schema(description = "是否终态", example = "false")
    private Boolean terminalFlag;

    @Schema(description = "是否允许编辑对象主数据", example = "true")
    private Boolean allowEdit;

    @Schema(description = "备注", example = "默认启用状态")
    private String remark;

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

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

}
