package com.uas.platform.b2b.manage.model;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * 轮询地址管理
 *
 * @author hejq
 * @date 2018-07-04 18:25
 */
@Table(name = "uas$schedular")
@Entity
public class UasSchedular implements Serializable {

    /**
     * default serialVersionUID
     */
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "us_id")
    private Long id;

    /**
     * 账套名称
     */
    @Column(name = "us_name")
    private String name = "";

    /**
     * 轮询地址
     */
    @Column(name = "us_url")
    private String url = "";

    /**
     * 编辑人
     */
    @Column(name = "us_user")
    private String user = "";

    /**
     * 编辑时间
     */
    @Column(name = "us_date")
    private Date date = new Date(System.currentTimeMillis());

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
