KqglAssoLeaveBalance.java 2.15 KB
Newer Older
ilal committed
1 2 3 4 5
package cn.timer.api.bean.kqmk;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
284718418@qq.com committed
6
import javax.persistence.Transient;
ilal committed
7 8

import com.baomidou.mybatisplus.annotation.IdType;
284718418@qq.com committed
9
import com.baomidou.mybatisplus.annotation.TableField;
ilal committed
10 11 12 13 14 15 16 17 18 19
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

284718418@qq.com committed
20 21
import java.util.List;

ilal committed
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
/**
 * @author LAL 2020-05-09
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "kqgl_asso_leave_balance")
@ApiModel("员工假期余额")
public class KqglAssoLeaveBalance extends Model<KqglAssoLeaveBalance> {

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

	@Id
	@GeneratedValue
	@TableId(type = IdType.AUTO)
	@ApiModelProperty(value = "id id", example = "101")
	private Integer id;

	@ApiModelProperty(value = "假期规则id 假期规则id", example = "101")
	private Integer leaveRulesId;

	@ApiModelProperty(value = "员工id 员工id", example = "101")
	private Integer userid;

	@ApiModelProperty(value = "修改动作 1:增加;2:减少", example = "101")
	private Integer modifyAction;

	@ApiModelProperty(value = "余额天数 ", example = "余额天数")
	private String balanceDays;

	@ApiModelProperty(value = "理由 ", example = "理由")
	private String reason;

	@ApiModelProperty(value = "修改人 修改人", example = "101")
	private Integer modifyUserid;

	@ApiModelProperty(value = "修改时间 修改时间", example = "101")
	private Long modifyTimer;

	@ApiModelProperty(value = "修改序号 修改序号", example = "101")
	private Integer modifyNumber;
ilal committed
67 68 69 70 71 72

	@ApiModelProperty(value = "企业组织代码 企业组织代码", example = "101")
	private Integer orgCode;

	@ApiModelProperty(value = "是否为系统自动 0:否;1:是", example = "101")
	private Integer isAutomatic;
ilal committed
73

284718418@qq.com committed
74 75 76 77 78
	@Transient
	@TableField(exist = false)
	@ApiModelProperty(value = "假期统调用户ID")
	private List<Integer> userIds;

ilal committed
79
}