2022-03-11 13:20:00 +08:00
|
|
|
|
package com.engine.salary.entity.salarysob.po;
|
2022-03-11 11:08:50 +08:00
|
|
|
|
|
2024-03-12 14:34:44 +08:00
|
|
|
|
import com.engine.hrmelog.annotation.ElogTransform;
|
2024-08-28 10:02:39 +08:00
|
|
|
|
import com.engine.salary.annotation.Auth;
|
|
|
|
|
|
import com.engine.salary.enums.auth.AuthCheckTypeEnum;
|
2024-05-06 16:03:29 +08:00
|
|
|
|
import com.engine.salary.util.valid.Compare;
|
2024-08-08 16:53:31 +08:00
|
|
|
|
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
|
|
|
|
|
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
|
2024-08-09 09:22:27 +08:00
|
|
|
|
import com.thoughtworks.xstream.annotations.XStreamOmitField;
|
2022-03-11 11:08:50 +08:00
|
|
|
|
import lombok.AllArgsConstructor;
|
|
|
|
|
|
import lombok.Builder;
|
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
import lombok.NoArgsConstructor;
|
2022-03-22 21:01:38 +08:00
|
|
|
|
import lombok.experimental.Accessors;
|
2022-03-11 11:08:50 +08:00
|
|
|
|
|
2022-03-22 21:01:38 +08:00
|
|
|
|
import java.util.Collection;
|
2022-03-11 11:08:50 +08:00
|
|
|
|
import java.util.Date;
|
2024-09-02 17:36:41 +08:00
|
|
|
|
import java.util.List;
|
2024-08-28 10:02:39 +08:00
|
|
|
|
import java.util.Set;
|
2022-03-11 11:08:50 +08:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 薪资帐套表
|
|
|
|
|
|
*/
|
|
|
|
|
|
@Data
|
|
|
|
|
|
@Builder
|
2022-03-22 21:01:38 +08:00
|
|
|
|
@Accessors(chain = true)
|
2022-03-11 11:08:50 +08:00
|
|
|
|
@NoArgsConstructor
|
|
|
|
|
|
@AllArgsConstructor
|
2024-02-22 09:43:47 +08:00
|
|
|
|
@ElogTransform( name="薪资账套" )
|
2022-03-22 21:01:38 +08:00
|
|
|
|
//hrsa_salary_sob
|
2024-08-09 09:22:27 +08:00
|
|
|
|
@XStreamAlias("SalarySob")
|
2024-08-28 17:55:42 +08:00
|
|
|
|
@Auth(page = "salarySob",checkType = AuthCheckTypeEnum.SOB,sobIdField="id")
|
2022-03-11 13:20:00 +08:00
|
|
|
|
public class SalarySobPO {
|
2024-02-22 09:43:47 +08:00
|
|
|
|
|
2022-03-11 11:08:50 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 主键id
|
|
|
|
|
|
*/
|
2024-02-22 09:43:47 +08:00
|
|
|
|
@ElogTransform( name="主键" )
|
2024-05-06 16:03:29 +08:00
|
|
|
|
@Compare
|
2024-08-09 09:22:27 +08:00
|
|
|
|
@XStreamOmitField
|
2022-03-11 11:08:50 +08:00
|
|
|
|
private Long id;
|
2024-02-22 09:43:47 +08:00
|
|
|
|
|
2022-03-11 11:08:50 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 名称
|
|
|
|
|
|
*/
|
2024-02-22 09:43:47 +08:00
|
|
|
|
@ElogTransform( name="名称" )
|
2024-05-06 16:03:29 +08:00
|
|
|
|
@Compare
|
2024-08-08 16:53:31 +08:00
|
|
|
|
@XStreamAlias("name")
|
|
|
|
|
|
@XStreamAsAttribute
|
2022-03-11 11:08:50 +08:00
|
|
|
|
private String name;
|
2022-05-26 11:02:55 +08:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 个税扣缴义务人的主键id
|
|
|
|
|
|
*/
|
2024-02-22 09:43:47 +08:00
|
|
|
|
@ElogTransform( name="个税扣缴义务人id" )
|
2024-08-08 16:53:31 +08:00
|
|
|
|
@XStreamAlias("taxAgentId")
|
|
|
|
|
|
@XStreamAsAttribute
|
2024-09-02 17:36:41 +08:00
|
|
|
|
@Deprecated
|
2022-05-26 11:02:55 +08:00
|
|
|
|
private Long taxAgentId;
|
|
|
|
|
|
|
2025-03-05 16:42:13 +08:00
|
|
|
|
@XStreamOmitField
|
2024-09-02 17:36:41 +08:00
|
|
|
|
List<Long> taxAgentIds;
|
|
|
|
|
|
|
2022-03-11 11:08:50 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 应税项目。1:正常工资薪金所得
|
|
|
|
|
|
*/
|
2024-02-22 09:43:47 +08:00
|
|
|
|
@ElogTransform( name="薪资类型" )
|
2024-05-06 16:03:29 +08:00
|
|
|
|
@Compare
|
2024-08-08 16:53:31 +08:00
|
|
|
|
@XStreamAlias("incomeCategory")
|
|
|
|
|
|
@XStreamAsAttribute
|
2022-03-11 13:20:00 +08:00
|
|
|
|
private Integer incomeCategory;
|
2024-02-22 09:43:47 +08:00
|
|
|
|
|
2022-03-11 11:08:50 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 薪资周期。1:上上月、2:上月、3:本月、4:下月
|
|
|
|
|
|
*/
|
2024-02-22 09:43:47 +08:00
|
|
|
|
@ElogTransform( name="薪资周期" )
|
2024-05-06 16:03:29 +08:00
|
|
|
|
@Compare
|
2024-08-08 16:53:31 +08:00
|
|
|
|
@XStreamAlias("salaryCycleType")
|
|
|
|
|
|
@XStreamAsAttribute
|
2022-03-11 13:20:00 +08:00
|
|
|
|
private Integer salaryCycleType;
|
2024-02-22 09:43:47 +08:00
|
|
|
|
|
2022-03-11 11:08:50 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 薪资周期的起始日期
|
|
|
|
|
|
*/
|
2024-02-22 09:43:47 +08:00
|
|
|
|
@ElogTransform( name="薪资周期起始日期" )
|
2024-05-06 16:03:29 +08:00
|
|
|
|
@Compare
|
2024-08-08 16:53:31 +08:00
|
|
|
|
@XStreamAlias("salaryCycleFromDay")
|
|
|
|
|
|
@XStreamAsAttribute
|
2022-03-11 13:20:00 +08:00
|
|
|
|
private Integer salaryCycleFromDay;
|
2024-02-22 09:43:47 +08:00
|
|
|
|
|
2022-03-11 11:08:50 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 税款所属期。1:上上月、2:上月、3:本月、4:下月
|
|
|
|
|
|
*/
|
2024-02-22 09:43:47 +08:00
|
|
|
|
@ElogTransform( name="税款所属期" )
|
2024-05-06 16:03:29 +08:00
|
|
|
|
@Compare
|
2024-08-08 16:53:31 +08:00
|
|
|
|
@XStreamAlias("taxCycleType")
|
|
|
|
|
|
@XStreamAsAttribute
|
2022-03-11 13:20:00 +08:00
|
|
|
|
private Integer taxCycleType;
|
2024-02-22 09:43:47 +08:00
|
|
|
|
|
2022-03-11 11:08:50 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 考勤周期。1:上上月、2:上月、3:本月、4:下月
|
|
|
|
|
|
*/
|
2024-02-22 09:43:47 +08:00
|
|
|
|
@ElogTransform( name="考勤周期" )
|
2024-05-06 16:03:29 +08:00
|
|
|
|
@Compare
|
2024-08-08 16:53:31 +08:00
|
|
|
|
@XStreamAlias("attendCycleType")
|
|
|
|
|
|
@XStreamAsAttribute
|
2022-03-11 13:20:00 +08:00
|
|
|
|
private Integer attendCycleType;
|
2024-02-22 09:43:47 +08:00
|
|
|
|
|
2022-03-11 11:08:50 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 考勤周期的起始日期
|
|
|
|
|
|
*/
|
2024-02-22 09:43:47 +08:00
|
|
|
|
@ElogTransform( name="考勤周期起始日期" )
|
2024-05-06 16:03:29 +08:00
|
|
|
|
@Compare
|
2024-08-08 16:53:31 +08:00
|
|
|
|
@XStreamAlias("attendCycleFromDay")
|
|
|
|
|
|
@XStreamAsAttribute
|
2022-03-11 13:20:00 +08:00
|
|
|
|
private Integer attendCycleFromDay;
|
2024-02-22 09:43:47 +08:00
|
|
|
|
|
2022-03-11 11:08:50 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 社保福利所属期。1:上上月、2:上月、3:本月、4:下月
|
|
|
|
|
|
*/
|
2024-02-22 09:43:47 +08:00
|
|
|
|
@ElogTransform( name="社保福利所属期" )
|
2024-05-06 16:03:29 +08:00
|
|
|
|
@Compare
|
2024-08-08 16:53:31 +08:00
|
|
|
|
@XStreamAlias("socialSecurityCycleType")
|
|
|
|
|
|
@XStreamAsAttribute
|
2022-03-11 13:20:00 +08:00
|
|
|
|
private Integer socialSecurityCycleType;
|
2024-02-22 09:43:47 +08:00
|
|
|
|
|
2022-03-11 11:08:50 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 是否禁用。0:正常使用、1:禁用
|
|
|
|
|
|
*/
|
2024-02-22 09:43:47 +08:00
|
|
|
|
@ElogTransform( name="是否禁用" )
|
2024-08-08 16:53:31 +08:00
|
|
|
|
@XStreamAlias("disable")
|
|
|
|
|
|
@XStreamAsAttribute
|
2022-03-11 13:20:00 +08:00
|
|
|
|
private Integer disable;
|
2024-02-22 09:43:47 +08:00
|
|
|
|
|
2022-03-11 11:08:50 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 描述
|
|
|
|
|
|
*/
|
2024-02-22 09:43:47 +08:00
|
|
|
|
@ElogTransform( name="描述" )
|
2024-08-08 16:53:31 +08:00
|
|
|
|
@XStreamAlias("description")
|
|
|
|
|
|
@XStreamAsAttribute
|
2022-03-11 11:08:50 +08:00
|
|
|
|
private String description;
|
2024-02-22 09:43:47 +08:00
|
|
|
|
|
2022-03-11 11:08:50 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 创建人
|
|
|
|
|
|
*/
|
2024-02-22 09:43:47 +08:00
|
|
|
|
@ElogTransform( name="创建人" )
|
2024-08-08 16:53:31 +08:00
|
|
|
|
@XStreamAlias("creator")
|
|
|
|
|
|
@XStreamAsAttribute
|
2022-03-11 11:08:50 +08:00
|
|
|
|
private Long creator;
|
2024-02-22 09:43:47 +08:00
|
|
|
|
|
2022-03-11 11:08:50 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 创建时间
|
|
|
|
|
|
*/
|
2024-02-22 09:43:47 +08:00
|
|
|
|
@ElogTransform( name="创建时间" )
|
2024-08-08 16:53:31 +08:00
|
|
|
|
@XStreamAlias("createTime")
|
|
|
|
|
|
@XStreamAsAttribute
|
2022-03-11 11:08:50 +08:00
|
|
|
|
private Date createTime;
|
2024-02-22 09:43:47 +08:00
|
|
|
|
|
2022-03-11 11:08:50 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 更新时间
|
|
|
|
|
|
*/
|
2024-02-22 09:43:47 +08:00
|
|
|
|
@ElogTransform( name="更新时间" )
|
2024-08-08 16:53:31 +08:00
|
|
|
|
@XStreamAlias("updateTime")
|
|
|
|
|
|
@XStreamAsAttribute
|
2022-03-11 11:08:50 +08:00
|
|
|
|
private Date updateTime;
|
2024-02-22 09:43:47 +08:00
|
|
|
|
|
2022-03-11 11:08:50 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 是否已删除。0:未删除、1:已删除
|
|
|
|
|
|
*/
|
2024-02-22 09:43:47 +08:00
|
|
|
|
@ElogTransform( name="是否已删除" )
|
2024-08-08 16:53:31 +08:00
|
|
|
|
@XStreamAlias("deleteType")
|
|
|
|
|
|
@XStreamAsAttribute
|
2022-03-11 11:08:50 +08:00
|
|
|
|
private Integer deleteType;
|
2024-02-22 09:43:47 +08:00
|
|
|
|
|
2022-03-11 11:08:50 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 租户ID
|
|
|
|
|
|
*/
|
2024-02-22 09:43:47 +08:00
|
|
|
|
@ElogTransform( name="租户" )
|
2024-08-08 16:53:31 +08:00
|
|
|
|
@XStreamAlias("tenantKey")
|
|
|
|
|
|
@XStreamAsAttribute
|
2022-03-11 11:08:50 +08:00
|
|
|
|
private String tenantKey;
|
|
|
|
|
|
|
2022-03-22 21:01:38 +08:00
|
|
|
|
Collection<Long> ids;
|
2024-09-02 17:36:41 +08:00
|
|
|
|
|
2022-03-22 21:01:38 +08:00
|
|
|
|
|
2024-08-28 10:02:39 +08:00
|
|
|
|
private Set<String> opts;
|
|
|
|
|
|
|
2022-03-11 11:08:50 +08:00
|
|
|
|
}
|