package com.cool.store.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author: WangShuo
 * @Date: 2025/04/11/13:38
 * @Version 1.0
 * @注释:
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class XgjOrganizationDTO {
    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID", example = "1")
    private String id;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", example = "2023-12-12 16:15:23")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人", example = "张三")
    private String createBy;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间", example = "2024-03-11 14:53:35")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人", example = "超级管理员")
    private String updateBy;

    /**
     * 删除标志（0：未删除，1：已删除）
     */
    @ApiModelProperty(value = "删除标志（0：未删除，1：已删除）", example = "0")
    private Integer deleted;

    /**
     * 父级ID
     */
    @ApiModelProperty(value = "父级ID", example = "0")
    private String parentId;

    /**
     * 编码
     */
    @ApiModelProperty(value = "编码", example = "KH")
    private String code;

    /**
     * 名称
     */
    @ApiModelProperty(value = "名称", example = "所有客户")
    private String name;

    /**
     * 父级编码
     */
    @ApiModelProperty(value = "父级编码", example = "TOP")
    private String parentCode;

    /**
     * 父级完整编码
     */
    @ApiModelProperty(value = "父级完整编码", example = "TOP.KH")
    private String parentFullCode;

    /**
     * 开始时间
     */
    @ApiModelProperty(value = "开始时间", example = "2023-12-12 16:15:23")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间", example = "2024-03-11 14:53:35")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    /**
     * 状态（ENABLED：启用，DISABLED：禁用）
     */
    @ApiModelProperty(value = "状态（ENABLED：启用，DISABLED：禁用）", example = "ENABLED")
    private String state;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", example = "这是一个备注")
    private String remark;

    /**
     * 系统标识
     */
    @ApiModelProperty(value = "系统标识", example = "XIONG")
    private String sys;
}
