import { ICommand } from 'src/Application/ICommand' ; import { UserRole } from 'src/Domain/HumanResource/User/User.entity' ; import { ContractType , WorkingTimeType } from 'src/Domain/HumanResource/User/UserAdministrative.entity' ; export interface IUserAdministrativeCommand { annualEarnings : number ; contract : ContractType ; workingTime : WorkingTimeType ; executivePosition : boolean ; healthInsurance : boolean ; joiningDate : string ; leavingDate : string ; transportFee : number ; } export class CreateUserCommand implements ICommand { constructor ( public readonly firstName , public readonly lastName , public readonly email , public readonly password , public readonly role , public readonly userAdministrative ? ) { } }