package com.muchinfo.mtp3pojos.entity;

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.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 登录账户资金权限表
 * </p>
 *
 * @author XKF
 * @since 2024-06-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("LOGINTAACCOUNT")
@ApiModel(value = "Logintaaccount对象", description = "登录账户资金权限表")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Logintaaccount extends Model<Logintaaccount> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "登录账号ID")
    private Long loginid;

    @ApiModelProperty(value = "资金账号ID")
    @TableField("ACCOUNTID")
    private Long accountid;

    @ApiModelProperty(value = "修改时间")
    @TableField("MODIFYTIME")
    private Date modifytime;

    @ApiModelProperty(value = "修改人")
    @TableField("MODIFIERID")
    private Long modifierid;


    @Override
    public Serializable pkVal() {
        return this.loginid;
    }

}
