| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590 |
- package cn.com.lzt.useractiviti.overtime.entity;
- import java.math.BigDecimal;
- import java.util.Date;
- import java.lang.String;
- import java.lang.Double;
- import javax.persistence.*;
- import cn.com.lzt.useractiviti.data.util.annotation.Pdf;
- import lombok.Data;
- import org.hibernate.annotations.GenericGenerator;
- import org.jeecgframework.poi.excel.annotation.Excel;
- /**
- * @author onlineGenerator
- * @version V1.0
- * @Title: Entity
- * @Description: 加班申请
- * @date 2019-10-13 12:00:22
- */
- @Data
- @Entity
- @Table(name = "t_bus_activiti_overtime", schema = "")
- @SuppressWarnings("serial")
- public class TBusActivitiOvertimeEntity implements java.io.Serializable {
- /**
- * 主键
- */
- private String id;
- /**
- * 创建人名称
- */
- @Pdf(name = "申请人")
- private String createName;
- /**
- * 创建人登录名称
- */
- private String createBy;
- /**
- * 创建日期
- */
- private Date createDate;
- /**
- * 更新人名称
- */
- private String updateName;
- /**
- * 更新人登录名称
- */
- private String updateBy;
- /**
- * 更新日期
- */
- private Date updateDate;
- /**
- * 所属部门
- */
- private String sysOrgCode;
- /**
- * 所属公司
- */
- private String sysCompanyCode;
- /**
- * 流程状态
- */
- private String bpmStatus;
- /**
- * 流程id
- */
- // @Pdf(name = "加班项目")
- private String depName;
- // @Pdf(name = "加班月份")
- private String month;//加班年月
- // add-刘梦祥-2021年11月10日14:30:20-(新增字段,加班类型)
- private String overtimeType;
- // add-刘梦祥-2021年11月11日09:51:08-(新增字段,加班吨数总计)
- private BigDecimal totalTons;
- // add-刘梦祥-2021年11月25日16:09:57-(新增数据库字段,审批流专用[审批id、审批状态])
- private String requestId;
- private String requestStatus;
- // add-刘梦祥-2021年11月25日16:43:03-(新增字段,审批流专用,按钮权限:1、本人(可以提交流程、撤回流程、查看流程)2、审批人(可以查看流程、审批流程)3、(无权限))
- private String butRule;
- // add-刘梦祥-2021年11月28日18:37:00-(新增数据库字段,审批流专用:经办人userid)
- private String agentUserId;
- // add-刘梦祥-2021年11月30日16:07:50-(新增字段,加班审核中的制单人暂存字段)
- private String voucherUserId;
- @Transient
- public String getVoucherUserId() {
- return this.voucherUserId;
- }
- public void setVoucherUserId(String voucherUserId) {
- this.voucherUserId = voucherUserId;
- }
- @Column(name = "agent_user_id")
- public String getAgentUserId() {
- return this.agentUserId;
- }
- public void setAgentUserId(String agentUserId) {
- this.agentUserId = agentUserId;
- }
- @Transient
- public String getButRule() {
- return this.butRule;
- }
- public void setButRule(String butRule) {
- this.butRule = butRule;
- }
- //审批id
- @Column(name = "request_id")
- public String getRequestId() {
- return this.requestId;
- }
- public void setRequestId(String requestId) {
- this.requestId = requestId;
- }
- //审批状态
- @Column(name = "request_status")
- public String getRequestStatus() {
- return this.requestStatus;
- }
- public void setRequestStatus(String requestStatus) {
- this.requestStatus = requestStatus;
- }
- @Excel(name = "流程id", width = 15)
- private String procInstId;
- /**
- * 流程名
- */
- @Excel(name = "流程名", width = 15)
- private String stepName;
- /**
- * 总时长
- */
- @Excel(name = "总时长", width = 15)
- // @Pdf(name = "时长总计")
- private Double totalHour;
- /**
- * 总金额
- */
- @Excel(name = "总金额", width = 15)
- // @Pdf(name = "金额总计")
- private BigDecimal totalMoney;
- private String userIds;
- private String realNames;
- private String departId;
- // @Pdf(name = "餐费补助总计")
- private BigDecimal totalMealsSubsidy;//餐费补助总计
- /**
- * 加班原因
- */
- @Excel(name = "加班原因", width = 15)
- // @Pdf(name="加班原因")
- private String reason;
- private Integer userCount;//加班人数
- private String attachment;
- //加班结算方式
- private String overtimeSettlementType;
- // add-刘梦祥-2021年11月11日13:59:06-(无实际用途,但是需要有)
- private String requestSummary;
- @Column(name = "request_summary", nullable = true)
- public String getRequestSummary() {
- return this.requestSummary;
- }
- public void setRequestSummary(String requestSummary) {
- this.requestSummary = requestSummary;
- }
- /**
- * 方法: 取得java.lang.String
- *
- * @return: java.lang.String 主键
- */
- @Id
- @GeneratedValue(generator = "paymentableGenerator")
- @GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
- @Column(name = "ID", nullable = false, length = 36)
- public String getId() {
- return this.id;
- }
- /**
- * 方法: 设置java.lang.String
- *
- * @param: java.lang.String 主键
- */
- public void setId(String id) {
- this.id = id;
- }
- /**
- * 方法: 取得java.lang.String
- *
- * @return: java.lang.String 创建人名称
- */
- @Column(name = "CREATE_NAME", nullable = true, length = 50)
- public String getCreateName() {
- return this.createName;
- }
- /**
- * 方法: 设置java.lang.String
- *
- * @param: java.lang.String 创建人名称
- */
- public void setCreateName(String createName) {
- this.createName = createName;
- }
- /**
- * 方法: 取得java.lang.String
- *
- * @return: java.lang.String 创建人登录名称
- */
- @Column(name = "CREATE_BY", nullable = true, length = 50)
- public String getCreateBy() {
- return this.createBy;
- }
- /**
- * 方法: 设置java.lang.String
- *
- * @param: java.lang.String 创建人登录名称
- */
- public void setCreateBy(String createBy) {
- this.createBy = createBy;
- }
- /**
- * 方法: 取得java.util.Date
- *
- * @return: java.util.Date 创建日期
- */
- @Column(name = "CREATE_DATE", nullable = true, length = 20)
- public Date getCreateDate() {
- return this.createDate;
- }
- /**
- * 方法: 设置java.util.Date
- *
- * @param: java.util.Date 创建日期
- */
- public void setCreateDate(Date createDate) {
- this.createDate = createDate;
- }
- /**
- * 方法: 取得java.lang.String
- *
- * @return: java.lang.String 更新人名称
- */
- @Column(name = "UPDATE_NAME", nullable = true, length = 50)
- public String getUpdateName() {
- return this.updateName;
- }
- /**
- * 方法: 设置java.lang.String
- *
- * @param: java.lang.String 更新人名称
- */
- public void setUpdateName(String updateName) {
- this.updateName = updateName;
- }
- /**
- * 方法: 取得java.lang.String
- *
- * @return: java.lang.String 更新人登录名称
- */
- @Column(name = "UPDATE_BY", nullable = true, length = 50)
- public String getUpdateBy() {
- return this.updateBy;
- }
- /**
- * 方法: 设置java.lang.String
- *
- * @param: java.lang.String 更新人登录名称
- */
- public void setUpdateBy(String updateBy) {
- this.updateBy = updateBy;
- }
- /**
- * 方法: 取得java.util.Date
- *
- * @return: java.util.Date 更新日期
- */
- @Column(name = "UPDATE_DATE", nullable = true, length = 20)
- public Date getUpdateDate() {
- return this.updateDate;
- }
- /**
- * 方法: 设置java.util.Date
- *
- * @param: java.util.Date 更新日期
- */
- public void setUpdateDate(Date updateDate) {
- this.updateDate = updateDate;
- }
- /**
- * 方法: 取得java.lang.String
- *
- * @return: java.lang.String 所属部门
- */
- @Column(name = "sys_org_code", nullable = true, length = 50)
- public String getSysOrgCode() {
- return this.sysOrgCode;
- }
- /**
- * 方法: 设置java.lang.String
- *
- * @param: java.lang.String 所属部门
- */
- public void setSysOrgCode(String sysOrgCode) {
- this.sysOrgCode = sysOrgCode;
- }
- /**
- * 方法: 取得java.lang.String
- *
- * @return: java.lang.String 所属公司
- */
- @Column(name = "SYS_COMPANY_CODE", nullable = true, length = 50)
- public String getSysCompanyCode() {
- return this.sysCompanyCode;
- }
- /**
- * 方法: 设置java.lang.String
- *
- * @param: java.lang.String 所属公司
- */
- public void setSysCompanyCode(String sysCompanyCode) {
- this.sysCompanyCode = sysCompanyCode;
- }
- /**
- * 方法: 取得java.lang.String
- *
- * @return: java.lang.String 流程状态
- */
- @Column(name = "BPM_STATUS", nullable = true, length = 32)
- public String getBpmStatus() {
- return this.bpmStatus;
- }
- /**
- * 方法: 设置java.lang.String
- *
- * @param: java.lang.String 流程状态
- */
- public void setBpmStatus(String bpmStatus) {
- this.bpmStatus = bpmStatus;
- }
- /**
- * 方法: 取得java.lang.String
- *
- * @return: java.lang.String 流程id
- */
- @Column(name = "PROC_INST_ID", nullable = true, length = 32)
- public String getProcInstId() {
- return this.procInstId;
- }
- /**
- * 方法: 设置java.lang.String
- *
- * @param: java.lang.String 流程id
- */
- public void setProcInstId(String procInstId) {
- this.procInstId = procInstId;
- }
- /**
- * 方法: 取得java.lang.String
- *
- * @return: java.lang.String 流程名
- */
- @Column(name = "STEP_NAME", nullable = true, length = 32)
- public String getStepName() {
- return this.stepName;
- }
- /**
- * 方法: 设置java.lang.String
- *
- * @param: java.lang.String 流程名
- */
- public void setStepName(String stepName) {
- this.stepName = stepName;
- }
- /**
- * 方法: 取得java.lang.String
- *
- * @return: java.lang.String 加班原因
- */
- @Column(name = "REASON", nullable = true, length = 2000)
- public String getReason() {
- return this.reason;
- }
- /**
- * 方法: 设置java.lang.String
- *
- * @param: java.lang.String 加班原因
- */
- public void setReason(String reason) {
- this.reason = reason;
- }
- /**
- * 方法: 取得java.lang.Double
- *
- * @return: java.lang.Double 总时长
- */
- @Column(name = "TOTAL_HOUR", nullable = true, length = 32)
- public Double getTotalHour() {
- return this.totalHour;
- }
- /**
- * 方法: 设置java.lang.Double
- *
- * @param: java.lang.Double 总时长
- */
- public void setTotalHour(Double totalHour) {
- this.totalHour = totalHour;
- }
- /**
- * 方法: 取得java.math.BigDecimal
- *
- * @return: java.math.BigDecimal 总金额
- */
- @Column(name = "TOTAL_MONEY", nullable = true, length = 32)
- public BigDecimal getTotalMoney() {
- return this.totalMoney;
- }
- /**
- * 方法: 设置java.math.BigDecimal
- *
- * @param: java.math.BigDecimal 总金额
- */
- public void setTotalMoney(BigDecimal totalMoney) {
- this.totalMoney = totalMoney;
- }
- @Column(name = "user_ids", nullable = true)
- public String getUserIds() {
- return userIds;
- }
- public void setUserIds(String userIds) {
- this.userIds = userIds;
- }
- @Column(name = "real_names", nullable = true)
- public String getRealNames() {
- return realNames;
- }
- public void setRealNames(String realNames) {
- this.realNames = realNames;
- }
- @Column(name = "depart_id", nullable = true)
- public String getDepartId() {
- return departId;
- }
- public void setDepartId(String departId) {
- this.departId = departId;
- }
- @Column(name = "dep_name", nullable = true)
- public String getDepName() {
- return depName;
- }
- public void setDepName(String depName) {
- this.depName = depName;
- }
- @Column(name = "overtime_settlement_type", nullable = true)
- public String getOvertimeSettlementType() {
- return this.overtimeSettlementType;
- }
- public void setOvertimeSettlementType(String overtimeSettlementType) {
- this.overtimeSettlementType = overtimeSettlementType;
- }
- @Column(name = "month", nullable = true)
- public String getMonth() {
- return month;
- }
- public void setMonth(String month) {
- this.month = month;
- }
- @Column(name = "total_meals_subsidy", nullable = true)
- public BigDecimal getTotalMealsSubsidy() {
- return totalMealsSubsidy;
- }
- public void setTotalMealsSubsidy(BigDecimal totalMealsSubsidy) {
- this.totalMealsSubsidy = totalMealsSubsidy;
- }
- @Column(name = "user_count", nullable = true)
- public Integer getUserCount() {
- return userCount;
- }
- public void setUserCount(Integer userCount) {
- this.userCount = userCount;
- }
- @Column(name = "overtime_type", nullable = true)
- public String getOvertimeType() {
- return this.overtimeType;
- }
- @Column(name = "total_tons", nullable = true)
- public BigDecimal getTotalTons() {
- return this.totalTons;
- }
- public void setTotalTons(BigDecimal totalTons) {
- this.totalTons = totalTons;
- }
- public void setOvertimeType(String overtimeType) {
- this.overtimeType = overtimeType;
- }
- @Column(name = "attachment", nullable = true)
- public String getAttachment() {
- return attachment;
- }
- public void setAttachment(String attachment) {
- this.attachment = attachment;
- }
- }
|