package com.bonus.canteen.core.account.domain;

import com.bonus.common.core.annotation.Excel;
import com.bonus.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * 人员换卡历史记录对象 acc_card_his
 * 
 * @author xsheng
 * @date 2025-04-23
 */


@Data
@ToString
public class AccCardHis extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键自增 */
    private Long id;

    /** 账户id */
    @Excel(name = "账户id")
    @ApiModelProperty(value = "账户id")
    private Long accountId;

    /** 人员id */
    @Excel(name = "人员id")
    @ApiModelProperty(value = "人员id")
    private Long userId;

    /** 人员姓名 */
    @ApiModelProperty(value = "人员姓名")
    private String nickName;

    /** 卡序列号 */
    @Excel(name = "卡序列号")
    @ApiModelProperty(value = "卡序列号")
    private String serialNum;

    /** 卡类型 */
    @Excel(name = "卡类型")
    @ApiModelProperty(value = "卡类型")
    private Integer cardType;

    /** 记录类型 1-发卡2-退卡3-换卡 */
    @Excel(name = "记录类型 1-发卡2-退卡3-换卡")
    @ApiModelProperty(value = "记录类型 1-发卡2-退卡3-换卡")
    private Integer recordType;

    /** 押金 单位分 */
    @Excel(name = "押金 单位分")
    @ApiModelProperty(value = "押金 单位分")
    private Long deposit;

    /** 工本费 单位分 */
    @Excel(name = "工本费 单位分")
    @ApiModelProperty(value = "工本费 单位分")
    private Long productCost;

}
