package com.uas.platform.b2b.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@Table(name="attachs")
public class Attach {
	
	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "attachs_gen")
	@SequenceGenerator(name = "attachs_gen", sequenceName = "attachs_seq", allocationSize = 1)
	@Column(name = "at_id")
	private Long atId;
	/**
	 * 路径
	 */
	@Column(name = "at_path")
	private String atPath;
	/**
	 * 描述语
	 */
	@Column(name = "at_description")
	private String atDescription;
	/**
	 * 文件类型
	 */
	@Column(name="at_type")
	private String atType;
	/**
	 * 文件名称
	 */
	@Column(name="at_name")
	private String atName;
	
	public Long getAtId() {
		return atId;
	}
	public void setAtId(Long atId) {
		this.atId = atId;
	}
	public String getAtPath() {
		return atPath;
	}
	public void setAtPath(String atPath) {
		this.atPath = atPath;
	}
	public String getAtDescription() {
		return atDescription;
	}
	public void setAtDescription(String atDescription) {
		this.atDescription = atDescription;
	}
	public String getAtType() {
		return atType;
	}
	public void setAtType(String atType) {
		this.atType = atType;
	}
	public String getAtName() {
		return atName;
	}
	public void setAtName(String atName) {
		this.atName = atName;
	}
	
	

}
