package com.ajb.car.entity.meta;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
  代码表
*/

@Entity
@Table(name="ag_md_code")
public class AgMdCode implements java.io.Serializable {

private static final long serialVersionUID = 1L;

	// 主键
	private Long id;

	// 代码类型
	private String codeType;

	// 序号
	private Integer displayNo;

	// 代码值
	private String codeCode;

	// 代码名称
	private String codeName;

	// 代码英文名称
	private String codeNameEn;

	// 0=No, 1=Yes
	private Integer isActive;

	// 标识
	private String flag;

	// 备注
	private String remark;

	// 创建时间
	private Date createdAt;

	// 创建人
	private Long createdBy;

	// 修改时间
	private Date updatedAt;

	// 修改人
	private Long updatedBy;

	/** ?? 主键,???? ag_md_code.id */
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="id")
	public Long getId(){
		return this.id;
	}
	/** ?? 主键,???? ag_md_code.id */
	public void setId(Long id){
		this.id = id;
	}
	/** ?? 代码类型,???? ag_md_code.code_type */
	@Column(name="code_type")
	public String getCodeType(){
		return this.codeType;
	}
	/** ?? 代码类型,???? ag_md_code.code_type */
	public void setCodeType(String codeType){
		this.codeType = codeType;
	}
	/** ?? 序号,???? ag_md_code.display_no */
	@Column(name="display_no")
	public Integer getDisplayNo(){
		return this.displayNo;
	}
	/** ?? 序号,???? ag_md_code.display_no */
	public void setDisplayNo(Integer displayNo){
		this.displayNo = displayNo;
	}
	/** ?? 代码值,???? ag_md_code.code_code */
	@Column(name="code_code")
	public String getCodeCode(){
		return this.codeCode;
	}
	/** ?? 代码值,???? ag_md_code.code_code */
	public void setCodeCode(String codeCode){
		this.codeCode = codeCode;
	}
	/** ?? 代码名称,???? ag_md_code.code_name */
	@Column(name="code_name")
	public String getCodeName(){
		return this.codeName;
	}
	/** ?? 代码名称,???? ag_md_code.code_name */
	public void setCodeName(String codeName){
		this.codeName = codeName;
	}
	/** ?? 代码英文名称,???? ag_md_code.code_name_en */
	@Column(name="code_name_en")
	public String getCodeNameEn(){
		return this.codeNameEn;
	}
	/** ?? 代码英文名称,???? ag_md_code.code_name_en */
	public void setCodeNameEn(String codeNameEn){
		this.codeNameEn = codeNameEn;
	}
	/** ?? 0=No, 1=Yes,???? ag_md_code.is_active */
	@Column(name="is_active")
	public Integer getIsActive(){
		return this.isActive;
	}
	/** ?? 0=No, 1=Yes,???? ag_md_code.is_active */
	public void setIsActive(Integer isActive){
		this.isActive = isActive;
	}
	/** ?? 标识,???? ag_md_code.flag */
	@Column(name="flag")
	public String getFlag(){
		return this.flag;
	}
	/** ?? 标识,???? ag_md_code.flag */
	public void setFlag(String flag){
		this.flag = flag;
	}
	/** ?? 备注,???? ag_md_code.remark */
	@Column(name="remark")
	public String getRemark(){
		return this.remark;
	}
	/** ?? 备注,???? ag_md_code.remark */
	public void setRemark(String remark){
		this.remark = remark;
	}
	/** ?? 创建时间,???? ag_md_code.created_at */
	@Column(name="created_at")
	public Date getCreatedAt(){
		return this.createdAt;
	}
	/** ?? 创建时间,???? ag_md_code.created_at */
	public void setCreatedAt(Date createdAt){
		this.createdAt = createdAt;
	}
	/** ?? 创建人,???? ag_md_code.created_by */
	@Column(name="created_by")
	public Long getCreatedBy(){
		return this.createdBy;
	}
	/** ?? 创建人,???? ag_md_code.created_by */
	public void setCreatedBy(Long createdBy){
		this.createdBy = createdBy;
	}
	/** ?? 修改时间,???? ag_md_code.updated_at */
	@Column(name="updated_at")
	public Date getUpdatedAt(){
		return this.updatedAt;
	}
	/** ?? 修改时间,???? ag_md_code.updated_at */
	public void setUpdatedAt(Date updatedAt){
		this.updatedAt = updatedAt;
	}
	/** ?? 修改人,???? ag_md_code.updated_by */
	@Column(name="updated_by")
	public Long getUpdatedBy(){
		return this.updatedBy;
	}
	/** ?? 修改人,???? ag_md_code.updated_by */
	public void setUpdatedBy(Long updatedBy){
		this.updatedBy = updatedBy;
	}
}