package com.aps.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDate;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author MyBatis-Plus
 * @since 2025-09-25
 */
@Getter
@Setter
public class Department implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    private Integer organizationId;

    private Integer parentId;

    private Short status;

    private Long creatoruserid;

    private LocalDate creationtime;

    private Long lastmodifieruserid;

    private LocalDate lastmodificationtime;

    private Long deleteruserid;

    private LocalDate deletiontime;

    private Short isdeleted;

    private String levelDesc;

    private Short isProduction;

    private String code;

    private String location;

    private String property;

    private String note;

    private Long sysDeptId;

    private String measureUnitName;

    private String currencyTypeName;

    private String capacityTypeName;

    private Integer measureUnit;

    private Integer currencyType;

    private Integer capacityType;

    private Long productType;

    private String belongCode;
}
