package com.cool.store.entity;

import lombok.Data;

import javax.persistence.*;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

@Entity
@Table(name = "xfsg_tally_book")
@Data
public class TallyBookDO {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    @Column(name = "partner_id")
    private String partnerId;

    @Column(name = "shop_id")
    private Long shopId;

    @Column(name = "`year`")
    private Integer year;

    @Column(name = "`month`")
    private Integer month;

    @Column(name = "create_time")
    private Date createTime;

    @Column(name = "create_user")
    private String createUser;

    @Column(name = "update_time")
    private Date updateTime;

    @Column(name = "update_user")
    private String updateUser;

    @Column(name = "status")
    private Integer status;

    @Column(name = "total")
    private BigDecimal total;

    @Column(name = "operator_name")
    private String operatorName;
}