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

import org.hibernate.validator.constraints.Length;

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

/**
 * 工作日报
 * 
 * @author hejq
 * @time 创建时间：2017年2月22日
 */
@Entity
@Table(name = "mobile$workdaily")
public class WorkDaily implements Serializable {

	/**
	 * 序号
	 */
	private static final long serialVersionUID = 1L;

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

	/**
	 * 编号
	 */
	@Column(name = "wd_code")
	private String wd_code;
	
	/**
	 * 员工编号
	 */
	@Column(name = "wd_empcode")
	private Long emcode;

	/**
	 * 员工姓名
	 */
	@Column(name = "wd_emp")
	private String wd_emp;

	/**
	 * 工作总结
	 */
	@Column(name = "wd_comment")
	@Length(max = 4000)
	private String wd_comment;

	/**
	 * 工作计划
	 */
	@Column(name = "wd_plan")
	@Length(max = 4000)
	private String wd_plan;

	/**
	 * 工作心得
	 */
	@Column(name = "wd_experience")
	@Length(max = 4000)
	private String wd_experience;

	/**
	 * 状态
	 */
	@Column(name = "wd_status")
	private String wd_status;

	/**
	 * 状态码
	 */
	@Column(name = "wd_statuscode")
	private String wd_statuscode;

	/**
	 * 日期
	 */
	@Column(name = "wd_date")
	private Date wd_date;

	/**
	 * 企业uu
	 */
	@Column(name = "wd_enuu")
	private Long enuu;

	/**
	 * 排序时间
	 */
	@Column(name = "wd_orderdate")
	private Date orderdate;

	public Long getWd_id() {
		return wd_id;
	}

	public void setWd_id(Long wd_id) {
		this.wd_id = wd_id;
	}

	public String getWd_code() {
		return wd_code;
	}

	public void setWd_code(String wd_code) {
		this.wd_code = wd_code;
	}

	public Long getEmcode() {
		return emcode;
	}

	public void setEmcode(Long emcode) {
		this.emcode = emcode;
	}

	public String getWd_emp() {
		return wd_emp;
	}

	public void setWd_emp(String wd_emp) {
		this.wd_emp = wd_emp;
	}

	public String getWd_comment() {
		return wd_comment;
	}

	public void setWd_comment(String wd_comment) {
		this.wd_comment = wd_comment;
	}

	public String getWd_plan() {
		return wd_plan;
	}

	public void setWd_plan(String wd_plan) {
		this.wd_plan = wd_plan;
	}

	public String getWd_experience() {
		return wd_experience;
	}

	public void setWd_experience(String wd_experience) {
		this.wd_experience = wd_experience;
	}

	public String getWd_status() {
		return wd_status;
	}

	public void setWd_status(String wd_status) {
		this.wd_status = wd_status;
	}

	public String getWd_statuscode() {
		return wd_statuscode;
	}

	public void setWd_statuscode(String wd_statuscode) {
		this.wd_statuscode = wd_statuscode;
	}

	public Long getEnuu() {
		return enuu;
	}

	public void setEnuu(Long enuu) {
		this.enuu = enuu;
	}

	public Date getWd_date() {
		return wd_date;
	}

	public void setWd_date(Date wd_date) {
		this.wd_date = wd_date;
	}

	public Date getOrderdate() {
		return orderdate;
	}

	public void setOrderdate(Date orderdate) {
		this.orderdate = orderdate;
	}

}
