package com.cool.store.entity;


import java.io.Serializable;
import java.util.Date;
import lombok.Data;

import javax.persistence.*;

/**
 * pos/订货系统表
 * @TableName xfsg_pos_and_order_info
 */
@Table(name ="xfsg_pos_and_order_info")
@Data
public class PosAndOrderInfoDO  {
    /**
     * 
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

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

    /**
     * 1-pos 2-订货系统，3-信发系统 4-营帐通
     */
    @Column(name = "type")
    private Integer type;

    /**
     * 账号
     */
    @Column(name = "account")
    private String account;

    /**
     *密码 type为 3 时候，存授权码
     */
    @Column(name = "password")
    private String password;

    /**
     * 备注
     */
    @Column(name = "remark")
    private String remark;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 创建人
     */
    @Column(name = "create_user")
    private String createUser;


}