package com.tofly.feesapi.sfds.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

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

@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "BANK_DSDZXX", resultMap = "bankDsdzxxMap")
@KeySequence("BANK_DSDZXX")
@ApiModel
public class BankDsdzxx extends Model<BankDsdzxx> {
    private static final long serialVersionUID = 1L;

    /**
     * $column.comments
     */
    @TableId(value = "ID", type = IdType.INPUT)
    @ApiModelProperty(value = "$column.comments")
    private String id;
    /**
     * $column.comments
     */
    @ApiModelProperty(value = "$column.comments")
    private String yhbh;
    /**
     * $column.comments
     */
    @ApiModelProperty(value = "$column.comments")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date yhzwrq;
    /**
     * $column.comments
     */
    @ApiModelProperty(value = "$column.comments")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sfrq;
    /**
     * $column.comments
     */
    @ApiModelProperty(value = "$column.comments")
    private String yhzwlsh;
    /**
     * $column.comments
     */
    @ApiModelProperty(value = "$column.comments")
    private String fffs;
    /**
     * $column.comments
     */
    @ApiModelProperty(value = "$column.comments")
    private BigDecimal xzje;
    /**
     * $column.comments
     */
    @ApiModelProperty(value = "$column.comments")
    private BigDecimal jfje;
    /**
     * 0 银行多帐，1 对账完成，2营销系统多帐
     */
    @ApiModelProperty(value = "0 银行多帐，1 对账完成，2营销系统多帐")
    private String dzbz;
    /**
     * $column.comments
     */
    @ApiModelProperty(value = "$column.comments")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date dzrq;
    /**
     * $column.comments
     */
    @ApiModelProperty(value = "$column.comments")
    private String yhdm;

}
