package shop.alien.entity.store.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 部门新增DTO
 *
 * @author system
 * @since 2025-01-XX
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "LifeSysDeptAddDto对象", description = "部门新增信息")
public class LifeSysDeptAddDto {

    @ApiModelProperty(value = "父部门ID（0表示根部门）")
    private Long parentId;

    @ApiModelProperty(value = "部门名称", required = true)
    private String deptName;

    @ApiModelProperty(value = "显示顺序")
    private Integer deptSort;

    @ApiModelProperty(value = "部门负责人")
    private Integer leader;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "部门状态（0正常 1停用），默认为0")
    private String status = "0";

    @ApiModelProperty(value = "部门描述")
    private String description;
}

