package com.ruoyi.chargingPile.api.model; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.ruoyi.common.core.web.domain.BasePojo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.math.BigDecimal; /** * @author zhibing.pu * @Date 2024/8/7 13:37 */ @Data @ApiModel @TableName("t_partner") public class Partner extends BasePojo { private static final long serialVersionUID = 1L; /** * 主键 */ @TableId(value = "id", type = IdType.AUTO) private Integer id; /** * 合作商ID */ @TableField("code") @ApiModelProperty(value = "合作商ID", required = true) private String code; /** * 合作商名称 */ @TableField("name") @ApiModelProperty(value = "合作商名称", required = true) private String name; /** * 角色id */ @TableField("role_id") @ApiModelProperty(value = "角色id", required = true) private Integer roleId; /** * 角色名称 */ @TableField(exist = false) @ApiModelProperty(value = "角色名称") private String roleName; /** * logo地址 */ @TableField("logo_url") @ApiModelProperty(value = "logo地址") private String logoUrl; /** * 费率 */ @TableField("rate") @ApiModelProperty(value = "费率") private BigDecimal rate; /** * 注册地址 */ @TableField("address") @ApiModelProperty(value = "address") private String address; /** * 合作商电话1 */ @TableField("phone_one") @ApiModelProperty(value = "合作商电话1", required = true) private String phoneOne; /** * 合作商电话2 */ @TableField("phone_two") @ApiModelProperty(value = "合作商电话2") private String phoneTwo; /** * 备注 */ @TableField("remark") @ApiModelProperty(value = "备注") private String remark; /** * 登录账号 */ @TableField("account") @ApiModelProperty(value = "登录账号", required = true) private String account; /** * 登录密码 */ @TableField("password") @ApiModelProperty(value = "登录密码", required = true) private String password; /** * 权限备注 */ @TableField("permission_remarks") private String permissionRemarks; }