package com.gxwebsoft.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 分红角色
 *
 * @author 科技小王子
 * @since 2025-05-01 10:01:15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "ShopCommissionRole对象", description = "分红角色")
public class ShopCommissionRole implements Serializable {
    private static final long serialVersionUID = 1L;

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

    private String title;

    private Integer provinceId;

    private Integer cityId;

    private Integer regionId;

    @Schema(description = "状态, 0正常, 1异常")
    private Integer status;

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

    @Schema(description = "租户id")
    private Integer tenantId;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    private Integer sortNumber;

}
