package com.gxwebsoft.shop.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 商品绑定角色的分润金额
 *
 * @author 科技小王子
 * @since 2024-12-02 12:43:40
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "GoodsRoleCommission对象", description = "商品绑定角色的分润金额")
@TableName("shop_goods_role_commission")
public class GoodsRoleCommission implements Serializable {
    private static final long serialVersionUID = 1L;

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

    private Integer roleId;

    private Integer goodsId;

    private String sku;

    private BigDecimal amount;

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

    @ApiModelProperty(value = "备注")
    private String comments;

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

}
